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

5 views
Skip to first unread message

O. Hartmann

unread,
Nov 27, 2011, 12:01:29 PM11/27/11
to Current FreeBSD
Sources of FreeBSD 10.0-CUR/amd64 as svn-ed recently:

Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/head
Repository Root: svn://svn.freebsd.org/base
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:


clang -fpic -DPIC -O3 -fno-strict-aliasing -pipe -march=native
-I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include
-I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE
-I/usr/src/lib/libc/../../contrib/gdtoa -DINET6
-I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE
-DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/tzcode/stdtime
-I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD
-DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector
-Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized
-Wno-pointer-sign -c crypt_xdr.c -o crypt_xdr.So
building static c library
building shared library libc.so.7
ranlib libc.a
building special pic c library
ranlib libc_pic.a
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libc.a
/usr/obj/usr/src/tmp/usr/lib
sh /usr/src/tools/install.sh -o root -g wheel -m 444 be_BY.UTF-8.cat
/usr/obj/usr/src/tmp/usr/share/nls/be_BY.UTF-8/libc.cat
sh /usr/src/tools/install.sh -s -o root -g wheel -m 444 -S libc.so.7
/usr/obj/usr/src/tmp/lib
ln -fs /usr/obj/usr/src/tmp/lib/libc.so.7
/usr/obj/usr/src/tmp/usr/lib/libc.so
sh /usr/src/tools/install.sh -o root -g wheel -m 444
ca_ES.ISO8859-1.cat
/usr/obj/usr/src/tmp/usr/share/nls/ca_ES.ISO8859-1/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444 libc_pic.a
/usr/obj/usr/src/tmp/usr/lib
sh /usr/src/tools/install.sh -o root -g wheel -m 444
de_DE.ISO8859-1.cat
/usr/obj/usr/src/tmp/usr/share/nls/de_DE.ISO8859-1/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
el_GR.ISO8859-7.cat
/usr/obj/usr/src/tmp/usr/share/nls/el_GR.ISO8859-7/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
es_ES.ISO8859-1.cat
/usr/obj/usr/src/tmp/usr/share/nls/es_ES.ISO8859-1/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
fi_FI.ISO8859-1.cat
/usr/obj/usr/src/tmp/usr/share/nls/fi_FI.ISO8859-1/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
fr_FR.ISO8859-1.cat
/usr/obj/usr/src/tmp/usr/share/nls/fr_FR.ISO8859-1/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
gl_ES.ISO8859-1.cat
/usr/obj/usr/src/tmp/usr/share/nls/gl_ES.ISO8859-1/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
hu_HU.ISO8859-2.cat
/usr/obj/usr/src/tmp/usr/share/nls/hu_HU.ISO8859-2/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
it_IT.ISO8859-15.cat
/usr/obj/usr/src/tmp/usr/share/nls/it_IT.ISO8859-15/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444 ja_JP.UTF-8.cat
/usr/obj/usr/src/tmp/usr/share/nls/ja_JP.UTF-8/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444 ja_JP.eucJP.cat
/usr/obj/usr/src/tmp/usr/share/nls/ja_JP.eucJP/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444 ko_KR.UTF-8.cat
/usr/obj/usr/src/tmp/usr/share/nls/ko_KR.UTF-8/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444 ko_KR.eucKR.cat
/usr/obj/usr/src/tmp/usr/share/nls/ko_KR.eucKR/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444 mn_MN.UTF-8.cat
/usr/obj/usr/src/tmp/usr/share/nls/mn_MN.UTF-8/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
nl_NL.ISO8859-1.cat
/usr/obj/usr/src/tmp/usr/share/nls/nl_NL.ISO8859-1/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
no_NO.ISO8859-1.cat
/usr/obj/usr/src/tmp/usr/share/nls/no_NO.ISO8859-1/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
pl_PL.ISO8859-2.cat
/usr/obj/usr/src/tmp/usr/share/nls/pl_PL.ISO8859-2/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
pt_BR.ISO8859-1.cat
/usr/obj/usr/src/tmp/usr/share/nls/pt_BR.ISO8859-1/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444 ru_RU.KOI8-R.cat
/usr/obj/usr/src/tmp/usr/share/nls/ru_RU.KOI8-R/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
sk_SK.ISO8859-2.cat
/usr/obj/usr/src/tmp/usr/share/nls/sk_SK.ISO8859-2/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444
sv_SE.ISO8859-1.cat
/usr/obj/usr/src/tmp/usr/share/nls/sv_SE.ISO8859-1/libc.cat
sh /usr/src/tools/install.sh -o root -g wheel -m 444 uk_UA.UTF-8.cat
/usr/obj/usr/src/tmp/usr/share/nls/uk_UA.UTF-8/libc.cat
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

Regards,
Oliver

signature.asc

O. Hartmann

unread,
Nov 28, 2011, 1:11:04 PM11/28/11
to Garrett Cooper, Current FreeBSD
Am 11/27/11 22:05, schrieb Garrett Cooper:

> On Sun, Nov 27, 2011 at 9:01 AM, O. Hartmann
> <ohar...@zedat.fu-berlin.de> wrote:
>> Sources of FreeBSD 10.0-CUR/amd64 as svn-ed recently:
>>
>> Path: .
>> Working Copy Root Path: /usr/src
>> URL: svn://svn.freebsd.org/base/head
>> Repository Root: svn://svn.freebsd.org/base
>> 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)?

Regards,
Oliver

signature.asc
Reply all
Reply to author
Forward
0 new messages