libstdc++ bootstrap failure after r261525

Paolo Carlini paolo.carlini@oracle.com
Wed Jun 13 13:24:00 GMT 2018


Hi,

On 13/06/2018 08:11, François Dumont wrote:
> On 12/06/2018 23:26, Martin Sebor wrote:
>> Bootstrap fails in libstdc++ with the following error.
>> I haven't investigated it much except to take a peek
>> at recent libstdc++ commits where r261525 looks like it
>> introduced __glibcxx_check_can_increment_range, so it
>> seems like it might have something to do with it.  I don't
>> see a __glibcxx_requires_can_increment_range macro defined
>> anywhere in the patch so maybe it's a typo?  Francois, can
>> you please see what's going on?
>>
>> /opt/notnfs/msebor/build/gcc-86114/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/stl_algobase.h:452:45: 
>> error: ‘__glibcxx_requires_can_increment_range’ was not declared in 
>> this scope
>>        __glibcxx_requires_can_increment_range(__first, __last, 
>> __result);
>>
>> Thanks
>> Martin
>> .
>>
> I had missed the fact that the patch didn't apply correctly on 
> include/debug/debug.h as stated in the ChangeLog entry.
>
> It is fixed now.
But even after r261537 we are seeing the regressions:

FAIL: g++.dg/warn/pr31246.C -std=gnu++11 (test for excess errors)
FAIL: g++.dg/warn/pr31246.C -std=gnu++14 (test for excess errors)
FAIL: g++.dg/warn/pr31246.C -std=gnu++98 (test for excess errors)

Which definitely are related.

Paolo.



More information about the Gcc mailing list