Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2012 23:07:02 +0100
From:      Sevan / Venture37 <venture37@gmail.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Unable to buildworld with ccache
Message-ID:  <4FCE8306.1020000@gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FCE8306.1020000>