[ccache] Testsuite failure with GCC 4.8

Joel Rosdahl joel at rosdahl.net
Wed May 1 12:50:02 MDT 2013


> Almost.  It looks like -MMD disables this behaviour so now that
particular test
> fails in the opposite way.

Have you tried latest maint or master? In particular, see
http://gitweb.samba.org/?p=ccache.git;a=commit;h=5a9322c56ed0cd16255966e99077843aae57ab3e
 and
http://gitweb.samba.org/?p=ccache.git;a=commit;h=a11f5688748ecb49f590b3f4bc0e9b3458f9a56f
.

-- Joel


On 24 April 2013 07:45, Ryan Hill <dirtyepic at gentoo.org> wrote:

> On Wed, 20 Mar 2013 22:33:57 +0100
> Joel Rosdahl <joel at rosdahl.net> wrote:
>
> > On 17 March 2013 03:21, Ryan Hill <dirtyepic at gentoo.org> wrote:
> > > In GCC 4.8 the preprocessor automatically includes <stdc-predef.h> in
> C/C++
> > > mode. This is causing a failure in the ccache testsuite: [...]
> >
> > Thanks for the notice. I believe I have fixed it now:
> >
> http://gitweb.samba.org/?p=ccache.git;a=commit;h=b5d63f81c1a83fd4c50b769a96a04f581b7db70c
>
> Almost.  It looks like -MMD disables this behaviour so now that particular
> test
> fails in the opposite way.
>
> $ gcc-4.8.0 -c -Wp,-MD,expected.d test.c && cat expected.d
> test.o: test.c /usr/include/stdc-predef.h test1.h test3.h test2.h
>
> $ gcc-4.8.0 -c -Wp,-MMD,expected.d test.c && cat expected.d
> test.o: test.c test1.h test3.h test2.h
>
>
> --
> gcc-porting
> toolchain, wxwidgets
> @ gentoo.org
>
> _______________________________________________
> ccache mailing list
> ccache at lists.samba.org
> https://lists.samba.org/mailman/listinfo/ccache
>
>


More information about the ccache mailing list