[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Apr 29 19:05:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886
--- Comment #21 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #19)
> I know it isn't the same. But, IMHO this isn't worth adding another knob
> which will be a maintainance nightmare.
Performance difference between -fsymbolic -fPIE and -fPIC on PIE is
about 2%. X86 and x86-64 Android don't support copy reloc. All
executables are compiled as PIE. -fPIE no longer works on Android.
Can you explain why -fsymbolic is a maintenance nightmare?
More information about the Gcc-bugs
mailing list