[Bug rtl-optimization/103762] [12 Regression] glibc master branch is miscompiled by r12-897
fw at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 18 22:44:58 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103762
Florian Weimer <fw at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fw at gcc dot gnu.org
--- Comment #9 from Florian Weimer <fw at gcc dot gnu.org> ---
glibc cannot easily work around such unexpected relocations for static or
hidden variables. Static PIE currently requires PI_STATIC_AND_HIDDEN, and with
the GCC 12 behavior, x86 would not be a PI_STATIC_AND_HIDDEN target anymore.
This really has to be fixed in GCC. It's also important to avoid such runtime
relocations for PIE startup time.
More information about the Gcc-bugs
mailing list