lto bootstrap fails.

Toon Moene toon@moene.org
Tue Apr 14 06:09:00 GMT 2015


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:
>>>>>>
>>>>>> https://gcc.gnu.org/ml/gcc-testresults/2015-04/msg01086.html
>>>>>>
>>>>>> 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:
>>
>> https://gcc.gnu.org/ml/gcc-testresults/2015-04/msg01450.html
>>
>> 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?
>
> Trev

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
  #error
   ^

(See https://gcc.gnu.org/ml/gcc-testresults/2015-04/msg01493.html)

-- 
Toon Moene - e-mail: toon@moene.org - 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



More information about the Gcc mailing list