http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52753
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Andreas Schwab <sch...@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.