1 |
Recently I upgraded gcc to gcc-4.1.1 from gcc-4.0.3 and cleared out the |
2 |
ccache cache believing that cached compiler data across different |
3 |
compiler versions would be useless. However after doing an 'emerge -e |
4 |
world', there's nothing in the cache. I'm inclined to blame a specific |
5 |
unsupported CFLAG, but the ccache statistics don't indicate anything |
6 |
like that. What would cause ccache to not cache any compiler data? |
7 |
|
8 |
# ccache -s |
9 |
cache directory /var/tmp/ccache |
10 |
cache hit 0 |
11 |
cache miss 163 |
12 |
called for link 12870 |
13 |
multiple source files 69 |
14 |
compile failed 1 |
15 |
preprocessor error 1222 |
16 |
bad compiler arguments 2 |
17 |
not a C/C++ file 3763 |
18 |
autoconf compile/link 17491 |
19 |
unsupported compiler option 5237 |
20 |
no input file 12830 |
21 |
files in cache 326 |
22 |
cache size 2.2 Mbytes |
23 |
max cache size 2.5 Gbytes |
24 |
|
25 |
# emerge --info | grep amd64 |
26 |
Portage 2.1.1_pre1-r1 (default-linux/amd64/2006.0/no-multilib, |
27 |
gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17 x86_64) |
28 |
ACCEPT_KEYWORDS="amd64 ~amd64" |
29 |
|
30 |
# emerge --info | grep CFLAGS |
31 |
CFLAGS="-march=athlon64 -m64 -O3 -fmessage-length=0 -pipe" |
32 |
|
33 |
|
34 |
Justin |
35 |
-- |
36 |
gentoo-user@g.o mailing list |