https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
--- Comment #157 from dave.anglin at bell dot net --- On 2020-02-11 12:27 p.m., peter.bisroev at groundlabs dot com wrote: > Just to confirm though, using gcc 4.7.4 that I have previously compiled with > aCC that adequately passed 'make check' tests, bootstrap gcc 4.7.4 with > default > build flags for STAGE1. Observe PCREL21B errors and manually recompile > affected > .c with "-save-temps -da". Is that correct? Right, we want to build stage1 with -O0. You can rebuild 4.7.4 or any other gcc version that demonstrates the PCREL21B error. Keep the build log so you can copy the compile options for the failing object. > > Do you want to apply any patches to 4.7.4 or compile original code as I have > done previously? No. We need to figure out why 4.7.4 generates incorrect PCREL21B relocations. Then, maybe we patch it.