https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577

--- Comment #154 from dave.anglin at bell dot net ---
On 2020-02-11 11:31 a.m., peter.bisroev at groundlabs dot com wrote:
> We already know that we currently cannot compile stage1 with -O0 as it causes
> binaries to become huge and we get PCREL21B errors that were already described
> here from HP's linker.
I believe this issue needs to be fixed in bootstrap compiler.  If I go back to
the initial report, we had:

ld: The value 0xfffffffffdf68820 does not fit when applying the relocation
PCREL21B for symbol ".text" at offset 0x102 in section index 74 of
file libbackend.a[function.o]

We need to go back and recompile function.c.  Add "-save-temps -da".  This will
generate .s file and rtl dumps.

I suspect the value above needs to be zero extended rather than pointer
extended.

Reply via email to