This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lto bootstrap fails.

On 04/13/2015 06:00 PM, Trevor Saunders wrote:
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?


I get this:

In file included from /home/toon/compilers/trunk/gcc/graphite-scop-detection.c:73:0:
/home/toon/compilers/trunk/gcc/cp/cp-tree.h:52:2: error: #error


Toon Moene - e-mail: - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home:; weather:
Progress of GNU Fortran:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]