Hello, I can't buildworld with clang anymore, tried with one job, error below. Sorry for the noise if that's a known problem. # uname -a FreeBSD zozo.afpicl.lan 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r241344: Mon Oct 8 11:24:59 CEST 2012 root_at_zozo.afpicl.lan:/usr/obj/usr/src/sys/CORE amd64 # svnversion 241923 # make buildworld [snip] ===> lib/libz (all) ===> lib/atf (all) ===> lib/atf/libatf-c (all) ===> lib/atf/libatf-c++ (all) clang++ -O2 -pipe -march=corei7 -fomit-frame-pointer -DHAVE_CONFIG_H -DATF_ARCH='"amd64"' -DATF_BUILD_CC='"clang"' -DATF_BUILD_CFLAGS='"-O2 -pipe -march=corei7 -fomit-frame-pointer"' -DATF_BUILD_CPP='"clang-cpp"' -DATF_BUILD_CPPFLAGS='""' -DATF_BUILD_CXX='"clang++"' -DATF_BUILD_CXXFLAGS='"-O2 -pipe -march=corei7 -fomit-frame-pointer"' -DATF_CONFDIR='"/etc/atf"' -DATF_INCLUDEDIR='"/usr/include"' -DATF_LIBDIR='"/usr/lib"' -DATF_LIBEXECDIR='"/usr/libexec"' -DATF_MACHINE='"amd64"' -DATF_M4='"/usr/bin/m4"' -DATF_PKGDATADIR='"/usr/share/atf"' -DATF_SHELL='"/bin/sh"' -DATF_WORKDIR='"/tmp"' -I/usr/src/lib/atf/libatf-c++/../../../contrib/atf -I/usr/src/lib/atf/libatf-c++/../libatf-c -I. -DHAVE_CONFIG_H -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -c /usr/src/lib/atf/libatf-c++/../../../contrib/atf/atf-c++/detail/application.cpp -o application.o In file included from /usr/src/lib/atf/libatf-c++/../../../contrib/atf/atf-c++/detail/application.cpp:42: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/iostream:44: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/ostream:44: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/ios:49: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/basic_ios.h:40: /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/streambuf_iterator.h:162:20: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses] return (__thiseof && __beof || (!__thiseof && !__beof)); ~~~~~~~~~~^~~~~~~~~ ~~ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/streambuf_iterator.h:162:20: note: place parentheses around the '&&' expression to silence this warning In file included from /usr/src/lib/atf/libatf-c++/../../../contrib/atf/atf-c++/detail/application.cpp:42: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/iostream:44: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/ostream:44: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/ios:49: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/basic_ios.h:43: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.h:46: /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/ctype_base.h:41:3: error: 'ctype_base' defined as a struct here but previously declared as a class [-Werror,-Wmismatched-tags] struct ctype_base ^ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/localefwd.h:108:3: note: did you mean struct here? class ctype_base; ^ In file included from /usr/src/lib/atf/libatf-c++/../../../contrib/atf/atf-c++/detail/application.cpp:42: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/iostream:44: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/ostream:44: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/ios:49: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/basic_ios.h:43: /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.h:4337:3: error: 'messages_base' defined as a struct here but previously declared as a class [-Werror,-Wmismatched-tags] struct messages_base ^ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/localefwd.h:171:3: note: did you mean struct here? class messages_base; ^ In file included from /usr/src/lib/atf/libatf-c++/../../../contrib/atf/atf-c++/detail/application.cpp:42: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/iostream:44: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/ostream:571: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/ostream.tcc:45: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/locale:45: /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:318:30: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses] if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:318:30: note: place parentheses around the '&&' expression to silence this warning /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:560:32: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses] if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:560:32: note: place parentheses around the '&&' expression to silence this warning /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:752:3: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else] else ^ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:758:3: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else] else ^ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:1390:10: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses] && (static_cast<part>(__p.field[3]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/locale_facets.tcc:1390:10: note: place parentheses around the '&&' expression to silence this warning 8 errors generated. *** [application.o] Error code 1 Stop in /usr/src/lib/atf/libatf-c++. *** [all] Error code 1 Stop in /usr/src/lib/atf. *** [all] Error code 1 Stop in /usr/src/lib. *** [lib__L] Error code 1 Stop in /usr/src. *** [libraries] Error code 1 Stop in /usr/src. *** [_libraries] Error code 1 Stop in /usr/src. *** [buildworld] Error code 1 Stop in /usr/src. -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier_at_gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."Received on Tue Oct 23 2012 - 07:21:20 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC