From owner-freebsd-ports@FreeBSD.ORG Wed Dec 28 14:36:15 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B60FB1065788 for ; Wed, 28 Dec 2011 14:36:15 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 52E508FC16 for ; Wed, 28 Dec 2011 14:36:15 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id pBSDw8WR099151 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Dec 2011 15:58:08 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id pBSDw86M008261; Wed, 28 Dec 2011 15:58:08 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id pBSDw8Es008260; Wed, 28 Dec 2011 15:58:08 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 28 Dec 2011 15:58:08 +0200 From: Kostik Belousov To: "O. Hartmann" Message-ID: <20111228135808.GW50300@deviant.kiev.zoral.com.ua> References: <4EFAF3FC.60002@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Rfkum36+UScbsJHk" Content-Disposition: inline In-Reply-To: <4EFAF3FC.60002@zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Current FreeBSD , Ports FreeBSD Subject: Re: /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.3/../../../libstdc++.a: could not read symbols: Bad value X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 14:36:15 -0000 --Rfkum36+UScbsJHk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 28, 2011 at 11:48:28AM +0100, O. Hartmann wrote: > Hello out here. >=20 > I run into a problem since one of the last portupdates and I do not know > whether this has to do with binutils or gcc46 or even FreeBSD 9.0/10.0 > AMD64. >=20 > Background: > We use a scientific graphical toolset for planetary research called > ISIS3, which is provided by the USGS. We patched ISIS3 to run on FreeBSD > 8/9/10 so far and it ran well with FreeBSD 8.2-STABLE and 9.0-PRE a > couple of weeks ago. > On all of my boxes, I do frequently a portupgrade, so I saw binutils got > bumped up and gcc 4.6 is also getting really frequently changed these day= s. > After a some portupdates within the last weeks, I just decided to > compile ISIS3 again to keep it "fresh and on track", but it won't > compile anymore. >=20 > On all FreeBSD 9.0-PRERELEASE and FreeBSD 10.0-CURRENT (all AMD64 and > CLANG built) I receive in some subfolders containing sources the > follwoing error: >=20 > [...] > Adding API object [UniqueIOCachingAlgorithm] > Adding API object [UniversalGroundMap] > Adding API object [UserInterface] > Adding API object [VariableLineScanCameraDetectorMap] > Adding API object [VecFilter] > Adding API object [WorldMapper] > Adding API object [iException] > Adding API object [iString] > Adding API object [iTime] > Working on Package [mex] (11:30:15) > Adding API object [HrscCamera] > /usr/local/bin/ld: > /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.3/../../../libstdc= ++.a(functexcept.o): > relocation R_X86_64_32 against `std::bad_exception::~bad_exception()' > can not be used when making a shared object; recompile with -fPIC > /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.3/../../../libstdc= ++.a: > could not read symbols: Bad value > collect2: ld returned 1 exit status > gmake[5]: *** [plugin] Error 1 > cp: libHrscCamera.so: No such file or directory > gmake[4]: *** [install] Error 1 The error is completely clear as it is: the build tries to link static library libstdc++.so into shared object. This is not supported. --Rfkum36+UScbsJHk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk77IG8ACgkQC3+MBN1Mb4gDEQCfWOoZNIAO6Y553SuFbxq784fp KeMAniadnwi1Vcx5mv9jA3k9ALzRK75V =+Yxf -----END PGP SIGNATURE----- --Rfkum36+UScbsJHk--