Re: Testsuite failure with GCC 4.8
Joel Rosdahl <[email protected]>
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <CAK8D=pi1tkrT_uRP11_UbaXimnz89kur_rcWQcdTzGHO3y2+5A@mail.gmail.com> |
> 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 <[email protected]> wrote: > On Wed, 20 Mar 2013 22:33:57 +0100 > Joel Rosdahl <[email protected]> wrote: > > > On 17 March 2013 03:21, Ryan Hill <[email protected]> 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 > [email protected] > https://lists.samba.org/mailman/listinfo/ccache > >