http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49986
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-01 08:41:43 UTC --- >reference to `.__emutls_get_address' This means libgcc's emultls.o is not being linked in for some reason.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49986
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-01 08:41:43 UTC --- >reference to `.__emutls_get_address' This means libgcc's emultls.o is not being linked in for some reason.