[ccache] amd64 buildworld (FreeBSD 8.0p2) consistently fails with ccache

Christer Edwards christer.edwards at gmail.com
Mon May 10 17:38:42 MDT 2010


On Mon, May 10, 2010 at 2:58 PM, Joel Rosdahl <joel at rosdahl.net> wrote:
> The most important thing is to find out the exact command line used when
> the compilation failed. Your build system doesn't seem to print that, so
> I think you either should try to increase verbosity in some way or
> upgrade to ccache 3.0pre1, which was just released. 3.0pre1 logs the
> executed compiler commands to CCACHE_LOGFILE, so it would be enough to
> get the log snippet of the failed compilation. Possibly, the compiled
> source code could also be of interest.

I've got another failure (same place) on 3.0pre1.Below are the details:

I executed 'ccache make buildworld' at /usr/src.

ccache related ENV values are:

CCACHE_DIR=/usr/.ccache
CCACHE_LOGFILE=/var/log/ccache.log

Below is the error output from the ccache.log (46M total, only pasting
the tail here):

[2010-05-10T17:30:38.824821 53291] === CCACHE STARTED
=========================================
[2010-05-10T17:30:38.825491 53291] Hostname: mouzone.part.net
[2010-05-10T17:30:38.825542 53291] Cwd: /usr/obj/lib32/usr/src/lib/csu/i386-elf
[2010-05-10T17:30:38.825560 53291] Source file: /usr/src/lib/csu/i386-elf/crt1.c
[2010-05-10T17:30:38.825578 53291] Object file: crt1.o
[2010-05-10T17:30:38.825608 53291] Trying direct lookup
[2010-05-10T17:30:38.825853 53291] Looking for object file hash in
/usr/.ccache/b/b/d92cd3966f3aa0a8ba17e11308c7c9-2334.manifest
[2010-05-10T17:30:38.825950 53291] Did not find object file hash in manifest
[2010-05-10T17:30:38.825974 53291] Running preprocessor
[2010-05-10T17:30:38.827775 53292] Executing
/usr/obj/usr/src/tmp/usr/bin/cc -O2 -pipe
-I/usr/src/lib/csu/i386-elf/../common
-I/usr/src/lib/csu/i386-elf/../../libc/include -std=gnu99
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c -E
/usr/src/lib/csu/i386-elf/crt1.c
[2010-05-10T17:30:38.853494 53291] Got object file hash from preprocessor
[2010-05-10T17:30:38.853749 53291] Object file
/usr/.ccache/7/e/00e1bb753cccab0b3367e6287435a8-23935.o not in cache
[2010-05-10T17:30:38.853797 53291] Running real compiler
[2010-05-10T17:30:38.855228 53294] Executing
/usr/obj/usr/src/tmp/usr/bin/cc -O2 -pipe
-I/usr/src/lib/csu/i386-elf/../common
-I/usr/src/lib/csu/i386-elf/../../libc/include -std=gnu99
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c -o
/usr/.ccache/7/e/00e1bb753cccab0b3367e6287435a8-23935.o.tmp.mouzone.part.net.53291
/usr/.ccache/tmp/crt1.tmp.mouzone.part.net.53291.i
[2010-05-10T17:30:38.903089 53291] Compiler gave exit status 1
[2010-05-10T17:30:38.903377 53291] Copying
/usr/.ccache/7/e/00e1bb753cccab0b3367e6287435a8-23935.o.tmp.mouzone.part.net.53291
to crt1.o (uncompressed)
[2010-05-10T17:30:38.906771 53291] open error: No such file or directory

Please let me know what more I can provide..

-- 
Christer Edwards


More information about the ccache mailing list