From owner-freebsd-current@FreeBSD.ORG Thu Aug 1 21:06:20 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5FE9D9D; Thu, 1 Aug 2013 21:06:20 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A8C212A7E; Thu, 1 Aug 2013 21:06:19 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1V504g-001mfH-4e>; Thu, 01 Aug 2013 23:06:18 +0200 Received: from e179078165.adsl.alicedsl.de ([85.179.78.165] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1V504f-001YCl-W5>; Thu, 01 Aug 2013 23:06:18 +0200 Date: Thu, 1 Aug 2013 23:06:11 +0200 From: "O. Hartmann" To: Baptiste Daroussin Subject: Re: CURRENT (r253862): buildworld fails in libexec/atf/atf-check: ... /usr/obj/usr/src/tmp/usr/bin/ld: 6: invalid DSO for symbol `__cxa_call_unexpected@@CXXABI_1.3' Message-ID: <20130801230611.1da4b4fb@thor.walstatt.dyndns.org> In-Reply-To: <20130801191052.GN95363@ithaqua.etoilebsd.net> References: <20130801203102.112dbc5e@thor.walstatt.dyndns.org> <20130801191052.GN95363@ithaqua.etoilebsd.net> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/l6sNYOxdE./Nlpm3bmp1ZYs"; protocol="application/pgp-signature" X-Originating-IP: 85.179.78.165 Cc: FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2013 21:06:20 -0000 --Sig_/l6sNYOxdE./Nlpm3bmp1ZYs Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 1 Aug 2013 21:10:52 +0200 Baptiste Daroussin wrote: > On Thu, Aug 01, 2013 at 08:31:02PM +0200, O. Hartmann wrote: > > Buildworld fails with > >=20 > >=20 > > =3D=3D=3D> libexec/atf/atf-check (all) > > c++ -O2 -pipe -O3 -march=3Dnative -DHAVE_CONFIG_H -O3 > > -I/usr/src/libexec/atf/atf-check/../../../contrib/atf > > -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall > > -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith > > -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int > > -Wno-tautological-compare -Wno-unused-value > > -Wno-parentheses-equality -Wno-unused-function -Wno-conversion > > -stdlib=3Dlibc++ -std=3Dc++11 > > -c /usr/src/libexec/atf/atf-check/../../../contrib/atf/atf-sh/atf-check= .cpp > > c++ -O2 -pipe -O3 -march=3Dnative -DHAVE_CONFIG_H -O3 > > -I/usr/src/libexec/atf/atf-check/../../../contrib/atf > > -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall > > -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith > > -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int > > -Wno-tautological-compare -Wno-unused-value > > -Wno-parentheses-equality -Wno-unused-function -Wno-conversion > > -stdlib=3Dlibc++ -std=3Dc++11 > > -L/usr/obj/usr/src/libexec/atf/atf-check/../../../lib/atf/libatf-c++ > > -L/usr/obj/usr/src/libexec/atf/atf-check/../../../lib/atf/libatf-c > > -o atf-check atf-check.o -latf-c++ > > -latf-c /usr/obj/usr/src/tmp/usr/bin/ld: 6: invalid DSO for symbol > > `__cxa_call_unexpected@@CXXABI_1.3' > > definition /usr/obj/usr/src/tmp/lib/libcxxrt.so.1: could not read > > symbols: Bad value c++: error: linker command failed with exit code > > 1 (use -v to see invocation) *** Error code 1 > >=20 > > Stop. > > make: stopped in /usr/src/libexec/atf/atf-check > > *** Error code 1 > >=20 > >=20 > > Just for the record. > >=20 > > Oliver >=20 > Thay is with the new ld behaviour, it seems like for some reason, > when linking with libc++ it lacks an explicit link on libcxxrt, I ll > let c++ people find out why. >=20 >=20 > As a side note, it will be nice if you could add your specific > settings when reporting failures, it tool me a while to see the > -stdlib=3Dc++ >=20 > regards, > Bapt Thank you very much for looking into this. I'm sorry about the missing piece of information, I will try to think next time to mention that I'm using special compilation options. Oliver --Sig_/l6sNYOxdE./Nlpm3bmp1ZYs Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBAgAGBQJR+s3JAAoJEOgBcD7A/5N8BN8IAJz9mY7Ucei9NTs2lI/MrV3N YCe22T7mC2BZHM4Rh4cpwhpxFYop/VxkjXxQb7pxOH7aeqr92gPuHcAI7MRsfQ5k MNKGkgwwKOdWFbjwgcVAz3/GZpvruGOU2UhzR/JW6vcGR3p9st7dTslWTtUIza09 Sm/A0T/cNK2aInOTogEMtBrH9YqgjKUX7xWAIjt1S9J4crlugEmUb0NigxyjvGDo 1nwNnk5vJJg0RwBCAOwi/M624eRBKauxk/XAJ1+Fu4F9r1gcC9nWkxKDU79InCKA qYkLU4jm8vl1d6aX1pea58zfbRJets+PiDeYfBA/fe7S5pwMKeDID3LD92Ab6r8= =BiWM -----END PGP SIGNATURE----- --Sig_/l6sNYOxdE./Nlpm3bmp1ZYs--