Re: ccache issues during buildworld on recent -CURRENT

From: Eggert, Lars <lars_at_netapp.com>
Date: Mon, 17 Jun 2013 11:58:35 +0000
Hi,

any further ideas? This issue still exist when building -CURRENT on -STABLE as of today.

Thanks,
Lars


On May 23, 2013, at 12:33, "Eggert, Lars" <lars_at_netapp.com> wrote:

> Hi,
> 
> On May 22, 2013, at 13:37, Dimitry Andric <dim_at_freebsd.org> wrote:
>> Can you try to figure out which copy of clang ccache finds and runs?
> 
> I enabled CCACHE_LOGFILE, and it seems that it runs /usr/bin/clang:
> 
> [2013-05-23T12:25:36.810346 48913] Command line: /usr/local/libexec/ccache/clang --sysroot=/home/elars/obj/usr/home/elars/src/tmp -B/home/elars/obj/usr/home/elars/src/tmp/usr/bin -E -M -I/usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/include -I/usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include -I/usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic -I. -I/usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-unknown-freebsd10.0" -DLLVM_HOSTTRIPLE="x86_64-unknown-freebsd10.0" -DDEFAULT_SYSROOT="" /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Builtins.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/
> clang/lib/Basic/CharInfo.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Diagnostic.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/DiagnosticIDs.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/FileManager.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/FileSystemStatCache.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/IdentifierTable.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/LangOptions.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Module.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/OpenMPKinds.cpp /usr/home/elars/
> src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/OperatorPrecedence.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/SourceLocation.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/SourceManer.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/TargetInfo.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Targets.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/TokenKinds.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Version.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/VersionTuple.cpp
> [2013-05-23T12:25:36.810373 48913] Hostname: stanley.muccbc.hq.netapp.com
> [2013-05-23T12:25:36.810380 48913] Working directory: (null)
> [2013-05-23T12:25:36.810399 48913] Failed; falling back to running the real compiler
> [2013-05-23T12:25:36.810405 48913] Executing /usr/bin/clang --sysroot=/home/elars/obj/usr/home/elars/src/tmp -B/home/elars/obj/usr/home/elars/src/tmp/usr/bin -E -M -I/usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/include -I/usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include -I/usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic -I. -I/usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-unknown-freebsd10.0" -DLLVM_HOSTTRIPLE="x86_64-unknown-freebsd10.0" -DDEFAULT_SYSROOT="" /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Builtins.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/CharI
> nfo.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Diagnostic.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/DiagnosticIDs.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/FileManager.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/FileSystemStatCache.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/IdentifierTable.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/LangOptions.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Module.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/OpenMPKinds.cpp /usr/home/elars/src/lib/clang/libclan
> gbasic/../../../contrib/llvm/tools/clang/lib/Basic/OperatorPrecedence.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/SourceLocation.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/TargetInfo.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Targets.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/TokenKinds.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Version.cpp /usr/home/elars/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/VersionTuple.cpp
> [2013-05-23T12:25:36.810473 48913] Acquired lock /var/db/ccache/f/stats.lock
> [2013-05-23T12:25:36.810641 48913] Releasing lock /var/db/ccache/f/stats.lock
> [2013-05-23T12:25:36.810649 48913] Unlink /var/db/ccache/f/stats.lock (as-tmp)
> [2013-05-23T12:25:36.811008 48913] Result: called for preprocessing       
> 
>> Since emmintrin.h is an internal header, normally it should find it in
>> /usr/include/clang/$VERSION.  During the later stages of buildworld,
>> this directory will be located under ${WORLDTMP}.
>> 
>> It looks like this clang invocation uses --sysroot, so maybe you can
>> check whether the file:
>> 
>> /home/elars/obj/usr/home/elars/src/tmp/usr/include/clang/3.3/emmintrin.h
>> 
>> exists.
> 
> That file does exist:
> 
> [elars_at_stanley ~/src]$ ll /home/elars/obj/usr/home/elars/src/tmp/usr/include/clang/3.3/emmintrin.h
> -rwxr-xr-x  1 elars  wheel  40792 May  3 14:02 /home/elars/obj/usr/home/elars/src/tmp/usr/include/clang/3.3/emmintrin.h*
> 
> Lars
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon Jun 17 2013 - 09:58:38 UTC

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