r246057: buildworld fails with: /usr/obj/usr/src/tmp/usr/lib/libc++.so: undefined reference to `std::bad_alloc::~bad_alloc()'
ohartman at zedat.fu-berlin.de
Sun Feb 3 14:00:56 UTC 2013
Am 01/31/13 10:10, schrieb David Chisnall:
> 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.
Since world can not be build anymore at the moment with the use of
-stdlib=libc++, 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the freebsd-current