FreeBSD 10.0-CURRENT #0 r232730: buildworld broken with CLANG?

Dimitry Andric dim at FreeBSD.org
Sat Mar 10 13:26:36 UTC 2012


On 2012-03-10 00:58, O. Hartmann wrote:
> I might have missed the point but since a week now I can't build FreeBSD
> 10.0 CURRENT/amd64 with CLANG anymore.
> 
> Amongst other problems I was told that the code this momnet is incapable
> to build properly with CLANG, but then several fixes where merged.
> 
> Building world ends up everytime at the below shown stage. What's wrong?
> If I missed something - please enlighten me.
> 
> My src.conf attached.
> 
> 
> Regards,
> 
> Oliver
> 
> 
> 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 -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  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 -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
> 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
> 1 error
> *** [libraries] Error code 2
> 1 error
> *** [_libraries] Error code 2
> 1 error
> *** [buildworld] Error code 2
> 1 error

Unfortunately, you did a -j build, which makes the actual errors
difficult to find, and if you show only the last few lines, as you have
done here, those errors are not visible at all.

Try doing a single-threaded build instead.  Save the entire log, using
script(1) for example, compress it and upload it somewhere.


More information about the freebsd-current mailing list