http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52590
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID Severity|major |normal --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-14 20:42:22 UTC --- > -static You need to make sure all of libpthread.a is included, right it does not get linked that way. This is not a GCC or glibc bug.