From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eu-smtp-delivery-117.mimecast.com (eu-smtp-delivery-117.mimecast.com [185.58.85.117]) by sourceware.org (Postfix) with ESMTPS id 51FA1385841D for ; Thu, 25 Jan 2024 13:42:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 51FA1385841D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=syngenta.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=syngenta.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 51FA1385841D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=185.58.85.117 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706190157; cv=none; b=jG+GagRDOGBfmmFQD1phftEs+J+2YRu0FIyOhRq4igNN7scgXNqueAqxcSzNpA9OQ7czTXcdaQQu/BfKk6Z9MfY0RhpgY7QeJUImgwQEzaOLu4INt2I+gL/QeVWc8vVKUN6ZDNNo+aNF6k0sXSmQOcg+e12M9oPkJXAEPC8GfMQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706190157; c=relaxed/simple; bh=JwCqrAqPHm6RnIaG6TA4bXd4QbQYrlMxhUgwgauCMgY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=cFVfM2WkV5uJuD4+yXSyrJdpVlom15tUOtetGNKbTeUFtjtWRtEHgxlgDFCbXbpypBrQItBSHKLz4W4nIdIaEvPjPmQ1ZTxbY3QWQ898X9aDMjYjMwWLjmQ/Vqj0HrkB2rF58PJr3pN8BUsXW6SKn6m/GaUHHcqKECokz71ncAA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=syngenta.com; s=mail; t=1706190151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7Ow4RFKqJmO+kB17RQWPxNLKgsGQnTEfJlmls2qNEWE=; b=Cdz9Pp3NsgNGO5zADXNpmBMR0VEOT3OOMiJcfWXF2y8IZN04pAyTgy43AtYa/R+QnPLFVD nNkLCshTyLrvlQ92XBhnE+ONWgFZDRVrY8Z1yuF368EXNucPfFUkZfj/35EI3GlrQuVKsm sDXyasTiR4grTqnun8cRetf2wpCz8txpDPQdUm/5uUrjJN5gaczvBm5VsjhBB44EHFxg9q /owjoVVNuc1L829ImhzvuAGJrpVZ3v7Qq8GM2ocN3sBhGQGCIjwpb0LXfFsgRUIQE4K82i +CMUhq0rT727AS9MAlgmlTz88jHHlFKbtTv+Ba57+WqMuL2PlHT9GYEq5aDTrw== Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05lp2168.outbound.protection.outlook.com [104.47.17.168]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id uk-mta-228-dP7ldbxVNhWGvgYulCN0-A-1; Thu, 25 Jan 2024 13:42:24 +0000 X-MC-Unique: dP7ldbxVNhWGvgYulCN0-A-1 Received: from DU0PR05MB9333.eurprd05.prod.outlook.com (2603:10a6:10:35d::21) by DUZPR05MB10924.eurprd05.prod.outlook.com (2603:10a6:10:4ad::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.37; Thu, 25 Jan 2024 13:42:21 +0000 Received: from DU0PR05MB9333.eurprd05.prod.outlook.com ([fe80::b13e:5774:d8ed:5887]) by DU0PR05MB9333.eurprd05.prod.outlook.com ([fe80::b13e:5774:d8ed:5887%6]) with mapi id 15.20.7228.026; Thu, 25 Jan 2024 13:42:21 +0000 From: Damas Joao CHST To: Jonathan Wakely CC: "gcc-help@gcc.gnu.org" Subject: Re: Issues compiling gcc 12.3.0 Thread-Topic: Issues compiling gcc 12.3.0 Thread-Index: AQHaT3ab2HbpVs00PUmMQL05+l1QMrDqUqmAgAA1K7Q= Date: Thu, 25 Jan 2024 13:42:21 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US, en-001, pt-PT X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DU0PR05MB9333:EE_|DUZPR05MB10924:EE_ x-ms-office365-filtering-correlation-id: a3baebeb-0d83-473c-4694-08dc1dab7489 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0 x-microsoft-antispam-message-info: 8mNJhUn0CIgFhNe5pyFO9g8KQpnh+97ph7jbwRiNQLhbLn1AD1sGh6tpmmcpO+cRD7ZXLYkf/I2TnwXuXdu0hq6lhi86njA6aVEhBO+1zJZWgEO7zF2R2g/yFByjqdi69Hfs93VucTCO5Uq1j0c+NmB/isB+KpqUZVlFWkjT75Y6pdRYwnJinGyy0nhot6X866VSlP3vU6uVYDifElgVjiOZWtcDucmRClBLNc16KIcBxte5fAZhDJTKHZbHqxeK9G/bwwcA/p4VIV1o/ZONPmoKjWjblt9P4lIJwZMBJ2P8K/P/gp0Tk8qW+Lm1mhScKp/yA6dv5D9jF4r52LWev9/spwlqT3OgykDzaLXmEsHe5D/rUpqTJDVYr9Y3xyiQDqFKoiN4HUoe+LXGJ+L4s6r++sFT/joUeRYyc0az+iXgXyzOztYuSr4Tc3om1rgAU154BKHySwjUnxv1VTUuPMDSHI8CDV1ZMeLFVMfD8n0j5bP1ymkhknfbToJrdeUVBzGf948X2EGAoQah965WzIebxTqQS+nNWCEMz47TMOKDQC7S/yvc65UMDG3aFYfsA44g3PtkLnS74FbpniLBMO/yN5o9dGQ6iyYmk9CL/rYJghfXgABbD062BQabP1LwQXP/D5FXQ+qNdjh6BQFzFQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR05MB9333.eurprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(396003)(376002)(366004)(136003)(346002)(230273577357003)(230173577357003)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(19627405001)(38070700009)(55016003)(55236004)(966005)(7116003)(8676002)(5660300002)(4326008)(83380400001)(8936002)(6506007)(91956017)(316002)(71200400001)(66946007)(64756008)(6916009)(66556008)(26005)(66476007)(66446008)(478600001)(76116006)(53546011)(9686003)(7696005)(52536014)(122000001)(30864003)(41300700001)(166002)(38100700002)(2906002)(33656002)(86362001);DIR:OUT;SFP:1102 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?0bRHiIkRoyZC9NGmUujbHNP7QXWbSAm0KqRd2tu1NAxgS+QKRPNEN8v4?= =?Windows-1252?Q?pDO9pR5ZlXmUQ5b2PnA0tMd8oQTZQvbvrMb4/VwHxgdm6HVCCYrVCO2T?= =?Windows-1252?Q?k3UD3/M5LsBpa2cFlCNiSu3bfenyMznQkYeBderVgn2xK6GM0CaI8Agk?= =?Windows-1252?Q?8Hjccv92a3zAbr1zq3ILqDMjYSiEKZ+Kap2ZcegijOqbYvzJDq9GzTgi?= =?Windows-1252?Q?XZUFi/FN0WfXADnedSOzTNe0QqBe3xx6lZZv7sNv4aZwZhWoMfDbtH9t?= =?Windows-1252?Q?10rZyGGZFZH8EZy5ua+CO+e1pjVjnRsN5ffq4amLC39S7Mv8qX6GUoT5?= =?Windows-1252?Q?71Hs3fbKTHh9Au5jrRdGEGAMxwCx1uYtSTPGVQeNiiMzTuLwb/7zn2Wq?= =?Windows-1252?Q?8u/0mqzkPqGRnDemoJdSAEmsYlqs0iXRzaPWX0c1FLYWL+qAsY1tmQ4H?= =?Windows-1252?Q?wTBgUsLaaYY9I4OKD0C/TlqVe+/mYnnFTIuWvu+ZeKOb2Ud7/o3eHq6N?= =?Windows-1252?Q?HBSMKlC5YVCNEaDgvtvuGdAO/vDTK6BlgD3gJ65+TiBsrrqZVYg1rkAz?= =?Windows-1252?Q?Md8PgbqFsetcfPd+NdQGsVm6PNeMy5GJVxFz01vKOh+GcP+Dgo1pywav?= =?Windows-1252?Q?lrCpMw8hymqXAdh6cmNjt/QNahukCaqYHigV4s3YoIyeuFayelf8EuBC?= =?Windows-1252?Q?SdcknsJdVmmAqMgRGcc2W8GgyBMuZvtmoF6Jp831pcpe1a3fAi6/RsZE?= =?Windows-1252?Q?kMY1x8eEQkilXyAh2zcRI/o5C5MYMaU5o1/16oMmO61N8ypln8+7ioDO?= =?Windows-1252?Q?d18xy/+gxmaxhM3FCyH1gG3jmaCrB3qRCpEjxsJnob2CaGQD85kV088U?= =?Windows-1252?Q?colQhAXz0Mb/IHqFCe/cNDJ+FRfEzhqi+Rx9UTXYJW58g19juCFNI+XU?= =?Windows-1252?Q?5cBgGZp1S2Ci4SV0fNzBAISJYszXFeuzmaqg/pGY8gupGUikgLbleVXr?= =?Windows-1252?Q?4lgspfAeMs/xBbBcMoIgx7l1A5+bd5sP8IT8J/nafetQrkVk7tjjU4IA?= =?Windows-1252?Q?ToWH2cwgGSggH9r+8FvWKyzvvedsUzITNJ9IVk/UCdlqJxV4hV+wFiri?= =?Windows-1252?Q?yNKFU+jBu1dEK5HWTu3p9ABI7jjm95b3CxoYRSNhyGaSmsfSUbeB2iOp?= =?Windows-1252?Q?tQ5UboKMYNcYwKndNClm4Qt/WLE/0dufSAiNg4HEsDeV053TsPklp5dC?= =?Windows-1252?Q?CewH3f2itNdmT+MNsgD1BpYmFTNZKDr9wXLNXS1C/wY9a7iUYTQ1k/Zk?= =?Windows-1252?Q?Kfi228AX3mcudzI9S+LFZr17n6QK+t+y9TPnIj5+SDK5nOr9W/AzeUl7?= =?Windows-1252?Q?GhV7806gl6ej4T6F6PSSNKSw3MWBOrKkrz722Z9D0vJgfF/pWTim7t8u?= =?Windows-1252?Q?zha3/YfOka3zlXdnlkSNr34WbZAhxwEj6052ID3KjC9r/rXKMqKkOIb+?= =?Windows-1252?Q?oxBB1auVi2gaAZ8oHqD0bnayX4UWQEhbkoF3wtcLduhTPQJ5yX4sUjOT?= =?Windows-1252?Q?3Wa9x2iVZhy24KA8zunIgn0Qm0cPH+tY+OOs8ddIheEJEbDyFvWY3m0o?= =?Windows-1252?Q?JMCEnTQ1AuGXKSY2ZCw4iMNwV3XzvHvyzBNvcCd5hooqMSKPUKcQgDAg?= =?Windows-1252?Q?Qj+5GRPxhpSjlCh3B3EpPpkVDgR9zJY4?= MIME-Version: 1.0 X-OriginatorOrg: syngenta.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU0PR05MB9333.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a3baebeb-0d83-473c-4694-08dc1dab7489 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2024 13:42:21.1081 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 06219a4a-a835-44d5-afaf-3926343bfb89 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: QNPiPJq6186Mq69xYftHekyZVAEv+5JSDzYxEEO4eQJnPG1SrlCQohcLwuWxqAiDVUSF2n5HTSSlBozXrc3A/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR05MB10924 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: syngenta.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DU0PR05MB9333A3DE4FBDD7450A65F183F77A2DU0PR05MB9333eurp_" X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,KAM_NUMSUBJECT,KAM_SHORT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --_000_DU0PR05MB9333A3DE4FBDD7450A65F183F77A2DU0PR05MB9333eurp_ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Johathan, Thank you very much for your kind answer. When building, I am doing it in a new directory, and calling configure and = make from it, as recommended in the documentation. The only flags I'm passing during configure is prefix and disable-multilib.= The rest I am keeping as default. For make, I am passing no flags except -= j. Jo=C3=A3o ________________________________ From: Jonathan Wakely Sent: Thursday, January 25, 2024 11:25 To: Damas Joao CHST Cc: gcc-help@gcc.gnu.org Subject: Re: Issues compiling gcc 12.3.0 CAUTION: This email originated from outside of the organization. Do not cli= ck links or open attachments unless you recognize the sender and know the c= ontent is safe. On Thu, 25 Jan 2024 at 10:21, Damas Joao CHST via Gcc-help wrote: > > Hi, > > I am following a recipe I already had working for gcc 12.1.0 and trying t= o install 12.3.0 from source, and I am facing the following: > > libtool: compile: /tmp/tmp-gcc-12.3.0/source/build/./gcc/xgcc -shared-lib= gcc -B/tmp/tmp-gcc-12.3.0/source/build/./gcc -nostdinc++ -L/tmp/tmp-gcc-12.= 3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/tmp/tmp-gcc-12.3.0= /source/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/tmp/tmp-gcc-12.= 3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/progs/= all/opensource/gcc/12.3.0/x86_64-pc-linux-gnu/bin/ -B/progs/all/opensource/= gcc/12.3.0/x86_64-pc-linux-gnu/lib/ -isystem /progs/all/opensource/gcc/12.3= .0/x86_64-pc-linux-gnu/include -isystem /progs/all/opensource/gcc/12.3.0/x8= 6_64-pc-linux-gnu/sys-include -fno-checking -I/tmp/tmp-gcc-12.3.0/source/li= bstdc++-v3/../libgcc -I/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-linux-gnu= /libstdc++-v3/include/x86_64-pc-linux-gnu -I/tmp/tmp-gcc-12.3.0/source/buil= d/x86_64-pc-linux-gnu/libstdc++-v3/include -I/tmp/tmp-gcc-12.3.0/source/lib= stdc++-v3/libsupc++ -std=3Dgnu++98 -D_GLIBCXX_SHARED -fno-implicit-template= s -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=3D2 -fdiagnostics-show-lo= cation=3Donce -ffunction-sections -fdata-sections -frandom-seed=3Dlocale_fa= cets.lo -g -fvisibility-inlines-hidden -std=3Dc++17 -fmessage-length=3D0 -m= arch=3Dnocona -mtune=3Dhaswell -ftree-vectorize -fPIC -fstack-protector-str= ong -fno-plt -O2 -ffunction-sections -pipe -D_GNU_SOURCE -c ../../../../../= libstdc++-v3/src/c++98/locale_facets.cc -fPIC -DPIC -D_GLIBCXX_SHARED -o lo= cale_facets.o > libtool: compile: /tmp/tmp-gcc-12.3.0/source/build/./gcc/xgcc -shared-lib= gcc -B/tmp/tmp-gcc-12.3.0/source/build/./gcc -nostdinc++ -L/tmp/tmp-gcc-12.= 3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/tmp/tmp-gcc-12.3.0= /source/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/tmp/tmp-gcc-12.= 3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/progs/= all/opensource/gcc/12.3.0/x86_64-pc-linux-gnu/bin/ -B/progs/all/opensource/= gcc/12.3.0/x86_64-pc-linux-gnu/lib/ -isystem /progs/all/opensource/gcc/12.3= .0/x86_64-pc-linux-gnu/include -isystem /progs/all/opensource/gcc/12.3.0/x8= 6_64-pc-linux-gnu/sys-include -fno-checking -I/tmp/tmp-gcc-12.3.0/source/li= bstdc++-v3/../libgcc -I/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-linux-gnu= /libstdc++-v3/include/x86_64-pc-linux-gnu -I/tmp/tmp-gcc-12.3.0/source/buil= d/x86_64-pc-linux-gnu/libstdc++-v3/include -I/tmp/tmp-gcc-12.3.0/source/lib= stdc++-v3/libsupc++ -std=3Dgnu++98 -D_GLIBCXX_SHARED -fno-implicit-template= s -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=3D2 -fdiagnostics-show-lo= cation=3Donce -ffunction-sections -fdata-sections -frandom-seed=3Dlocale_in= it.lo -g -fvisibility-inlines-hidden -std=3Dc++17 -fmessage-length=3D0 -mar= ch=3Dnocona -mtune=3Dhaswell -ftree-vectorize -fPIC -fstack-protector-stron= g -fno-plt -O2 -ffunction-sections -pipe -D_GNU_SOURCE -std=3Dgnu++11 -fcha= r8_t -c ../../../../../libstdc++-v3/src/c++98/locale_init.cc -fPIC -DPIC -D= _GLIBCXX_SHARED -o locale_init.o > ../../../../../libstdc++-v3/src/c++98/bitmap_allocator.cc:51:23: error: I= SO C++17 does not allow dynamic exception specifications > 51 | _M_get(size_t __sz) throw(std::bad_alloc) > | ^~~~~ > libtool: compile: /tmp/tmp-gcc-12.3.0/source/build/./gcc/xgcc -shared-lib= gcc -B/tmp/tmp-gcc-12.3.0/source/build/./gcc -nostdinc++ -L/tmp/tmp-gcc-12.= 3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/tmp/tmp-gcc-12.3.0= /source/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/tmp/tmp-gcc-12.= 3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/progs/= all/opensource/gcc/12.3.0/x86_64-pc-linux-gnu/bin/ -B/progs/all/opensource/= gcc/12.3.0/x86_64-pc-linux-gnu/lib/ -isystem /progs/all/opensource/gcc/12.3= .0/x86_64-pc-linux-gnu/include -isystem /progs/all/opensource/gcc/12.3.0/x8= 6_64-pc-linux-gnu/sys-include -fno-checking -I/tmp/tmp-gcc-12.3.0/source/li= bstdc++-v3/../libgcc -I/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-linux-gnu= /libstdc++-v3/include/x86_64-pc-linux-gnu -I/tmp/tmp-gcc-12.3.0/source/buil= d/x86_64-pc-linux-gnu/libstdc++-v3/include -I/tmp/tmp-gcc-12.3.0/source/lib= stdc++-v3/libsupc++ -std=3Dgnu++98 -D_GLIBCXX_SHARED -fno-implicit-template= s -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=3D2 -fdiagnostics-show-lo= cation=3Donce -ffunction-sections -fdata-sections -frandom-seed=3Dlocalenam= e.lo -g -fvisibility-inlines-hidden -std=3Dc++17 -fmessage-length=3D0 -marc= h=3Dnocona -mtune=3Dhaswell -ftree-vectorize -fPIC -fstack-protector-strong= -fno-plt -O2 -ffunction-sections -pipe -D_GNU_SOURCE -std=3Dgnu++11 -fchar= 8_t -c ../../../../../libstdc++-v3/src/c++98/localename.cc -fPIC -DPIC -D_G= LIBCXX_SHARED -o localename.o > libtool: compile: /tmp/tmp-gcc-12.3.0/source/build/./gcc/xgcc -shared-lib= gcc -B/tmp/tmp-gcc-12.3.0/source/build/./gcc -nostdinc++ -L/tmp/tmp-gcc-12.= 3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/tmp/tmp-gcc-12.3.0= /source/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/tmp/tmp-gcc-12.= 3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/progs/= all/opensource/gcc/12.3.0/x86_64-pc-linux-gnu/bin/ -B/progs/all/opensource/= gcc/12.3.0/x86_64-pc-linux-gnu/lib/ -isystem /progs/all/opensource/gcc/12.3= .0/x86_64-pc-linux-gnu/include -isystem /progs/all/opensource/gcc/12.3.0/x8= 6_64-pc-linux-gnu/sys-include -fno-checking -I/tmp/tmp-gcc-12.3.0/source/li= bstdc++-v3/../libgcc -I/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-linux-gnu= /libstdc++-v3/include/x86_64-pc-linux-gnu -I/tmp/tmp-gcc-12.3.0/source/buil= d/x86_64-pc-linux-gnu/libstdc++-v3/include -I/tmp/tmp-gcc-12.3.0/source/lib= stdc++-v3/libsupc++ -std=3Dgnu++98 -D_GLIBCXX_SHARED -fno-implicit-template= s -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=3D2 -fdiagnostics-show-lo= cation=3Donce -ffunction-sections -fdata-sections -frandom-seed=3Dmath_stub= s_float.lo -g -fvisibility-inlines-hidden -std=3Dc++17 -fmessage-length=3D0= -march=3Dnocona -mtune=3Dhaswell -ftree-vectorize -fPIC -fstack-protector-= strong -fno-plt -O2 -ffunction-sections -pipe -D_GNU_SOURCE -c ../../../../= ../libstdc++-v3/src/c++98/math_stubs_float.cc -fPIC -DPIC -D_GLIBCXX_SHARED= -o math_stubs_float.o > /bin/sh ../../libtool --tag CXX --tag disable-shared --mode=3Dcompile /tm= p/tmp-gcc-12.3.0/source/build/./gcc/xgcc -shared-libgcc -B/tmp/tmp-gcc-12.3= .0/source/build/./gcc -nostdinc++ -L/tmp/tmp-gcc-12.3.0/source/build/x86_64= -pc-linux-gnu/libstdc++-v3/src -L/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc= -linux-gnu/libstdc++-v3/src/.libs -L/tmp/tmp-gcc-12.3.0/source/build/x86_64= -pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/progs/all/opensource/gcc/12.3= .0/x86_64-pc-linux-gnu/bin/ -B/progs/all/opensource/gcc/12.3.0/x86_64-pc-li= nux-gnu/lib/ -isystem /progs/all/opensource/gcc/12.3.0/x86_64-pc-linux-gnu/= include -isystem /progs/all/opensource/gcc/12.3.0/x86_64-pc-linux-gnu/sys-i= nclude -fno-checking -I/tmp/tmp-gcc-12.3.0/source/libstdc++-v3/../libgcc -I= /tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x= 86_64-pc-linux-gnu -I/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-linux-gnu/l= ibstdc++-v3/include -I/tmp/tmp-gcc-12.3.0/source/libstdc++-v3/libsupc++ -st= d=3Dgnu++98 -prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -We= xtra -Wwrite-strings -Wcast-qual -Wabi=3D2 -fdiagnostics-show-location=3Don= ce -ffunction-sections -fdata-sections -frandom-seed=3Dmath_stubs_long_doub= le.lo -g -fvisibility-inlines-hidden -std=3Dc++17 -fmessage-length=3D0 -mar= ch=3Dnocona -mtune=3Dhaswell -ftree-vectorize -fPIC -fstack-protector-stron= g -fno-plt -O2 -ffunction-sections -pipe -D_GNU_SOURCE -c -o math_stubs_lon= g_double.lo ../../../../../libstdc++-v3/src/c++98/math_stubs_long_double.cc > make[6]: *** [bitmap_allocator.lo] Error 1 > make[6]: *** Waiting for unfinished jobs.... > libtool: compile: /tmp/tmp-gcc-12.3.0/source/build/./gcc/xgcc -shared-lib= gcc -B/tmp/tmp-gcc-12.3.0/source/build/./gcc -nostdinc++ -L/tmp/tmp-gcc-12.= 3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/tmp/tmp-gcc-12.3.0= /source/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/tmp/tmp-gcc-12.= 3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/progs/= all/opensource/gcc/12.3.0/x86_64-pc-linux-gnu/bin/ -B/progs/all/opensource/= gcc/12.3.0/x86_64-pc-linux-gnu/lib/ -isystem /progs/all/opensource/gcc/12.3= .0/x86_64-pc-linux-gnu/include -isystem /progs/all/opensource/gcc/12.3.0/x8= 6_64-pc-linux-gnu/sys-include -fno-checking -I/tmp/tmp-gcc-12.3.0/source/li= bstdc++-v3/../libgcc -I/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-linux-gnu= /libstdc++-v3/include/x86_64-pc-linux-gnu -I/tmp/tmp-gcc-12.3.0/source/buil= d/x86_64-pc-linux-gnu/libstdc++-v3/include -I/tmp/tmp-gcc-12.3.0/source/lib= stdc++-v3/libsupc++ -std=3Dgnu++98 -D_GLIBCXX_SHARED -fno-implicit-template= s -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=3D2 -fdiagnostics-show-lo= cation=3Donce -ffunction-sections -fdata-sections -frandom-seed=3Dmath_stub= s_long_double.lo -g -fvisibility-inlines-hidden -std=3Dc++17 -fmessage-leng= th=3D0 -march=3Dnocona -mtune=3Dhaswell -ftree-vectorize -fPIC -fstack-prot= ector-strong -fno-plt -O2 -ffunction-sections -pipe -D_GNU_SOURCE -c ../../= ../../../libstdc++-v3/src/c++98/math_stubs_long_double.cc -fPIC -DPIC -D_GL= IBCXX_SHARED -o math_stubs_long_double.o > ../../../../../libstdc++-v3/src/c++98/ios_locale.cc:59:12: error: templat= e-id =E2=80=98operator bool<>=E2=80=99 for =E2=80=98std::basic_ios::o= perator void*() const=E2=80=99 does not match any template declaration > 59 | template basic_ios::operator void*() const; > | ^~~~~~~~~~~~~~~ > In file included from /tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-linux-gn= u/libstdc++-v3/include/ios:44, > from ../../../../../libstdc++-v3/src/c++98/ios_locale.cc:29: > /tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/include= /bits/basic_ios.h:117:16: note: candidate is: =E2=80=98std::basic_ios<_Char= T, _Traits>::operator bool() const [with _CharT =3D char; _Traits =3D std::= char_traits]=E2=80=99 > 117 | explicit operator bool() const > | ^~~~~~~~ > ../../../../../libstdc++-v3/src/c++98/ios_locale.cc:61:12: error: templat= e-id =E2=80=98operator bool<>=E2=80=99 for =E2=80=98std::basic_ios= ::operator void*() const=E2=80=99 does not match any template declaration > 61 | template basic_ios::operator void*() const; > | ^~~~~~~~~~~~~~~~~~ > /tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-linux-gnu/libstdc++-v3/include= /bits/basic_ios.h:117:16: note: candidate is: =E2=80=98std::basic_ios<_Char= T, _Traits>::operator bool() const [with _CharT =3D wchar_t; _Traits =3D st= d::char_traits]=E2=80=99 > 117 | explicit operator bool() const > | ^~~~~~~~ > make[6]: *** [ios_locale.lo] Error 1 > make[6]: Leaving directory `/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-li= nux-gnu/libstdc++-v3/src/c++98' > make[5]: *** [all-recursive] Error 1 > make[5]: Leaving directory `/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-li= nux-gnu/libstdc++-v3/src' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-li= nux-gnu/libstdc++-v3' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/tmp/tmp-gcc-12.3.0/source/build/x86_64-pc-li= nux-gnu/libstdc++-v3' > make[2]: *** [all-stage1-target-libstdc++-v3] Error 2 > make[2]: Leaving directory `/tmp/tmp-gcc-12.3.0/source/build' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory `/tmp/tmp-gcc-12.3.0/source/build' > make: *** [all] Error 2 > > I'm using CentOS 7.9 (old OS, I am aware) and the following setup: > > configure \ > --prefix=3D \ > --disable-multilib Also, if you're running configure in the source tree, please stop doing tha= t. https://gcc.gnu.org/wiki/InstallingGCC has details and links explaining it. This message may contain confidential information. If you are not the desig= nated recipient, please notify the sender immediately, and delete the origi= nal and any copies. Any use of the message by you is prohibited. --_000_DU0PR05MB9333A3DE4FBDD7450A65F183F77A2DU0PR05MB9333eurp_--