This is the mail archive of the
mailing list for the GCC project.
Re: lto bootstrap fails.
- From: Trevor Saunders <tbsaunde at tbsaunde dot org>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 13 Apr 2015 12:00:13 -0400
- Subject: Re: lto bootstrap fails.
- Authentication-results: sourceware.org; auth=none
- References: <5527D737 dot 5060409 at moene dot org> <20150410151219 dot GA4555 at tsaunders-iceball dot corp dot tor1 dot mozilla dot com> <20150410152727 dot GW19273 at tucnak dot redhat dot com> <20150410233320 dot GA19873 at atrey dot karlin dot mff dot cuni dot cz> <552BE4DB dot 9000508 at moene dot org>
On Mon, Apr 13, 2015 at 05:46:35PM +0200, Toon Moene wrote:
> On 04/11/2015 01:33 AM, Jan Hubicka wrote:
> >>On Fri, Apr 10, 2015 at 11:18:39AM -0400, Trevor Saunders wrote:
> >>>On Fri, Apr 10, 2015 at 03:59:19PM +0200, Toon Moene wrote:
> >>>>Like this:
> >>>>ODR rears its head again ...
> >>> huh, why is c/c-lang.h getting included in files linked into cc1plus?
> >>> that seems strange.
> >>readelf -wl cc1plus | grep c-lang.h
> >>doesn't show anything.
> >I tried to reproduce it and my bootstrap passes with same options as Toon's
> >The following patch ought to be able to tell the particular translation unit
> >causing the conflict.
> [ Patch elided ]
> The patch applied cleanly - this is what I got as a result:
> I hope this is useful.
ok, so the problem would seem to be graphite-scop-detection.c is
including front end specific headers. Can you put a #error in cp-tree.h
and recompile graphite-scop-detection.o to see what the path to
including it is?
> Kind regards,
> Toon Moene - e-mail: email@example.com - phone: +31 346 214290
> Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
> At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
> Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news