Re: [gentoo-user] ccache: unsupported compiler option
I'm trying to find out why ccache won't cache anything. Building and maintaining for three months an entire system got me all of 5 cache hits. What can I do to encourace more cache usage? One of the methods I'm investigating is to determine and eliminate CFLAGS arguments that may cause 'unsupported compiler option' to be incremented. Is there anything else I can try? # ccache -s cache directory /var/tmp/ccache cache hit 5 cache miss 153 called for link14836 multiple source files 87 compile failed 2 preprocessor error 1732 bad compiler arguments 1 not a C/C++ file4774 autoconf compile/link 28079 unsupported compiler option 2569 no input file 8965 files in cache 306 cache size 4.3 Mbytes max cache size 2.5 Gbytes # grep CFLAGS /etc/make.conf CFLAGS=-march=athlon64 -mtune=athlon64 -m64 -O3 -fmessage-length=0 -pipe CXXFLAGS=${CFLAGS} Have you tried http://gentoo-wiki.com/Ccache? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ccache: unsupported compiler option
On Sat, Aug 12, 2006 at 04:33:30PM -0500, Dale wrote: [EMAIL PROTECTED] / # ccache -s cache hit 0 cache miss 0 files in cache 0 cache size 0 Kbytes max cache size 768.0 Mbytes [EMAIL PROTECTED] / # Try `CCACHE_DIR=/var/tmp/ccache ccache -s` and see if you get anything different. Justin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ccache: unsupported compiler option
Justin Findlay wrote: On Sat, Aug 12, 2006 at 04:33:30PM -0500, Dale wrote: [EMAIL PROTECTED] / # ccache -s cache hit 0 cache miss 0 files in cache 0 cache size 0 Kbytes max cache size 768.0 Mbytes [EMAIL PROTECTED] / # Try `CCACHE_DIR=/var/tmp/ccache ccache -s` and see if you get anything different. Justin Strange. [EMAIL PROTECTED] / # CCACHE_DIR=/var/tmp/ccache ccache -s cache hit 76331 cache miss157987 called for link16817 multiple source files112 compile failed 5118 preprocessor error 4269 bad compiler arguments 2 not a C/C++ file6042 autoconf compile/link 55706 unsupported compiler option 3205 no input file 23230 files in cache 59867 cache size 872.9 Mbytes max cache size 976.6 Mbytes [EMAIL PROTECTED] / # At least it is working. Now why is it not reporting it with just ccache -s like it should?? Dale :-) :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ccache: unsupported compiler option
Dale wrote: Strange. [EMAIL PROTECTED] / # CCACHE_DIR=/var/tmp/ccache ccache -s cache hit 76331 cache miss157987 called for link16817 multiple source files112 compile failed 5118 preprocessor error 4269 bad compiler arguments 2 not a C/C++ file6042 autoconf compile/link 55706 unsupported compiler option 3205 no input file 23230 files in cache 59867 cache size 872.9 Mbytes max cache size 976.6 Mbytes [EMAIL PROTECTED] / # At least it is working. Now why is it not reporting it with just ccache -s like it should?? Dale :-) :-) This helped: echo CCACHE_DIR=\/var/tmp/ccache\ /etc/env.d/99local env-update source /etc/profile Now I get this: [EMAIL PROTECTED] / # ccache -s cache hit 76331 cache miss157987 called for link16817 multiple source files112 compile failed 5118 preprocessor error 4269 bad compiler arguments 2 not a C/C++ file6042 autoconf compile/link 55706 unsupported compiler option 3205 no input file 23230 files in cache 59867 cache size 872.9 Mbytes max cache size 976.6 Mbytes [EMAIL PROTECTED] / # Dale :-) :-) -- gentoo-user@gentoo.org mailing list