Building FreeBSD 10.0-CURRENT/amd64 of today fails (with clang and WITH_LIBCPLUSPLUS=YES)

O. Hartmann ohartman at
Mon Nov 28 22:59:17 UTC 2011

Am 11/28/11 20:10, schrieb Garrett Cooper:
> On Mon, Nov 28, 2011 at 10:11 AM, O. Hartmann
> <ohartman at> wrote:
>> Am 11/27/11 22:05, schrieb Garrett Cooper:
>>> On Sun, Nov 27, 2011 at 9:01 AM, O. Hartmann
>>> <ohartman at> wrote:
>>>> Sources of FreeBSD 10.0-CUR/amd64 as svn-ed recently:
>>>> Path: .
>>>> Working Copy Root Path: /usr/src
>>>> URL: svn://
>>>> Repository Root: svn://
>>>> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
>>>> Revision: 228029
>>>> Node Kind: directory
>>>> Schedule: normal
>>>> Last Changed Author: trociny
>>>> Last Changed Rev: 228029
>>>> Last Changed Date: 2011-11-27 17:56:01 +0100 (Sun, 27 Nov 2011)
>>>> fail to build with the following error:
>>> Look for the first "Error code" in your output -- the line before that
>>> is the real error. That being said, there were some additional CFLAGS
>>> that needed to be fed in to make things work with libc++ and libcxxrt
>>> IIRC.
>>> Cheers,
>>> -Garrett
>> ... thanks for the advice.
>> Is there any chance to find out which Flags one has to set (the WIKI
>> seems not to mention anything)?
> Should be off by default; it can be enabled via WITH_LIBCPLUSPLUS.
> -Garrett
> _______________________________________________

Hello Garrett.
Yes, it is off by default and the system build well with this feature
off by default. But when enabling WITH_LIBCPLUSPLUS in /etc/src.conf,
I get always the error I started this thread with.

Well, either this is a real error and I should PR, or it is my
impatience that tries to use something still getting merged.

I tried to look at the wiki for that, but it does not mention anything
else apart the flag WITH_LIBCPLUSPLUS. No additional CFLAGS or something
... so I'm a little bit confused.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 552 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-current mailing list