From owner-freebsd-current@FreeBSD.ORG Sun Feb 3 14:00: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 9F92FAB5; Sun, 3 Feb 2013 14:00:56 +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]) by mx1.freebsd.org (Postfix) with ESMTP id 48D068CB; Sun, 3 Feb 2013 14:00:55 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1U207l-002M2u-67>; Sun, 03 Feb 2013 15:00:49 +0100 Received: from e178034007.adsl.alicedsl.de ([85.178.34.7] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1U207l-002E9m-2I>; Sun, 03 Feb 2013 15:00:49 +0100 Message-ID: <510E6D89.2090502@zedat.fu-berlin.de> Date: Sun, 03 Feb 2013 15:00:41 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130131 Thunderbird/17.0.2 MIME-Version: 1.0 To: David Chisnall Subject: Re: r246057: buildworld fails with: /usr/obj/usr/src/tmp/usr/lib/libc++.so: undefined reference to `std::bad_alloc::~bad_alloc()' References: <51079F0A.20309@zedat.fu-berlin.de> <20130129163554.GW1804@albert.catwhisker.org> <5109F527.2030702@zedat.fu-berlin.de> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig29682A5889120A3F8E9FE2CA" X-Originating-IP: 85.178.34.7 Cc: Current FreeBSD , Dimitry Andric , "jesse@glx.me >> Jesse" 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: Sun, 03 Feb 2013 14:00:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig29682A5889120A3F8E9FE2CA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 01/31/13 10:10, schrieb David Chisnall: > On 31 Jan 2013, at 04:37, O. Hartmann wrote: >=20 >> 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 follo= wing >> error below and compilation stops. >> >> Maybe this reveals the real issue. >> >> 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 o= f >> any help. >=20 > 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 hav= e crept into the libc++ headers. I think some have been fixed upstream, = so I'll do a new import soon and see. >=20 > David >=20 Since world can not be build anymore at the moment with the use of -stdlib=3Dlibc++, wouldn't it be well-advised to make a note in UPDATING?= I was wondering that so few CURRENT users are going to use the new libc++ for building world. If it is an official advise NOT to use libc++ at the moment and I simply didn't get the message, please consider my complain without a subject anymore. Regards, Oliver --------------enig29682A5889120A3F8E9FE2CA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJRDm2QAAoJEOgBcD7A/5N8tlAH/3HVJFpGp29KJHWdWz0k36k1 46vfqAOSnJ/5w4meCN2eSnR2Kjf5s7Oi1Dn6Clf9DopeRD5olGaMXIpv5fMNLQXn WgBYidKdI4z7BnL535GDUc1QFt8NvIp0c74W6LJi5uZI1/W0ScvuAzA1PhTFnv4h h9WG2XgLaZ3ntZ0oLoM5/Dc41XEoV4tYCn1/Xn3UoqmRRbuORaiCHJ9LlsvURJDH dVM0g57QAusguBsIbFDVTe0P1sRvv8EOdoMrtb10eSQDDZIQzBAhzsJNaxhDelW4 HM0EH7i2xbJEsfeeRgIXmYw83GTSCvbOtzvf3w6grCODa4YnFa6B7YN26ugQGkc= =FV1r -----END PGP SIGNATURE----- --------------enig29682A5889120A3F8E9FE2CA--