From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 07:13:44 2020 Received: (at submit) by debbugs.gnu.org; 10 Mar 2020 11:13:44 +0000 Received: from localhost ([127.0.0.1]:51944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBcpO-0000Tx-0m for submit@debbugs.gnu.org; Tue, 10 Mar 2020 07:13:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:45094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBcpJ-0000Tn-JF for submit@debbugs.gnu.org; Tue, 10 Mar 2020 07:13:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42230) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBcpI-0005xw-A5 for guix-patches@gnu.org; Tue, 10 Mar 2020 07:13:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBcpH-0004GF-6P for guix-patches@gnu.org; Tue, 10 Mar 2020 07:13:32 -0400 Received: from flashner.co.il ([178.62.234.194]:52520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jBcpG-000375-DC for guix-patches@gnu.org; Tue, 10 Mar 2020 07:13:31 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 1261B400E5 for ; Tue, 10 Mar 2020 11:12:58 +0000 (UTC) Date: Tue, 10 Mar 2020 13:12:27 +0200 From: Efraim Flashner To: guix-patches@gnu.org Subject: [core-updates PATCH]: Use per-architecture GCC for libstdc++-boot0 Message-ID: <20200310111227.GX1423@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="POjlveFHrWq2ZO+N" Content-Disposition: inline X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 178.62.234.194 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --POjlveFHrWq2ZO+N Content-Type: multipart/mixed; boundary="AdjLlRqdF7kYRNze" Content-Disposition: inline --AdjLlRqdF7kYRNze Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've tested this on aarch64 and there were no problems. It also provides a nice framework for other architectures as they become supported. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --AdjLlRqdF7kYRNze Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-libstdc-boot0-Use-per-architecture-gcc-versions.patch" Content-Transfer-Encoding: quoted-printable =46rom 4506c48da7df4397d459337988adbdd54c0d440d Mon Sep 17 00:00:00 2001 =46rom: Efraim Flashner Date: Thu, 13 Feb 2020 10:47:34 +0200 Subject: [PATCH 1/2] gnu: libstdc++-boot0: Use per-architecture gcc version= s. * gnu/packages/commencement.scm (libstdc++-boot0): Use a version of gcc more closely tied to their bootstrap process. --- gnu/packages/commencement.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 2a0a83ad49..b5cb08a19a 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -3,7 +3,7 @@ ;;; Copyright =C2=A9 2014 Andreas Enge ;;; Copyright =C2=A9 2012 Nikita Karetnikov ;;; Copyright =C2=A9 2014, 2015, 2017 Mark H Weaver -;;; Copyright =C2=A9 2017, 2018, 2019 Efraim Flashner +;;; Copyright =C2=A9 2017, 2018, 2019, 2020 Efraim Flashner ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Jan (janneke) Nieuwenhuizen ;;; Copyright =C2=A9 2019 Marius Bakke @@ -1427,9 +1427,12 @@ exec " gcc "/bin/" program (define libstdc++-boot0 ;; GCC's libcc1 is always built as a shared library (the top-level ;; 'Makefile.def' forcefully adds --enable-shared) and thus needs to ref= er - ;; to libstdc++.so. We cannot build libstdc++-5.3 because it relies on - ;; C++14 features missing in some of our bootstrap compilers. - (let ((lib (make-libstdc++ gcc-4.9))) + ;; to libstdc++.so. We therefore use a version of GCC which most closely + ;; matches the bootstrap compiler of that architecture. + (let ((lib (make-libstdc++ + (match (%current-system) + ("aarch64-linux" gcc-5) + (_ gcc-4.9))))) (package (inherit lib) (source (bootstrap-origin (package-source lib))) --=20 2.25.0 --AdjLlRqdF7kYRNze-- --POjlveFHrWq2ZO+N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl5ndhsACgkQQarn3Mo9 g1FUyQ/+IE3W2nA8awkl0Qn6SSZZvp2oA3tinfg7uQ7FUMn9VZc6HKynnODEXKGq P5RZ9XH2tXrlEUAHF0JUTgiWYF5yi6M0pmuYyKRh7GzmqoHZ5tHNbNjVpKajFYz3 ysUyySnErAtzQQOJs8mrzv/UitBFLG/Iit82I898O5zazGPqLRGowkEkQdacJ+O0 HTbtHIRqOGmXcpDTNHNQTwe35rEoaVsSt+c+G8F3E7Dsh6VTHSAtc93hhPTDVRW+ fcBvJE4x4Xvj4S5p3nL+4Hr/gNH08JpEtqiaIjv5MyabjZwK09864CvqGHJf8dqN lLBBSRUcfozyq+1K0SCLVsSeG8lcFut2lRxq2o1Tm18MPtD8Zr3VJcAyiw6Duktw wGiCNB0GGaCqOMtCC7rqR8v2FmN0hIzO8GBaCTVVZ+QbOrcAneYlqP5tiajTaWgB 0fzSu5RBBrAiypIajY07SE5lBKwMRY8u1k1NhHRYWtA0Sx4mHdOkaTLcarmvnS/X eipJe5bNEtOkeVOCYT2hHFOqWgrCKX43SX/YI8E4ceQMwaUNbdb2mxBItH8zEoEk P18sgYdva2KSk+Oaqw8j+86SPCpNGtMbo5yPhf7c0EX+/xtx794WwWPs87E6P1WB HUs4/rWG61i29B3wiGo0orRJHOf59M0Zq7wDC2pZOT8UA05w0IQ= =4p36 -----END PGP SIGNATURE----- --POjlveFHrWq2ZO+N-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 15:21:21 2020 Received: (at 40009) by debbugs.gnu.org; 10 Mar 2020 19:21:21 +0000 Received: from localhost ([127.0.0.1]:53331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBkRN-0001th-3v for submit@debbugs.gnu.org; Tue, 10 Mar 2020 15:21:21 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:46927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBkRK-0001tO-7K for 40009@debbugs.gnu.org; Tue, 10 Mar 2020 15:21:19 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 3BF5C693; Tue, 10 Mar 2020 15:21:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 10 Mar 2020 15:21:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=Ihr/nSgDG8EDPTWGLb5DglJUTK ZRI0Bxr+d8EY2cq2U=; b=MJMs+Q1RFxGeElzZTMU/wtB3Mj9LpGQv24red9n4oP LNlDYyare1cDU3k80lucyZrrkeIoJ7fhiAquDW1CtzvADdgy5YtjvNxrpcTPDaTv X73t8bF2z0oeRUO+3HBljqgyZ2I9DcUMHEXu545Xkw8Xk+zMOQRDKw7lwvzAtk9g kE+Xbqn0591aqlgup3zHYGXif1msl6VI5GIg2iyOqmULiLH1UeZtmfzNGVfQwfa7 zLWhuX9nrjg+/++x6HsngjAmouK+FnWs/vI8VD3+PQl4NOZsh87fjfkA011SOmzp vIWVsbXeK2WFkPIU2fjXeOADbKk1KQAnY9DOarapDeEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Ihr/nS gDG8EDPTWGLb5DglJUTKZRI0Bxr+d8EY2cq2U=; b=I/1zO+enXK80IoMf0jrdxG UxdACYgs0X96yk7/YgzYH1bxrk5NcHXicn2XXa6QKosXttYR6i58dlNKFJeKlrGr olX+G2ClzWfjUWRYamZpC1pbu5PclPTduhR2McNIG/rkOgKmxQpgzL4HUCDo0DyB dhStvwWyfLlCzCaI4nHBxYT/Nybmc+WpYWOhGSC7W9oNU4pFranu6YNG6QtFnIDg Is6cQlNxHYCxQCM7radR1XUyVVOmOnOAqY7fYXGtZ3251OEEU6G4Dv11W7RkMVKI hci1c9nMo8cTefMW3ff8ZTqSBZo8eWrYJzvxqquCsVxL8r40U2vNacYhAY/pWreg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddvtddgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhi uhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppe ekgedrvddtvddrieekrdejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id E38153280064; Tue, 10 Mar 2020 15:21:10 -0400 (EDT) From: Marius Bakke To: Efraim Flashner , 40009@debbugs.gnu.org Subject: Re: [bug#40009] [core-updates PATCH]: Use per-architecture GCC for libstdc++-boot0 In-Reply-To: <20200310111227.GX1423@E5400> References: <20200310111227.GX1423@E5400> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Tue, 10 Mar 2020 20:21:08 +0100 Message-ID: <87tv2wyq1n.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40009 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Efraim Flashner writes: > I've tested this on aarch64 and there were no problems. It also > provides a nice framework for other architectures as they become > supported. What is the benefit of this patch? I'd prefer to keep libstdc++-boot0 identical across architectures for simplicity, unless there is a good reason to do otherwise (say, porting to a new architecture). Now we could end up in a situation where someone patches GCC5 on 'master' and accidentally triggers a full rebuild on AArch64. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5n6KQACgkQoqBt8qM6 VPp9awgAqGPHPbG/V1/y4CmmHJFJ7yP9VkPO1N225ddGTDZBDrrxazstZoAh/RHo E5wI21FKadZ1p/l9cJJZlmuoUkeZJpZx38e9Bn/JJvzu7hMCVhx5B3FlpXJow9m4 Qa5L7xa5V/Dj041BVpo6tU2D6EUjxliHwawQCFny6ZjM+Ak9yGkd1oLTZb0GghSS gcqZTxwS2dOrP5YovuwTgnroKgLwifliYaqFzx59kJbMhoTXYH+iywMdGvpsYJ/5 uNjKmstYu2CSNg4oq98Ox5Kio8E3R4P9GDmyZXXKHG5kpt6ALsQSE6ScRRLST2pt nK/ZlIC83LHZFbnZ/PuXs1/LMKIbFQ== =z3m6 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 11 02:52:13 2020 Received: (at 40009-done) by debbugs.gnu.org; 11 Mar 2020 06:52:13 +0000 Received: from localhost ([127.0.0.1]:53569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBvDw-0001cv-Qn for submit@debbugs.gnu.org; Wed, 11 Mar 2020 02:52:13 -0400 Received: from flashner.co.il ([178.62.234.194]:38570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBvDu-0001ci-JW for 40009-done@debbugs.gnu.org; Wed, 11 Mar 2020 02:52:11 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 48F324017C; Wed, 11 Mar 2020 06:52:04 +0000 (UTC) Date: Wed, 11 Mar 2020 08:51:32 +0200 From: Efraim Flashner To: Marius Bakke Subject: Re: [bug#40009] [core-updates PATCH]: Use per-architecture GCC for libstdc++-boot0 Message-ID: <20200311065132.GC26542@E5400> References: <20200310111227.GX1423@E5400> <87tv2wyq1n.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WplhKdTI2c8ulnbP" Content-Disposition: inline In-Reply-To: <87tv2wyq1n.fsf@devup.no> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 40009-done Cc: 40009-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --WplhKdTI2c8ulnbP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 10, 2020 at 08:21:08PM +0100, Marius Bakke wrote: > Efraim Flashner writes: >=20 > > I've tested this on aarch64 and there were no problems. It also > > provides a nice framework for other architectures as they become > > supported. >=20 > What is the benefit of this patch? I'd prefer to keep libstdc++-boot0 > identical across architectures for simplicity, unless there is a good > reason to do otherwise (say, porting to a new architecture). >=20 > Now we could end up in a situation where someone patches GCC5 on > 'master' and accidentally triggers a full rebuild on AArch64. Sound reasoning. And currently most of the porting work makes use of GCC7 and not GCC5. I'm closing this bug. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --WplhKdTI2c8ulnbP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl5oinAACgkQQarn3Mo9 g1EZoQ/8Cz8rB1r3E08xpqwzGiuHvz89y2b1Ld9n7hGEbNASruSuulpImKnlSZR3 6iLpqaHpC+HISWOpsyFMVl5CosF2xaZ3F3EcveUn4X+kS28ROPUgjV4LcAqjY0T5 8r1syFk1Ep/YIH1vaLdSu9Ol2YeueYmps3qjZ2+CpcS+ZOOxP9uxaiPfhhi+I9Aj xoKTLU5/S764IL3bDVAqbfDPpEuIBtgKqBCdZmHuii6iBaPjZRCZ0jyalKx822a3 Yda9YEPh7ZuX5wRTD19seM9M7y3GggJS5atBLZEhrFy3nfH78ZwM1I6bWRavBCKK U1kxYaIMUnY0zKwfSj7Q5NGRtMR/8tVt21SalXA/LRzdwhBbAyKLtbrXcGmv6nIT E/wsAEs0/uFASEftR8Aedk5UBwHvgaEEe97kXPceSQQWVRoZOgGY2DVGRiYk41dD kKIcRT1gT4yx1SnBwIpNRRadaE4i3yxpY0cDXTMCLXp0Zmj1y6w1LDqz3Sfhu4ET cxauMlkqni1sgdcIvCz/rpRD4oWFVjImu8iqS1eyG0hTp5Cv7KIYgBId5K03cGrv JcSXsJk6mh1XVvsBzxuWsT4cJ38jKmEW6KPkqmmFLxCHxZL5kF5D2WuOvoqhwj6o 3LKxd0g6XccxsKEzesjx8SWg1umakPx3bGEUa/F21krsRYjh0bM= =khru -----END PGP SIGNATURE----- --WplhKdTI2c8ulnbP-- From unknown Sun Jun 22 20:58:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 08 Apr 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator