[Bug target/40546] -fwhole-program -shared with externally_visible gives R_X86_64_PC32 errors

kpfleming at digium dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 1 21:12:00 GMT 2009



------- Comment #3 from kpfleming at digium dot com  2009-09-01 21:11 -------
That talks about using -fpie/-fPIE as a workaround, but according to the gcc
manpage those options are not suitable when the result is going to be used in a
shared library, only as a linked executable.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40546



More information about the Gcc-bugs mailing list