Date: Thu, 31 Jan 2013 09:10:34 +0000 From: David Chisnall <theraven@FreeBSD.org> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de> Cc: Current FreeBSD <freebsd-current@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()' Message-ID: <CA9E8395-753B-4602-AA44-1D3D5F3E24E2@FreeBSD.org> In-Reply-To: <5109F527.2030702@zedat.fu-berlin.de> References: <51079F0A.20309@zedat.fu-berlin.de> <20130129163554.GW1804@albert.catwhisker.org> <5109F527.2030702@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On 31 Jan 2013, at 04:37, O. Hartmann wrote: > First, I suspected the c++ option "-std=c++11" I issued in /etc/src.conf > when building the sources - I did this before without any problems. > Then, leaving the build without "-std=c++11" option, I get the following > 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 of > any help. If you are going to compile with -stdlib=libc++ and not -std=c++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 [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA9E8395-753B-4602-AA44-1D3D5F3E24E2>
