Testsuite failure with GCC 4.8

Ryan Hill <[email protected]>
Newsgroups gmane.comp.compilers.ccache
Organization Gentoo
Message-ID <[email protected]>
In GCC 4.8 the preprocessor automatically includes <stdc-predef.h> in C/C++
mode. This is causing a failure in the ccache testsuite:

(see "Pre-processor pre-includes" in 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


I'm unsure if this will cause issues in practise or if it's just the test that
needs to be adjusted.


-- 
gcc-porting
toolchain, wxwidgets                                     by design, by neglect
@ gentoo.org                                     for a fact or just for effect

_______________________________________________
ccache mailing list
[email protected]
https://lists.samba.org/mailman/listinfo/ccache
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBCgAGBQJRRSi3AAoJEO04vUmVeoRjIz0H/1xmpi9SjHoDVICkWn/Tl7GH
gVZVGyEenp2hhvYks60rZBoHIe6b0W03LMtczzoNacePB5+VCl1ycJjPY+Ruznix
8dxmr/4ZvvZ8ezI7DYJZGYzLriUQE8pLBSZ1d7JDkZWX8cHKhfvpE84DqxGdNPfF
utFOg2WYPSCPxXjZqngDQcfPJfCVo8B5vOFDuIZT9ZzDVdVOVE5Kb4b8dbJVrtzb
oSlBJAmI3OkXAKeyD6LSz9KhspkNaoIvb6jsMNEcWSmOW8UM7Thte42uZdu0+uEg
A2A17fLOXog/2rtJODFAa2//nGmaeStr6tK/Utm3zrY5CBaTRyH0P9bCYRK5vYw=
=I7m2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.