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

Christer Edwards christer.edwards at gmail.com
Sun May 9 19:24:00 MDT 2010


On Sun, May 9, 2010 at 11:17 AM, Joel Rosdahl <joel at rosdahl.net> wrote:
> You can enable debug logging by setting CCACHE_LOGFILE to a log file
> path and then send the log of a failed compilation here.

I've enabled logging and I would attach the logfile, but it is 12M
total size. I've included the tail end, just leading up to the
failure:

[78023] === 2010-05-09 14:54:37 ===
[78023] Base directory: /usr/obj/lib32/usr/src/gnu/lib/csu
[78023] Source file: /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
[78023] Object file: crtend.So
[78023] Trying direct lookup
[78023] Looking for object file hash in
/usr/.ccache/7/d/95616197a1156b28cdd39a8047d5db-9623.manifest
[78023] Did not find object file hash in manifest
[78023] Running preprocessor
[78023] Got object file hash from preprocessor
[78023] Object file
/usr/.ccache/c/a/512e749085241d05f1a72bfb1fa910-77439.o not in cache
[78023] Running real compiler
[78023] Stored in cache: /usr/.ccache/c/a/512e749085241d05f1a72bfb1fa910-77439.o
[78023] Created crtend.So from
/usr/.ccache/c/a/512e749085241d05f1a72bfb1fa910-77439.o
[78023] Added object file hash to
/usr/.ccache/7/d/95616197a1156b28cdd39a8047d5db-9623.manifest
[78040] === 2010-05-09 14:54:37 ===
[78040] Base directory: /usr/obj/lib32/usr/src/lib/csu/i386-elf
[78040] Compiler option -E is unsupported
[78040] Failed; falling back to running the real compiler
[78047] === 2010-05-09 14:54:37 ===
[78047] Base directory: /usr/obj/lib32/usr/src/lib/csu/i386-elf
[78047] Source file: /usr/src/lib/csu/i386-elf/crt1.c
[78047] Object file: crt1.o
[78047] Trying direct lookup
[78047] Looking for object file hash in
/usr/.ccache/c/9/ea7ce3c6c0dcbf8e347e950e9ff6ea-1903.manifest
[78047] Did not find object file hash in manifest
[78047] Running preprocessor
[78047] Got object file hash from preprocessor
[78047] Object file
/usr/.ccache/f/a/86dcc9067c2597ce7a0dbd718899ac-23567.o not in cache
[78047] Running real compiler
[78047] Compiler gave exit status 1

This build had no CFLAGS or CXXFLAGS and exited at the same point.

What other information can I provide?

[root at stringer /usr/src]# ccache -s
cache directory                     /usr/.ccache
cache hit (direct)                   871
cache hit (preprocessed)            1039
cache miss                         30393
called for link                     1342
multiple source files                  5
compile failed                         2
not a C/C++ file                    3316
no input file                          2
files in cache                     30393
cache size                         107.8 Mbytes
max cache size                       1.0 Gbytes

-- 
Christer Edwards


More information about the ccache mailing list