From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by sourceware.org (Postfix) with ESMTPS id AB0E33858C50 for ; Mon, 2 May 2022 09:20:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AB0E33858C50 Received: by mail-oi1-x232.google.com with SMTP id e189so14657781oia.8 for ; Mon, 02 May 2022 02:20:25 -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:from:date:message-id:subject:to; bh=9EclswfKE7NAbm29raHXBOV1WWgVlZkMm622H2+FGYI=; b=XB1N4Jcd7rGoSnKFQtrRVCsTLVkLk0k4SX8tENozM6su+OJY9MskSUklw4TqYFxgPa 5Z1pIOg9lWi7aGLPJuTSal+QEc9l7lSoPi9veXTNu82eZV0M+fY4mN5Ut0yI96dWXE6w k+DsfI8bjd3UrfzjoM7NbzE7wrPjB94uGLdkUiS3d/qj0r3SEbCP8kpUMFTXzS4JmXey 322plVbEHf8mlH02I1lftHKtPG0R0y8x/0/7LRW77Rrozgh6OA9VEfVMuXYg5G6R/F4j dlVoeTo+ewb+gAS32WM0OG+cLbITB3PkVHT8BEP0kD9jUEDZdEWDi2qj0yS8L9P4VSWF 2QEQ== X-Gm-Message-State: AOAM532Ajd8Tvt2epxBOOa9rR3yz9QMOjiF7tM8S6TyUoAr4HBmPjlUu f2MHJ8mONjSa77Jp0S9BUQtygomGOdoLdkJ6Gx3Q6CxGawA3Mg== X-Google-Smtp-Source: ABdhPJzGcrb6CEcQ5p+nQ/AflJBQEgvydo0Be3vBDWSGaBPUJenutG7eCioWbc/ZqjKh6Ll1AZxZaKH/7Rj81Pn5CHQ= X-Received: by 2002:a05:6808:30a2:b0:325:e7a2:f3bc with SMTP id bl34-20020a05680830a200b00325e7a2f3bcmr3117063oib.79.1651483224600; Mon, 02 May 2022 02:20:24 -0700 (PDT) MIME-Version: 1.0 From: Zopolis0 Date: Mon, 2 May 2022 19:20:14 +1000 Message-ID: Subject: =?UTF-8?Q?libstdc=2B=2B=2Dv3_failing_to_compile_due_to_no_matching_f?= =?UTF-8?Q?unction_for_call_to_=E2=80=98operator_new=28sizetype=2C_sizetype=29?= To: gcc-help@gcc.gnu.org X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, 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-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Mon, 02 May 2022 09:20:27 -0000 While trying to compile gcj, it breaks on a number of errors, many of which are along the lines of "no matching function for call to =E2=80=98operator new(sizetype, sizetype)". However, I have not touched this code, and this error does not appear on another branch which is a few months back from master. This leads me to believe that this is an error present on master, although I have not yet been able to locate the breaking commit. (Example of one such error:) In file included from /home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/local= e_classes.h:857, from /home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/ios_b= ase.h:41, from /home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/ios:42, from /home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/istream:38= , from /home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/sstream:38= , from /home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/complex:45= , from /home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/ccomplex:3= 9, from /home/zopolis4/gcj/libstdc++-v3/include/precompiled/stdc++.h:54: /home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/local= e_classes.tcc: In constructor =E2=80=98std::locale::locale(const std::locale&, _Facet*)=E2= =80=99: /home/zopolis4/gcjbuild/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/local= e_classes.tcc:47:46: error: no matching function for call to =E2=80=98operator new(sizetype, siz= etype)=E2=80=99 47 | _M_impl =3D new _Impl(*__other._M_impl, 1); | ^