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

David Chisnall theraven at FreeBSD.org
Tue Jan 29 10:53:03 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130129/1ebfe7f6/attachment.sig>


More information about the freebsd-current mailing list