This is an issue related to the automatic including of <stdc-predef.h> by the preprocessor (see http://gcc.gnu.org/gcc-4.8/porting_to.html). CC='x86_64-pc-linux-gnu-gcc' ./test.sh starting testsuite base starting testsuite link starting testsuite hardlink starting testsuite cpp2 starting testsuite nlevels4 starting testsuite nlevels1 starting testsuite basedir starting testsuite direct SUITE: "direct", TEST: "-Wp,-MD" - Bad content of other.d.\nExpected: test.o: test.c test1.h test3.h test2.h\nActual: test.o: test.c /usr/include/stdc-predef.h test1.h test3.h test2.h cache directory /var/tmp/portage/dev-util/ccache-3.1.9/work/ccache-3.1.9/testdir.32181/.ccache cache hit (direct) 0 cache hit (preprocessed) 0 cache miss 1 files in cache 15 cache size 60 Kbytes max cache size 1.0 Gbytes TEST FAILED Test data and log file have been left in testdir.32181 make: *** [test] Error 1
should be all set now in the tree; thanks for the report! Commit message: Add fix from upstream for tests w/gcc-3.8 http://sources.gentoo.org/dev-util/ccache/ccache-3.1.9.ebuild?r1=1.12&r2=1.13 http://sources.gentoo.org/dev-util/ccache/files/ccache-3.1.9-test-gcc-3.8.patch?rev=1.1