lang/gcc46 builds again on sparc64, but causes math/lapack build failures

Anton Shterenlikht mexas at
Wed Jan 23 10:37:37 UTC 2013

After over 6 months, I finally was
able to build lang/gcc46 again on sparc64.
This is r239940 -current sparc64 with

# pkg info -xo gcc-4.6
gcc- lang/gcc46

The bug report:

However, the new gcc46 gives me errors when building math/lapack:

gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -fPIC -c LAPACK_version.f -o LAPACK_version.o
gfortran46  -Wl,-rpath=/usr/local/lib/gcc46 -fPIC -o testlsame lsame.o lsametst.o
/usr/local/lib/gcc46/gcc/sparc64-portbld-freebsd10.0/4.6.4/../../../ undefined reference to `__emutls_v._ThreadRuneLocale'
collect2: ld returned 1 exit status
*** [testlsame] Error code 1

Please advise


More information about the freebsd-sparc64 mailing list