https://sourceware.org/bugzilla/show_bug.cgi?id=25749
Fangrui Song <i at maskray dot me> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i at maskray dot me --- Comment #1 from Fangrui Song <i at maskray dot me> --- Thanks for opening this issue. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94391#c6 It is incorrect to reference a non-preemptible SHN_ABS symbol with a PC relative relocation in a PIC (-shared or -pie) link. This is non-representable due to ASLR (load base not fixed at link time) There are several ways that the symbol will be considered non-preemptible: * -pie * -Bsymbolic * STV_HIDDEN/STV_INTERNAL/STV_PROTECTED * --dynamic-list exists but does not list the symbol * VER_NDX_LOCAL -- You are receiving this mail because: You are on the CC list for the bug.