Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461966 - dev-util/ccache-3.1.9 fails tests with GCC 4.8
Summary: dev-util/ccache-3.1.9 fails tests with GCC 4.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://www.mail-archive.com/ccache@li...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.8
  Show dependency tree
 
Reported: 2013-03-17 02:05 UTC by Ryan Hill (RETIRED)
Modified: 2013-12-23 13:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2013-03-17 02:05:04 UTC
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
Comment 1 SpanKY gentoo-dev 2013-03-23 09:10:30 UTC
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