Unable to buildworld with ccache

From: Sevan / Venture37 <venture37_at_gmail.com>
Date: Tue, 05 Jun 2012 23:07:02 +0100
Hi,
Buildworld completes successfully with ccache switched off, it fails 
otherwise, system was built WITH_CLANG_IS_CC previously.

/usr/local/libexec/ccache/world/cc  -O2 -fno-strict-aliasing -pipe 
-march=core2 -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 
-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 -I/usr/src/lib/libc/../../contrib/jemalloc/include 
-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 -Qunused-arguments -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -c 
/usr/src/lib/libc/net/gethostbynis.c -o gethostbynis.o
/usr/local/libexec/ccache/world/cc -fpic -DPIC  -O2 -fno-strict-aliasing 
-pipe -march=core2 -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 
-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 -I/usr/src/lib/libc/../../contrib/jemalloc/include 
-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 -Qunused-arguments -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -c 
/usr/src/lib/libc/net/gethostbynis.c -o gethostbynis.So
In file included from /usr/src/lib/libc/net/getaddrinfo.c:1:
/usr/src/lib/libc/net/getaddrinfo.c:467:15: error: explicitly assigning 
a variable of type 'int' to itself [-Werror,-Wself-assign]
    do { error = (error); goto bad; } while ( 0);
         ~~~~~ ^  ~~~~~
1 error generated.
*** [getaddrinfo.o] Error code 1
In file included from /usr/src/lib/libc/net/getaddrinfo.c:1:
/usr/src/lib/libc/net/getaddrinfo.c:467:15: error: explicitly assigning 
a variable of type 'int' to itself [-Werror,-Wself-assign]
    do { error = (error); goto bad; } while ( 0);
         ~~~~~ ^  ~~~~~
1 error generated.
*** [getaddrinfo.So] Error code 1
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
1 error	



Any pointers appreciated


Sevan / Venture37
Received on Tue Jun 05 2012 - 20:07:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC