From owner-freebsd-current@FreeBSD.ORG Thu Jan 31 09:10:55 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 054FEA29 for ; Thu, 31 Jan 2013 09:10:55 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9DCCC67F for ; Thu, 31 Jan 2013 09:10:54 +0000 (UTC) Received: from [192.168.0.2] (cpc10-cmbg15-2-0-cust123.5-4.cable.virginmedia.com [86.30.246.124]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id r0V9Ae2q010675 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Thu, 31 Jan 2013 09:10:42 GMT (envelope-from theraven@FreeBSD.org) Subject: Re: r246057: buildworld fails with: /usr/obj/usr/src/tmp/usr/lib/libc++.so: undefined reference to `std::bad_alloc::~bad_alloc()' Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/signed; boundary="Apple-Mail=_6659D075-2D74-4D42-AF8A-E5112F8C3092"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: David Chisnall In-Reply-To: <5109F527.2030702@zedat.fu-berlin.de> Date: Thu, 31 Jan 2013 09:10:34 +0000 Message-Id: References: <51079F0A.20309@zedat.fu-berlin.de> <20130129163554.GW1804@albert.catwhisker.org> <5109F527.2030702@zedat.fu-berlin.de> To: "O. Hartmann" X-Mailer: Apple Mail (2.1278) 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: Thu, 31 Jan 2013 09:10:55 -0000 --Apple-Mail=_6659D075-2D74-4D42-AF8A-E5112F8C3092 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 31 Jan 2013, at 04:37, O. Hartmann wrote: > First, I suspected the c++ option "-std=3Dc++11" I issued in = /etc/src.conf > when building the sources - I did this before without any problems. > Then, leaving the build without "-std=3Dc++11" option, I get the = following > error below and compilation stops. >=20 > Maybe this reveals the real issue. >=20 > The revision of the OS I compile on and where it fails is FreeBSD > 10.0-CURRENT #2 r245995: Sun Jan 27 19:56:47 CET 2013. This is maybe = of > any help. If you are going to compile with -stdlib=3Dlibc++ and not -std=3Dc++11, = then you probably need to add -Wno-c++11-extensions. Some C++11isms = have crept into the libc++ headers. I think some have been fixed = upstream, so I'll do a new import soon and see. David --Apple-Mail=_6659D075-2D74-4D42-AF8A-E5112F8C3092 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQIcBAEBAgAGBQJRCjULAAoJEKx65DEEsqIdA7IP/jfxdUY5d8AGKII979uTc6js qkbdmm+FgygR2NadEclxcX0jBbvtaPRUogkC/TA1Fxcoh4WNT17/0rwJna4KsD5t Bnoc/W556jfV7mACBmJ2qVtQ94V6BNbTZZM0mA7QS4zG5Q22qDM5lRXJdNl/N2gE Q8dINiAsF/toie6yeF4DwZDxhJX9O4c53G9wk8p0MHD5Sw2kofgtE4xZBJ+1bKvK 8f4Q9TeuAruzcPSghUfjUr7qNIpuky9uNGVpzFhfXlBXD2BNv72bVtAfHppS8mPu XRCg013B9iy0F49gMvjfgb1l/HTh1FP63lbf+RsPEZXlSJ7CLIUBrWIZX/UzwRgr EYyVhT0jI6eJh58VFg/i16M4pd0Jtw0+pTkoU9parTC3xZlAXxAzv2Yx9tn0rcGM Ewc6YcjM6RL7e78ZiPDaUZ+nEoO9sAvDfJZsNlbfyPHRSbetINHLzlcIQ66/7c7O P3iTIVUv1oqkHzRH93y6rtP8Q7UuNpCz92NjijTXv21NAgilHBxWVSiEWS6re3rI 3JH0odf6Gd1thKIO1/y7rAIcz0Ff7iuXS1kxVSK/6fy/I0neDGAYv6rOU5ngay62 hwO0v30UE9f5/Ad0NOC7ha+MqsQiEVtP5GHMHED3ZyOWnNLtrBpRSXwGyM41bmpL 7ItyXmq74N9BMEh+lYSH =vIfg -----END PGP SIGNATURE----- --Apple-Mail=_6659D075-2D74-4D42-AF8A-E5112F8C3092--