http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55308
--- Comment #11 from Anton Shterenlikht <mexas at bristol dot ac.uk> 2013-04-23 14:20:11 UTC --- The same error on the same sparc64/FreeBSD -current system building 4.9: gmake[5]: Leaving directory `/usr/ports/lang/gcc49/work/build/sparc64-portbld-freebsd10.0/libgomp/testsuite' gmake[5]: Entering directory `/usr/ports/lang/gcc49/work/build/sparc64-portbld-freebsd10.0/libgomp' makeinfo --no-split --split-size=5000000 --split-size=5000000 -I ../.././../gcc-4.9-20130414/libgomp/../gcc/doc/include -I ../.././../gcc-4.9-20130414/libgomp -o libgomp.info ../.././../gcc-4.9-20130414/libgomp/libgomp.texi /bin/sh ./libtool --tag=CC --mode=compile /usr/ports/lang/gcc49/work/build/./gcc/xgcc -B/usr/ports/lang/gcc49/work/build/./gcc/ -B/usr/local/sparc64-portbld-freebsd10.0/bin/ -B/usr/local/sparc64-portbld-freebsd10.0/lib/ -isystem /usr/local/sparc64-portbld-freebsd10.0/include -isystem /usr/local/sparc64-portbld-freebsd10.0/sys-include -DHAVE_CONFIG_H -I. -I../.././../gcc-4.9-20130414/libgomp -I../.././../gcc-4.9-20130414/libgomp/config/posix -I../.././../gcc-4.9-20130414/libgomp -Wall -Werror -Wc,-pthread -g -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c -o alloc.lo ../.././../gcc-4.9-20130414/libgomp/alloc.c libtool: compile: /usr/ports/lang/gcc49/work/build/./gcc/xgcc -B/usr/ports/lang/gcc49/work/build/./gcc/ -B/usr/local/sparc64-portbld-freebsd10.0/bin/ -B/usr/local/sparc64-portbld-freebsd10.0/lib/ -isystem /usr/local/sparc64-portbld-freebsd10.0/include -isystem /usr/local/sparc64-portbld-freebsd10.0/sys-include -DHAVE_CONFIG_H -I. -I../.././../gcc-4.9-20130414/libgomp -I../.././../gcc-4.9-20130414/libgomp/config/posix -I../.././../gcc-4.9-20130414/libgomp -Wall -pthread -Werror -g -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c ../.././../gcc-4.9-20130414/libgomp/alloc.c -fPIC -DPIC -o .libs/alloc.o /usr/ports/lang/gcc49/work/build/sparc64-portbld-freebsd10.0/libstdc++-v3/src/.libs/libstdc++.so.6: Undefined symbol "__emutls_v._ThreadRuneLocale" gmake[5]: *** [alloc.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/lang/gcc49/work/build/sparc64-portbld-freebsd10.0/libgomp' gmake[4]: *** [all-recursive] Error 1