1 |
Justin Findlay wrote: |
2 |
> I'm trying to find out why ccache won't cache anything. Building and |
3 |
> maintaining for three months an entire system got me all of 5 cache |
4 |
> hits. What can I do to encourace more cache usage? One of the methods |
5 |
> I'm investigating is to determine and eliminate CFLAGS arguments that |
6 |
> may cause 'unsupported compiler option' to be incremented. Is there |
7 |
> anything else I can try? |
8 |
> |
9 |
> # ccache -s |
10 |
> cache directory /var/tmp/ccache |
11 |
> cache hit 5 |
12 |
> cache miss 153 |
13 |
> called for link 14836 |
14 |
> multiple source files 87 |
15 |
> compile failed 2 |
16 |
> preprocessor error 1732 |
17 |
> bad compiler arguments 1 |
18 |
> not a C/C++ file 4774 |
19 |
> autoconf compile/link 28079 |
20 |
> unsupported compiler option 2569 |
21 |
> no input file 8965 |
22 |
> files in cache 306 |
23 |
> cache size 4.3 Mbytes |
24 |
> max cache size 2.5 Gbytes |
25 |
> |
26 |
> # grep CFLAGS /etc/make.conf |
27 |
> CFLAGS="-march=athlon64 -mtune=athlon64 -m64 -O3 -fmessage-length=0 -pipe" |
28 |
> CXXFLAGS="${CFLAGS}" |
29 |
> |
30 |
> |
31 |
> Justin |
32 |
> |
33 |
|
34 |
Well, I have been using mine longer than that. I have even done a |
35 |
emerge -e world a couple times. |
36 |
|
37 |
> root@smoker / # ccache -s |
38 |
> cache hit 0 |
39 |
> cache miss 0 |
40 |
> files in cache 0 |
41 |
> cache size 0 Kbytes |
42 |
> max cache size 768.0 Mbytes |
43 |
> root@smoker / # |
44 |
|
45 |
Looks like you are not alone. |
46 |
|
47 |
Dale |
48 |
|
49 |
:-) :-) |
50 |
-- |
51 |
gentoo-user@g.o mailing list |