Date: Tue, 20 Dec 2011 07:38:59 GMT From: Oliver Hartmann <ohartman@mail.zedat.fu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/163469: FreeBSD 10.0-CURRENT/CLANG: WITH_LIBCPLUSPLUS= YES: fails to build: Message-ID: <201112200738.pBK7cxr0018269@red.freebsd.org> Resent-Message-ID: <201112200740.pBK7e9FH080237@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163469 >Category: conf >Synopsis: FreeBSD 10.0-CURRENT/CLANG: WITH_LIBCPLUSPLUS= YES: fails to build: >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 20 07:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Oliver Hartmann >Release: FreeBSD 10.0-CURRENT/amd64 >Organization: FU Berlin >Environment: >Description: 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 >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112200738.pBK7cxr0018269>