On 21 Mar 2014, at 20:07, Ivan Klymenko <[email protected]> wrote:
> В Fri, 21 Mar 2014 17:54:01 +0000 (UTC)
> Dimitry Andric <[email protected]> пишет:
> 
>> Author: dim
>> Date: Fri Mar 21 17:53:59 2014
>> New Revision: 263508
>> URL: http://svnweb.freebsd.org/changeset/base/263508
>> 
>> Log:
>>  MFC 261991:
>> 
>>  Upgrade our copy of llvm/clang to 3.4 release.  This version
>> supports all of the features in the current working draft of the
>> upcoming C++ standard, provisionally named C++1y.
>> 
> 
> http://svnweb.freebsd.org/base/stable/10/share/mk/bsd.sys.mk?limit_changes=0&r1=263508&r2=263507&pathrev=263508
> 
> /usr/local/libexec/ccache/world/cc --sysroot=/usr/obj/usr/src/tmp 
> -B/usr/obj/usr/src/tmp/usr/bin  -O2 -pipe -O3 -march=corei7-avx -fpic 
> -fvisibility=hidden -DVISIBILITY_HIDDEN -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-unused-const-variable -Wno-tautological-compare -Wno-unused-value 
> -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion 
> -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -c 
> /usr/src/lib/libcompiler_rt/../../contrib/compiler-rt/lib/addvdi3.c -o 
> addvdi3.o
> --- absvsi2.o ---
> error: unknown warning option '-Wno-unused-const-variable'; did you mean 
> '-Wno-unused-variable'? [-Werror,-Wunknown-warning-option]
> *** [absvsi2.o] Error code 1

Unfortunately ccache does not work properly for buildworld.  At least,
not when you are upgrading the compiler itself.  In this case, it seems
to be invoking the wrong compiler, e.g. running cc from /usr/bin instead
of /usr/obj/usr/src/tmp/usr/bin.  Please disable ccache, and try again.

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to