[Bug c/52753] GCC not honoring -fPIE
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 28 16:19:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52753
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2012-03-28 16:12:22 UTC ---
You need to link with -pie to get a PIE. Just like -fpic does not imply
-shared.
More information about the Gcc-bugs
mailing list