Re: Unable to buildworld with ccache

2012-06-06 Thread Dimitry Andric
On 2012-06-06 18:51, Sevan / Venture37 wrote: > Worked a treat, now it barfs on libelf ... > /usr/src/lib/libelf/elf_scn.c:198:41: error: equality comparison with > extraneous parentheses [-Werror,-Wparentheses-equality] > if (((&e->e_u.e_elf.e_scn)->stqh_first == ((void *)0))) { > ~

Re: Unable to buildworld with ccache

2012-06-06 Thread Sevan / Venture37
On 6 June 2012 11:49, Dimitry Andric wrote: > This is because clang suppresses a number of warnings for specific > patterns in macros.  Since ccache passes clang the preprocessed file, > those suppressions will not work, and some additional warnings can be > triggered. > > See also the following t

Re: Unable to buildworld with ccache

2012-06-06 Thread Dimitry Andric
On 2012-06-06 00:07, Sevan / Venture37 wrote: > Buildworld completes successfully with ccache switched off, it fails > otherwise, system was built WITH_CLANG_IS_CC previously. ... > In file included from /usr/src/lib/libc/net/getaddrinfo.c:1: > /usr/src/lib/libc/net/getaddrinfo.c:467:15: error: ex

Unable to buildworld with ccache

2012-06-05 Thread Sevan / Venture37
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/a