From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72810 invoked by alias); 13 Jun 2018 11:42:31 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 72364 invoked by uid 89); 13 Jun 2018 11:42:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,KAM_NUMSUBJECT,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*f:sk:a0afd6a, H*f:sk:0cae65f, H*i:sk:0cae65f, H*Ad:D*oracle.com X-Spam-User: qpsmtpd, 2 recipients X-HELO: userp2120.oracle.com Received: from userp2120.oracle.com (HELO userp2120.oracle.com) (156.151.31.85) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Jun 2018 11:42:29 +0000 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5DBd7Ir009403; Wed, 13 Jun 2018 11:42:26 GMT Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2jk0xr8b37-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Jun 2018 11:42:26 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5DBgPeb014688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Jun 2018 11:42:26 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5DBgP7H007373; Wed, 13 Jun 2018 11:42:25 GMT Received: from [192.168.1.4] (/87.11.64.97) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 13 Jun 2018 04:42:25 -0700 Subject: Re: libstdc++ bootstrap failure after r261525 To: =?UTF-8?Q?Fran=c3=a7ois_Dumont?= , Martin Sebor , GCC Mailing List , libstdc++ References: <0cae65f3-5f7a-b9d9-4e74-8ef17b53248d@gmail.com> From: Paolo Carlini Message-ID: <16a6c14b-48e7-4045-3a9a-284e8ce16587@oracle.com> Date: Wed, 13 Jun 2018 13:24:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <0cae65f3-5f7a-b9d9-4e74-8ef17b53248d@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8922 signatures=668702 X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00156.txt.bz2 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.