From owner-freebsd-current@FreeBSD.ORG Tue Jan 29 16:35:56 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 54EA1654 for ; Tue, 29 Jan 2013 16:35:56 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 227AC803 for ; Tue, 29 Jan 2013 16:35:55 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.6/8.14.6) with ESMTP id r0TGZsKu019037; Tue, 29 Jan 2013 08:35:54 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.6/8.14.6/Submit) id r0TGZsjf019036; Tue, 29 Jan 2013 08:35:54 -0800 (PST) (envelope-from david) Date: Tue, 29 Jan 2013 08:35:54 -0800 From: David Wolfskill To: "O. Hartmann" Subject: Re: r246057: buildworld fails with: /usr/obj/usr/src/tmp/usr/lib/libc++.so: undefined reference to `std::bad_alloc::~bad_alloc()' Message-ID: <20130129163554.GW1804@albert.catwhisker.org> References: <51079F0A.20309@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y974o0GblB/Ae/yP" Content-Disposition: inline In-Reply-To: <51079F0A.20309@zedat.fu-berlin.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Current FreeBSD 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: Tue, 29 Jan 2013 16:35:56 -0000 --Y974o0GblB/Ae/yP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 29, 2013 at 11:06:02AM +0100, O. Hartmann wrote: > I receive this error since yesterday building world and it is still > sticky on most recent sources (r246057) and I was wondering why the > tinderboxes do not pick this up on the 10.0-CURRENT builds ... just for > a notice for the development folks ... > ...=20 > =3D=3D=3D> libexec/atf/atf-check (all) > ... > c++ -O3 -pipe -fno-strict-aliasing -march=3Dnative -march=3Dnative > -DHAVE_CONFIG_H -I/usr/src/libexec/atf/atf-check/../../../contrib/atf > -Qunused-arguments -fstack-protector -Wsystem-headers -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/lib/libc++.so: undefined reference to > `std::bad_alloc::~bad_alloc()' > /usr/obj/usr/src/libexec/atf/atf-check/../../../lib/atf/libatf-c++/libatf= -c++.so: > undefined reference to `std::bad_alloc::bad_alloc()' > /usr/obj/usr/src/libexec/atf/atf-check/../../../lib/atf/libatf-c++/libatf= -c++.so: > undefined reference to `std::bad_alloc::~bad_alloc()' > /usr/obj/usr/src/tmp/usr/lib/libc++.so: undefined reference to > `std::bad_alloc::bad_alloc()' > c++: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [atf-check] Error code 1 >=20 > Stop in /usr/src/libexec/atf/atf-check. > *** [all] Error code 1 > ... In contrast, I don't see a problem; most recent head build I have is: FreeBSD freebeast.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1057 r= 246057M/246068: Tue Jan 29 07:29:55 PST 2013 root@freebeast.catwhisker.= org:/usr/obj/usr/src/sys/GENERIC i386 For reference, yesterday's was: FreeBSD freebeast.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1056 r= 246028M/246028: Mon Jan 28 06:49:44 PST 2013 root@freebeast.catwhisker.= org:/usr/obj/usr/src/sys/GENERIC i386 That said (and this may be relevant), I'm using clang/clang++ to build FreeBSD. Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --Y974o0GblB/Ae/yP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEH+moACgkQmprOCmdXAD1sIACeLD24wF+QncFmOw/I1o6js8Um xxEAn1iShHpuZyx4tSXZ6hMW/93MdNaY =ydPH -----END PGP SIGNATURE----- --Y974o0GblB/Ae/yP--