On FreeBSD 10.0-CURRENT/amd64, CLANG build, moist recent sources, setting WITH_LIBCPLUSPLUS= in /etc/src.conf results in a build-error shown below. This does not happen on FreeBSD 9.0/amd64 so far. clang -fpic -DPIC -O2 -fno-strict-aliasing -pipe -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 -DMALLOC_PRODUCTION -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 -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body -c crypt_xdr.c -o crypt_xdr.So building static c library building shared library libc.so.7 building special pic c library ranlib libc_pic.a ranlib libc.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 -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 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 -s -o root -g wheel -m 444 -S libc.so.7 /usr/obj/usr/src/tmp/lib 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 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 libc_pic.a /usr/obj/usr/src/tmp/usr/lib 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 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 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 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 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 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 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 How-To-Repeat: Build FreeBSD 10.0-CURRENT/amd64 with /etc/src.conf set to WITH_CLANG= YES WITH_CLANG_EXTRAS= YES # WITH_BIND_LIBS= YES WITH_BIND_SIGCHASE= YES WITH_BIND_LARGE_FILE= YES # WITH_IDEA= YES WITH_HESIOD= YES # #WITH_ICONV= YES WITH_BSD_GREP= YES # WITH_LIBCPLUSPLUS= YES # #WITH_OFED= YES
The log you posted is missing the actual error, i.e. try building without using make jobs (not specifying -jN). Yuri
Does the actual error only happen during -jX? ref. http://docs.freebsd.org/cgi/mid.cgi?1RcCLJ-000MeI-MC
On 12/20/11 16:18, Jan Beich wrote: > Does the actual error only happen during -jX? > > ref. http://docs.freebsd.org/cgi/mid.cgi?1RcCLJ-000MeI-MC Yes, you're right. Compiling world without -jX does well even with the knob in question enabled. Any number >= 2 results in the mentioned error at the same point. Oliver
I wrote experimental patch over 3 weeks ago. but I forgot to report it. #the patch extracts to use 'svn diff Makefike.inc1' at yesterday. libcxxrt depends on c libraries, so the patch divide compilation c libraries and libcxxrt.
On 12/25/11 06:12, Yamaya Takashi wrote: > I wrote experimental patch over 3 weeks ago. > but I forgot to report it. > #the patch extracts to use 'svn diff Makefike.inc1' at yesterday. > > libcxxrt depends on c libraries, > so the patch divide compilation c libraries and libcxxrt. > > Dear Yamaga Takashi san, without -JX building world, I can build the system with WITH_LIBCPLUSPLUS enabled. But it obviously can not be build with -JX, where X >= 2. Is this patch targetting this? Regards, Oliver
On 2011/12/25 21:13, O. Hartmann wrote: > On 12/25/11 06:12, Yamaya Takashi wrote: >> I wrote experimental patch over 3 weeks ago. >> but I forgot to report it. >> #the patch extracts to use 'svn diff Makefike.inc1' at yesterday. >> >> libcxxrt depends on c libraries, >> so the patch divide compilation c libraries and libcxxrt. >> >> > Dear Yamaga Takashi san, > > without -JX building world, I can build the system with > WITH_LIBCPLUSPLUS enabled. But it obviously can not be build with -JX, > where X >= 2. > > Is this patch targetting this? > > Regards, > Oliver > Yes. 'make -j8 buildworld kernel' succeed at phenomII X4 home PC. 'make -j24 buildworld kernel' succeed at corei7 9xx PC.
Problem gone here with most recent FreeBSD 10.0-CURRENT/amd64 r235090. Could I request for close? Regards, O. Hartmann
Closing per authors request.