From owner-freebsd-sparc64@FreeBSD.ORG Wed Jan 23 10:37:37 2013 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5992DB31; Wed, 23 Jan 2013 10:37:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 210DC8B4; Wed, 23 Jan 2013 10:37:36 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1TxxS9-0005VI-Nn; Wed, 23 Jan 2013 10:21:09 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TxxS9-0001HD-86; Wed, 23 Jan 2013 10:21:09 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r0NAL8jW085588; Wed, 23 Jan 2013 10:21:08 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r0NAL7MJ085583; Wed, 23 Jan 2013 10:21:07 GMT (envelope-from mexas) Date: Wed, 23 Jan 2013 10:21:07 GMT From: Anton Shterenlikht Message-Id: <201301231021.r0NAL7MJ085583@mech-cluster241.men.bris.ac.uk> To: freebsd-sparc64@freebsd.org Subject: lang/gcc46 builds again on sparc64, but causes math/lapack build failures Cc: maho@FreeBSD.org, gerald@FreeBSD.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2013 10:37:37 -0000 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