Re: r246057: buildworld fails with: /usr/obj/usr/src/tmp/usr/lib/libc++.so: undefined reference to `std::bad_alloc::~bad_alloc()'

From: David Chisnall <theraven_at_FreeBSD.org>
Date: Tue, 29 Jan 2013 10:52:54 +0000
On 29 Jan 2013, at 10:48, O. Hartmann wrote:

> On 01/29/13 11:08, David Chisnall wrote:
>> On 29 Jan 2013, at 10:06, O. Hartmann wrote:
>> 
>>> I receive this error since yesterday building world and it is still
>>> sticky on most recent sources (r246057) and I was wondering why the
>>> tinderboxes do not pick this up on the 10.0-CURRENT builds ... just for
>>> a notice for the development folks ...
>> 
>> Are you building with -DNO_CLEAN or similar?  This error is expected if you have recompiled libcxxrt but not libc++.  If you recompile libc++, it should work correctly.  Alternatively, if it is accidentally trying to link the libc++ that you build against your installed libcxxrt, then it will also break.
>> 
>> David
>> 
> 
> 
> No, not that I'm aware of that (no -DNO_CLESN).
> 
> I run a script calling "make -jX buildworld", the script evaluates
> simply the number of threads possible and also deletes(!) /usr/obj
> completely. So I'm quite sure that I start over with a virging /usr/obj
> when I start building world.


Is it building libcxxrt before building libc++?  Can you check what command it is running to link libc++?

David


Received on Tue Jan 29 2013 - 09:53:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC