В Sat, 10 Mar 2012 00:58:23 +0100 "O. Hartmann" <ohartman_at_mail.zedat.fu-berlin.de> пишет: > 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. I have a similar problem, but with a different result. I noticed this only with the svn revision r232253 FreeBSD 10.0-CURRENT #0 r232717M make.conf: ... #For ccache .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && !defined(NOCCACHE) CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/clang,1} CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/clang++,1} .endif .if empty(.CURDIR:M/usr/ports/*) .if !defined(CC) || ${CC} == "cc" CC=/usr/local/libexec/ccache/clang .endif .if !defined(CXX) || ${CXX} == "c++" CXX=/usr/local/libexec/ccache/clang++ .endif .if !defined(CPP) || ${CPP} == "cpp" CPP=/usr/local/libexec/ccache/clang -E .endif .endif # Don't die on warnings NO_WERROR= WERROR= # Don't forget this when using Jails! NO_FSCHG= .if ${CC:T} == "clang" CFLAGS+= -Qunused-arguments -fcolor-diagnostics .endif ... ... /usr/local/libexec/ccache/world/clang -fpic -DPIC -O2 -mmmx -msse -msse2 -msse3 -mssse3 -pipe -march=nocona -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 -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 /usr/src/lib/libc/gen/getmntinfo.c -o getmntinfo.So distcc[60773] ERROR: compile /usr/.ccache/tmp/getgrent.tmp.nonamehost.60734.i on localhost failed clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/lib/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/resolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/locale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/rpc' In file included from /usr/src/lib/libc/gen/getgrent.c:1: In file included from /usr/src/lib/libc/gen/getgrent.c:39: In file included from /usr/src/lib/libc/../../include/rpc/rpc.h:76: /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h:69:8: error: unknown type name 'rpcblist' extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *); ^ 1 error generated. *** [getgrent.o] Error code 1 clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/lib/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/resolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/locale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/rpc' distcc[60803] ERROR: compile /usr/.ccache/tmp/getgrent.tmp.nonamehost.60756.i on localhost failed clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/lib/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/resolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/locale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/rpc' In file included from /usr/src/lib/libc/gen/getgrent.c:1: In file included from /usr/src/lib/libc/gen/getgrent.c:39: In file included from /usr/src/lib/libc/../../include/rpc/rpc.h:76: /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h:69:8: error: unknown type name 'rpcblist' extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *); ^ 1 error generated. *** [getgrent.So] Error code 1 clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/lib/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/resolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/locale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/rpc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/lib/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/resolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/locale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/rpc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/lib/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/resolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/locale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/rpc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/lib/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/resolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/locale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/rpc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/lib/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/resolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/../../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/locale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/rpc' 2 errors *** [lib/libc__L] Error code 2 1 error *** [libraries] Error code 2 1 error *** [_libraries] Error code 2 1 error *** [buildworld] Error code 2 Stop in /usr/src.Received on Sat Mar 10 2012 - 08:39:21 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC