[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
Sat Apr 25 17:08:00 GMT 2015


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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Thiago Macieira from comment #3)
> Thanks H.J.!
> 
> Can I ask that -fsymbolic be the default? Otherwise, code with -fPIE MUST
> add -fsymbolic in GCC 5+, but can't add it prior because the option didn't

BTW, you should add -fsymbolic to -fPIC if the shared library will be
created by -Bsymbolic.  It will improve shared library performance.



More information about the Gcc-bugs mailing list