From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) by sourceware.org (Postfix) with ESMTPS id 10C2F3857418 for ; Tue, 3 May 2022 05:30:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 10C2F3857418 Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-deb9295679so16282691fac.6 for ; Mon, 02 May 2022 22:30:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5IsCnVMh75IMvIA5SIhc4J5xHp03jFcJ70RxWMUiyAs=; b=tCV2z4M7klpEHuCbiS67Lr/Q8do7GQQXTm8dnHxdjU4RhrPPAu/IbP4v48ElayAONl Vox5zsZnw0iYGjqSh21VvUXlQIlW/VbNkA9dpWlOtUvWtos8oKR9bm4rncZQZqnEn9gw RlDpUinMErhkmKG94lSg0i6PiAN+kr56Eh4gmXGD7PctZWYv87AwNNzF1xjhidX2Qlq5 hAsK5AMfFwRaM5wmZoc/YD7EMT0lBhetgwQ8CHg5GuRKl20qrdkpHLjfCMdo3ctdoL6K nhCT88TggSZoUDf5CL6aOnojJ3TZwGOnx9P2Su+2A8Jtg7AjwE3qOlIvqnK1P+dnLhzb PePQ== X-Gm-Message-State: AOAM532qZZly3VOXjddJG+H5ob25nYrm4mU1HFNVV2+fBVNN8gcYIeKm 7lMpdWudAP3jY8RTs4UIyTT7nFAuF9gZK2OJsfb4gYZORpvsbw== X-Google-Smtp-Source: ABdhPJwoLMOY6/JxChbavnOF+lHLGI+TGtarv7EuONfqYbL69Kt4iPJ1qAgMO8kM65H8MiIbm/qLRjWN07i7Dvhkr5s= X-Received: by 2002:a05:6870:e245:b0:de:9321:9ea3 with SMTP id d5-20020a056870e24500b000de93219ea3mr1144240oac.79.1651555832211; Mon, 02 May 2022 22:30:32 -0700 (PDT) MIME-Version: 1.0 References: <17837bee5618c45e63b2a1e47faf34f87e83552b.camel@mengyan1223.wang> In-Reply-To: <17837bee5618c45e63b2a1e47faf34f87e83552b.camel@mengyan1223.wang> From: Zopolis0 Date: Tue, 3 May 2022 15:30:21 +1000 Message-ID: Subject: =?UTF-8?Q?Re=3A_libstdc=2B=2B=2Dv3_failing_to_compile_due_to_no_matchi?= =?UTF-8?Q?ng_function_for_call_to_=E2=80=98operator_new=28sizetype=2C_sizetype=29?= To: Xi Ruoyao Cc: gcc-help@gcc.gnu.org X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_LOTSOFHASH, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2022 05:30:34 -0000 Turns out it was some code from 0a0c2c3f06227d46b5e9542dfdd4e0fd2d67d894 I acidentally deleted in a rebase, fixed. On Mon, May 2, 2022 at 10:42 PM Xi Ruoyao wrote: > On Mon, 2022-05-02 at 22:07 +1000, Zopolis0 wrote: > > I've bisected the issue (which still happens with only --enable- > > languages=c,c++ instead of --enable-languages=java), > > and 0a0c2c3f06227d46b5e9542dfdd4e0fd2d67d894 is the first bad commit > > apparently. I think I've done it wrong though, and > > that 7a42b1fa1a090ead96cc0f94a8060a9650c810d5 is the breaking change. > > Again, don't guess. You can revert one of those changes or both of them > to try. As I've indicated, you can't just look the diagnostic output > from the compiler and guess "this is the relevant modification, that is > not". You are compiling libstdc++ with g++, so a change to either > libstdc++ or g++ may break the compiliation. > -- > Xi Ruoyao > School of Aerospace Science and Technology, Xidian University >