Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2013 10:21:07 GMT
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-sparc64@freebsd.org
Cc:        maho@FreeBSD.org, gerald@FreeBSD.org
Subject:   lang/gcc46 builds again on sparc64, but causes math/lapack build failures
Message-ID:  <201301231021.r0NAL7MJ085583@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
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-4.6.4.20121123: lang/gcc46
# 

The bug report:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53964

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/../../../libgfortran.so: undefined reference to `__emutls_v._ThreadRuneLocale'
collect2: ld returned 1 exit status
*** [testlsame] Error code 1

Please advise

Anton



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301231021.r0NAL7MJ085583>