https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69119
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-01-03 Ever confirmed|0 |1 Severity|major |normal --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think -fPIC is not on the link line which is causing the problems. Can you try 5.x also? Also can you provide a testcase which shows the failure?