[PATCH v2 1/1] LoongArch: Add static PIE support
Xi Ruoyao
xry111@xry111.site
Fri Sep 23 15:24:39 GMT 2022
On Fri, 2022-09-23 at 10:23 -0300, Adhemerval Zanella Netto wrote:
> /home/azanella/Projects/glibc/build/loongarch64-linux-gnu-lp64d/libc.a(setlocale.o)(__libc_freeres_fn+0x144): error: R_LARCH_SOP_PUSH_TLS_GOT against [undefweak] `_nl_current_LC_COLLATE':
> Internal: Shouldn't be resolved to const.
>
> Using --disable-default-pie avoids this build issue.
Ouch. R_LARCH_SOP_PUSH_TLS_GOT is some outdated thing and binutils-2.40
will not produce anymore. Instead of spending my time for fixing some
nasty bugs in the "legacy" binutils code, I'll just add another check to
see if GAS is also new enough in v3.
--
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University
More information about the Libc-alpha
mailing list