Date: Sun, 03 Feb 2013 15:00:41 +0100 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: David Chisnall <theraven@FreeBSD.org> Cc: Current FreeBSD <freebsd-current@FreeBSD.org>, Dimitry Andric <dim@FreeBSD.org>, "jesse@glx.me >> Jesse" <jesse@glx.me> 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: <510E6D89.2090502@zedat.fu-berlin.de> In-Reply-To: <CA9E8395-753B-4602-AA44-1D3D5F3E24E2@FreeBSD.org> References: <51079F0A.20309@zedat.fu-berlin.de> <20130129163554.GW1804@albert.catwhisker.org> <5109F527.2030702@zedat.fu-berlin.de> <CA9E8395-753B-4602-AA44-1D3D5F3E24E2@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510E6D89.2090502>