From unknown Tue Aug 19 02:51:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#42681 <42681@debbugs.gnu.org> To: bug#42681 <42681@debbugs.gnu.org> Subject: Status: [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH search paths. Reply-To: bug#42681 <42681@debbugs.gnu.org> Date: Tue, 19 Aug 2025 09:51:14 +0000 retitle 42681 [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH sear= ch paths. reassign 42681 guix-patches submitter 42681 Jakub K=C4=85dzio=C5=82ka severity 42681 normal tag 42681 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 16:34:41 2020 Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 20:34:41 +0000 Received: from localhost ([127.0.0.1]:43574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Kgr-0002i8-GB for submit@debbugs.gnu.org; Sun, 02 Aug 2020 16:34:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:57224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Kgp-0002hx-CE for submit@debbugs.gnu.org; Sun, 02 Aug 2020 16:34:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2Kgp-00035d-5R for guix-patches@gnu.org; Sun, 02 Aug 2020 16:34:39 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:46228) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2Kgn-00019j-5o for guix-patches@gnu.org; Sun, 02 Aug 2020 16:34:38 -0400 Received: (qmail 25680 invoked by uid 1009); 2 Aug 2020 22:34:27 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25891. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.011363 secs); 02 Aug 2020 20:34:27 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 2 Aug 2020 22:34:27 +0200 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= To: guix-patches@gnu.org Subject: [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH search paths. Date: Sun, 2 Aug 2020 22:34:21 +0200 Message-Id: <20200802203421.5959-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/02 16:34:28 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: efraim@flashner.co.il 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: -3.3 (---) This updates the bootstrap-gcc to use the same search path strategy as the main compilers, making the bootstrap environment more similar across architectures, and fixing the bootstrap path on non-x86 architectures again. This is a follow up to commit 7cde865f12dd67e55946a52a21103e71f447eced. * gnu/packages/bootstrap.scm (%bootstrap-gcc)[native-search-paths]: Use C_INCLUDE_PATH and CPLUS_INCLUDE_PATH instead of CPATH. --- Note: because I don't have any non-x86 machines on hand, I haven't actually tested the patch yet. Efraim, you have helped me investigate this with your ARM board, perhaps you could test this patch? Regards, Jakub Kądziołka gnu/packages/bootstrap.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index c39e60ec8b..fd6c2e099c 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -740,8 +740,11 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \ "1m5miqkyng45l745n0sfafdpjkqv9225xf44jqkygwsipj2cv9ks"))))))))) (native-search-paths (list (search-path-specification - (variable "CPATH") + (variable "C_INCLUDE_PATH") (files '("include"))) + (search-path-specification + (variable "CPLUS_INCLUDE_PATH") + (files '("include/c++" "include"))) (search-path-specification (variable "LIBRARY_PATH") (files '("lib" "lib64"))))) -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 02:41:07 2020 Received: (at submit) by debbugs.gnu.org; 3 Aug 2020 06:41:07 +0000 Received: from localhost ([127.0.0.1]:43952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2U9j-0004zK-87 for submit@debbugs.gnu.org; Mon, 03 Aug 2020 02:41:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:47862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2U9e-0004z8-Ei for submit@debbugs.gnu.org; Mon, 03 Aug 2020 02:41:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2U9e-0002hd-6o for guix-patches@gnu.org; Mon, 03 Aug 2020 02:41:02 -0400 Received: from flashner.co.il ([178.62.234.194]:59774) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2U9c-0000Hj-Gz for guix-patches@gnu.org; Mon, 03 Aug 2020 02:41:01 -0400 Received: from localhost (unknown [31.210.177.175]) by flashner.co.il (Postfix) with ESMTPSA id 062B64007B; Mon, 3 Aug 2020 06:40:58 +0000 (UTC) Date: Mon, 3 Aug 2020 09:40:26 +0300 From: Efraim Flashner To: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= Subject: Re: [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH search paths. Message-ID: <20200803064026.GF1134@E5400> References: <20200802203421.5959-1-kuba@kadziolka.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HCdXmnRlPgeNBad2" Content-Disposition: inline In-Reply-To: <20200802203421.5959-1-kuba@kadziolka.net> 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 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/03 02:40:59 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: guix-patches@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: -2.3 (--) --HCdXmnRlPgeNBad2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 02, 2020 at 10:34:21PM +0200, Jakub K=C4=85dzio=C5=82ka wrote: > This updates the bootstrap-gcc to use the same search path strategy as > the main compilers, making the bootstrap environment more similar across > architectures, and fixing the bootstrap path on non-x86 architectures > again. >=20 > This is a follow up to commit 7cde865f12dd67e55946a52a21103e71f447eced. >=20 > * gnu/packages/bootstrap.scm (%bootstrap-gcc)[native-search-paths]: Use > C_INCLUDE_PATH and CPLUS_INCLUDE_PATH instead of CPATH. > --- >=20 > Note: because I don't have any non-x86 machines on hand, I haven't > actually tested the patch yet. >=20 > Efraim, you have helped me investigate this with your ARM board, perhaps > you could test this patch? >=20 > Regards, > Jakub K=C4=85dzio=C5=82ka > gnu/packages/bootstrap.scm | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm > index c39e60ec8b..fd6c2e099c 100644 > --- a/gnu/packages/bootstrap.scm > +++ b/gnu/packages/bootstrap.scm > @@ -740,8 +740,11 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \ > "1m5miqkyng45l745n0sfafdpjkqv9225xf44jqkygwsi= pj2cv9ks"))))))))) > (native-search-paths > (list (search-path-specification > - (variable "CPATH") > + (variable "C_INCLUDE_PATH") > (files '("include"))) > + (search-path-specification > + (variable "CPLUS_INCLUDE_PATH") > + (files '("include/c++" "include"))) > (search-path-specification > (variable "LIBRARY_PATH") > (files '("lib" "lib64"))))) > --=20 > 2.28.0 >=20 I'm building out to hello on my aarch64 board now, starting from make-boot0 apparently. Guile is only listed once so hopefully it won't take too long. I assume this doesn't break anything on x86_64? --=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 --HCdXmnRlPgeNBad2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl8nsVYACgkQQarn3Mo9 g1Hb7Q/7BHSO4FCPpvpA4MHNesIHRjjrU9LY55GRGcsUdac7NXVSRTdk/kLbWVLX HbNxLY8RMVz7J/kUl1iA8ZF5NcYQg+WX6E2q7MOmgVrkPsQMwIL81eP3Xn9hD3Ua o+KF09CTDQGpsGBMoLWO+XAhWHSPgeQEXhWkEDZoUu4PjFs//68Q4N+UZBdeOlrg RnTGvit4uMnlqTVYVEE5a82JPkyD+pqZKsZDkRn5w6nmmHBbrYz4Smj1vGcZk59b 5BznDkF6V7RFW+59DfZWyhHQqKLGvjH6rOaBdZ02hj+r6/Z3XRanhb9Zd0+Ta5Sw aOPxTpymBUAtf9vCdPEBBYoXfwlAgue+bljaTN1SFA5SlZTCDF9ra98dzBKVia0N jaQ7i5/Y4t/LQW2TWhv5KnFmrWiw+S/Rl4Q9wMVIQZCC+hCnUaeA0OSrKtC44blj u1Ly5XneOWVJNsAUlFjGewAPJmO869BovsqAcc/CLzTngADHUbcesGQce9gb7uID iTrQ2rH0kY0DF5K1RGqZz57fBcsuVOuUqGT37hA0odVbgEyASGAB6/dX6bf27CxA 76dsvSe/IqatVtOhD93HEgWIhLOpinKTB8E+ZvsD9Tb3WhtfoXYtG+FBKM3liv53 693ujombRWI4c4dG3ZArHiSG5pR4J5AmJelikUGCaxjNhEzm+cY= =/+zW -----END PGP SIGNATURE----- --HCdXmnRlPgeNBad2-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 07:04:01 2020 Received: (at submit) by debbugs.gnu.org; 3 Aug 2020 11:04:01 +0000 Received: from localhost ([127.0.0.1]:44442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2YG9-0005gX-Iz for submit@debbugs.gnu.org; Mon, 03 Aug 2020 07:04:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:41628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2YG7-0005gP-5Y for submit@debbugs.gnu.org; Mon, 03 Aug 2020 07:03:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2YG7-0000fF-07 for guix-patches@gnu.org; Mon, 03 Aug 2020 07:03:59 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:43396) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2YG4-0002td-Np for guix-patches@gnu.org; Mon, 03 Aug 2020 07:03:58 -0400 Received: (qmail 7406 invoked by uid 1009); 3 Aug 2020 13:03:54 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25892. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.066923 secs); 03 Aug 2020 11:03:54 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 3 Aug 2020 13:03:53 +0200 Date: Mon, 3 Aug 2020 13:03:52 +0200 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: Efraim Flashner Subject: Re: [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH search paths. Message-ID: <20200803110352.ehwmgpnyjoxzxo5z@gravity> References: <20200802203421.5959-1-kuba@kadziolka.net> <20200803064026.GF1134@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="g73x2rqy7i2xq32r" Content-Disposition: inline In-Reply-To: <20200803064026.GF1134@E5400> Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/03 07:03:54 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: guix-patches@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: -3.3 (---) --g73x2rqy7i2xq32r Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 03, 2020 at 09:40:26AM +0300, Efraim Flashner wrote: > On Sun, Aug 02, 2020 at 10:34:21PM +0200, Jakub K=C4=85dzio=C5=82ka wrote: > > This updates the bootstrap-gcc to use the same search path strategy as > > the main compilers, making the bootstrap environment more similar across > > architectures, and fixing the bootstrap path on non-x86 architectures > > again. > >=20 > > This is a follow up to commit 7cde865f12dd67e55946a52a21103e71f447eced. > >=20 > > * gnu/packages/bootstrap.scm (%bootstrap-gcc)[native-search-paths]: Use > > C_INCLUDE_PATH and CPLUS_INCLUDE_PATH instead of CPATH. > > --- > >=20 > > Note: because I don't have any non-x86 machines on hand, I haven't > > actually tested the patch yet. > >=20 > > Efraim, you have helped me investigate this with your ARM board, perhaps > > you could test this patch? > >=20 > > Regards, > > Jakub K=C4=85dzio=C5=82ka > > gnu/packages/bootstrap.scm | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > >=20 > > diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm > > index c39e60ec8b..fd6c2e099c 100644 > > --- a/gnu/packages/bootstrap.scm > > +++ b/gnu/packages/bootstrap.scm > > @@ -740,8 +740,11 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \ > > "1m5miqkyng45l745n0sfafdpjkqv9225xf44jqkygw= sipj2cv9ks"))))))))) > > (native-search-paths > > (list (search-path-specification > > - (variable "CPATH") > > + (variable "C_INCLUDE_PATH") > > (files '("include"))) > > + (search-path-specification > > + (variable "CPLUS_INCLUDE_PATH") > > + (files '("include/c++" "include"))) > > (search-path-specification > > (variable "LIBRARY_PATH") > > (files '("lib" "lib64"))))) > > --=20 > > 2.28.0 > >=20 >=20 > I'm building out to hello on my aarch64 board now, starting from > make-boot0 apparently. Guile is only listed once so hopefully it won't > take too long. Thanks! > I assume this doesn't break anything on x86_64? I don't have hello built on current core-updates (it also wants to start =66rom make-boot0), but I have confirmed that guix build --no-grafts -d hello returns the same derivation path before and after the commit. %bootstrap-gcc is not present at all in the package graph on x86. Regards, Jakub K=C4=85dzio=C5=82ka --g73x2rqy7i2xq32r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl8n7xgACgkQ4xWnWEYT FWRShxAAt68T0w3DWy3UOSbcSGTc1FqSGkqp/E+IGX6y3RePLoComSTKOkh68D3U 04eibLFB6s1d0HqXxGx74Oo05UR2mAv9EZZ3Z9DTVa7YnopJhgoDkWUEaB9JduxY 7Z+uvlkANDm5E2Nkll+GFtmZzEPgTX4jCCVa3ym2edQ23dvpnauLhpkGLKRebER0 CosaauIGHh70hSfJg8aDlNYIyEUajbjs9vWAn1rNtF8fEtFp1Mgb0j6t8ihd8SoZ b4f4jtOdLXgkwcPMiWmfokHNTSkTUFvB60D3ANs/UtLenn9lr/TefKD0bHoHZ4nh Ka8qhIN4haxVquPIb03avQGCNx6rpRGD9AOaisvmM+RiCD+N4cDHC755lzvOBvUq xUrdFIGn3zBXfUgqm9lh8P18UZxp8SJ12ENRSIyakubPJHi88Tb2OES0aHRQVCo/ j9RurRzwaiqAJ0P+m7t2+JFWIShz/IUQmsIDnizGqljxu/KGCAJ5mLcLFi0QVK5X huaBU6EUjGi83UfPblz94X70M4g30NLbP+Y9IW36+EumV5g5X0/3PvdSIXRoQCrs qd06kA61AZUI0ZBHMleExk2qn2RGiOoy9JAKqP1pltvHkGuQxiZlBEXZxvbvJna0 tbT83JlIgnLchJ00KldRzEEVfe9bBTw7nhJElQxYzPcrTNfCv0U= =TEzw -----END PGP SIGNATURE----- --g73x2rqy7i2xq32r-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 04 02:00:48 2020 Received: (at submit) by debbugs.gnu.org; 4 Aug 2020 06:00:48 +0000 Received: from localhost ([127.0.0.1]:46597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2q0G-0002p5-6h for submit@debbugs.gnu.org; Tue, 04 Aug 2020 02:00:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:44838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2q0B-0002ov-QC for submit@debbugs.gnu.org; Tue, 04 Aug 2020 02:00:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2q0B-0004A3-AI for guix-patches@gnu.org; Tue, 04 Aug 2020 02:00:43 -0400 Received: from flashner.co.il ([178.62.234.194]:33412) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2q08-00085c-AO for guix-patches@gnu.org; Tue, 04 Aug 2020 02:00:42 -0400 Received: from localhost (unknown [31.210.177.175]) by flashner.co.il (Postfix) with ESMTPSA id B74BC40031; Tue, 4 Aug 2020 06:00:38 +0000 (UTC) Date: Tue, 4 Aug 2020 09:00:06 +0300 From: Efraim Flashner To: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= Subject: Re: [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH search paths. Message-ID: <20200804060006.GM1134@E5400> References: <20200802203421.5959-1-kuba@kadziolka.net> <20200803064026.GF1134@E5400> <20200803110352.ehwmgpnyjoxzxo5z@gravity> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xdWF/UuCWMRSqXrg" Content-Disposition: inline In-Reply-To: <20200803110352.ehwmgpnyjoxzxo5z@gravity> 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 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/04 02:00:39 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: guix-patches@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: -2.3 (--) --xdWF/UuCWMRSqXrg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 03, 2020 at 01:03:52PM +0200, Jakub K=C4=85dzio=C5=82ka wrote: > On Mon, Aug 03, 2020 at 09:40:26AM +0300, Efraim Flashner wrote: > > On Sun, Aug 02, 2020 at 10:34:21PM +0200, Jakub K=C4=85dzio=C5=82ka wro= te: > > > This updates the bootstrap-gcc to use the same search path strategy as > > > the main compilers, making the bootstrap environment more similar acr= oss > > > architectures, and fixing the bootstrap path on non-x86 architectures > > > again. > > >=20 > > > This is a follow up to commit 7cde865f12dd67e55946a52a21103e71f447ece= d. > > >=20 > > > * gnu/packages/bootstrap.scm (%bootstrap-gcc)[native-search-paths]: U= se > > > C_INCLUDE_PATH and CPLUS_INCLUDE_PATH instead of CPATH. > > > --- > > >=20 > > > Note: because I don't have any non-x86 machines on hand, I haven't > > > actually tested the patch yet. > > >=20 > > > Efraim, you have helped me investigate this with your ARM board, perh= aps > > > you could test this patch? > > >=20 > > > Regards, > > > Jakub K=C4=85dzio=C5=82ka > > > gnu/packages/bootstrap.scm | 5 ++++- > > > 1 file changed, 4 insertions(+), 1 deletion(-) > > >=20 > > > diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm > > > index c39e60ec8b..fd6c2e099c 100644 > > > --- a/gnu/packages/bootstrap.scm > > > +++ b/gnu/packages/bootstrap.scm > > > @@ -740,8 +740,11 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \ > > > "1m5miqkyng45l745n0sfafdpjkqv9225xf44jqky= gwsipj2cv9ks"))))))))) > > > (native-search-paths > > > (list (search-path-specification > > > - (variable "CPATH") > > > + (variable "C_INCLUDE_PATH") > > > (files '("include"))) > > > + (search-path-specification > > > + (variable "CPLUS_INCLUDE_PATH") > > > + (files '("include/c++" "include"))) > > > (search-path-specification > > > (variable "LIBRARY_PATH") > > > (files '("lib" "lib64"))))) > > > --=20 > > > 2.28.0 > > >=20 > >=20 > > I'm building out to hello on my aarch64 board now, starting from > > make-boot0 apparently. Guile is only listed once so hopefully it won't > > take too long. >=20 > Thanks! >=20 > > I assume this doesn't break anything on x86_64? >=20 > I don't have hello built on current core-updates (it also wants to start > from make-boot0), but I have confirmed that guix build --no-grafts -d > hello returns the same derivation path before and after the commit. > %bootstrap-gcc is not present at all in the package graph on x86. >=20 > Regards, > Jakub K=C4=85dzio=C5=82ka I was able to successfully build all the way out to hello on aarch64-linux. --=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 --xdWF/UuCWMRSqXrg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl8o+WIACgkQQarn3Mo9 g1GgTBAAnbvLvU+uzyTAPmMrd4Dx+h1Agc1BEshnoc8jsuDA6hL/uBMGt/wCuPm+ DHFgrFYiFDrJfnPFtW97wfLO0+NhI3JZ44Yotf+QHZQCYKc/+xdksTF8iYy7Ke7o H2LmJoh5F6X46bHvfeVDPgatnQbRYEKJKUMbg+rSy5ne2k6UfBJq3FuSkyEw07Y9 Nk8pA8R3QibSmwsCnQb7/qjucnlz8a/8EcsQx8o3Bdmrf1vREVsEUgWEypwLn5gJ DtPjKt4sjtG4TD46OzJdHBtAxRuADWuBMPb4n3nJGsmwS31cVHZU7S1LwI2WH5mr JXqIKk0ysiLekQPw1ln1FJygoOjvhZvSXhD/E8df0qs+JrGSq8juAWFmeIaG1udp D7hBNYQT3E4bcs5j9LJoCZ7G12eNR8h+80WQj+gcdwfO3C55DEhlhr2D19cFnWyt nFQY1bA0mcu5/1y+ElYAhYpt/ffkuS621+gwA7QNfAwZtzipUi7CsMs6LDzAlGlR OA0Jx7giNIk+FoM+ejp7b4SZIFO5sOw3GL+QXHfBgvgUQIvJaDfhLmBG3QDSfRNu aZNz1rBbHqNwD38kQcITCy6t8IWOzdpr71e3w3NUQcVf3FvCvnSaiaFSGu10D9H2 tcoFnIgAOIfCUCOu+TvRn6EnrHUenNFgmgLAW5RzmYxSnGs+dAU= =q6Sy -----END PGP SIGNATURE----- --xdWF/UuCWMRSqXrg-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 04 08:34:44 2020 Received: (at 42681-done) by debbugs.gnu.org; 4 Aug 2020 12:34:44 +0000 Received: from localhost ([127.0.0.1]:47076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2w9U-0002t0-EF for submit@debbugs.gnu.org; Tue, 04 Aug 2020 08:34:44 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:46586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2w9P-0002sn-R6 for 42681-done@debbugs.gnu.org; Tue, 04 Aug 2020 08:34:43 -0400 Received: (qmail 1669 invoked by uid 1009); 4 Aug 2020 14:34:37 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25893. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.051896 secs); 04 Aug 2020 12:34:37 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 4 Aug 2020 14:34:37 +0200 Date: Tue, 4 Aug 2020 14:34:35 +0200 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: Efraim Flashner Subject: Re: [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH search paths. Message-ID: <20200804123435.pk3uqpasdctvjdo5@gravity> References: <20200802203421.5959-1-kuba@kadziolka.net> <20200803064026.GF1134@E5400> <20200803110352.ehwmgpnyjoxzxo5z@gravity> <20200804060006.GM1134@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sd7yzi2dogiqxbqc" Content-Disposition: inline In-Reply-To: <20200804060006.GM1134@E5400> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42681-done Cc: 42681-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 (-) --sd7yzi2dogiqxbqc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 04, 2020 at 09:00:06AM +0300, Efraim Flashner wrote: > On Mon, Aug 03, 2020 at 01:03:52PM +0200, Jakub K=C4=85dzio=C5=82ka wrote: > > On Mon, Aug 03, 2020 at 09:40:26AM +0300, Efraim Flashner wrote: > > > On Sun, Aug 02, 2020 at 10:34:21PM +0200, Jakub K=C4=85dzio=C5=82ka w= rote: > > > I'm building out to hello on my aarch64 board now, starting from > > > make-boot0 apparently. Guile is only listed once so hopefully it won't > > > take too long. > >=20 > > Thanks! > >=20 > > > I assume this doesn't break anything on x86_64? > >=20 > > I don't have hello built on current core-updates (it also wants to start > > from make-boot0), but I have confirmed that guix build --no-grafts -d > > hello returns the same derivation path before and after the commit. > > %bootstrap-gcc is not present at all in the package graph on x86. > >=20 > > Regards, > > Jakub K=C4=85dzio=C5=82ka >=20 > I was able to successfully build all the way out to hello on > aarch64-linux. This is great news! Patch pushed. Regards, Jakub K=C4=85dzio=C5=82ka --sd7yzi2dogiqxbqc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl8pVdsACgkQ4xWnWEYT FWT7Ng/+N6RwCApKKwpkvE883K7H6WIHPpIAOGQS5AziOq4mlvU98SodQJFfdRxA oSgvmeT0V+epUyy9R/BKg5vADwtDxDrPK69uyRaUI7UQoJlkaOWDW/LCK2yJrAXz 9ppAeQUTXuD0y+kO2bEVfj52FmLyVySEibPoN/GrFZVrANfbRZxF/EwJ32QWxmcw 7A/1gL9Bo7Oknrw1Lm3a+YGLh8J9CGdcPvWz2S8YUxSiLRIAvj/U7XqQ6AeGCGRN htcrxqhmATIERdNWG2pfkNZGr/9Sdexr0CGzhrYUS/zsBwDeqCW+1rN7RNiZ8ycT IZ2aa7stx3AOeJdBxRjjqnc1dgPBimnncm+edOW+fvRWj4gAmqtYV0//aklHlaAT gZ3S7nskoyu90guKEazBhnci6jrIcMUgP1fGU99U0T+fuTbw5njhKB794h7KDekU b/iOw+Te8AXnURCzubVDHM2bCEc4OBIzExY29ZItfV/DCYpvygD9HxkRdQ2IDoIb XVr6tCzMdCA8QjwKwcR0MFtJvxusOTN1Htrdr6yQghyp2k32KTltS/FrGLewBl2K erbJg+LaU+KA9CWpWhPNUT1d4UykfJxr5afm2/J+HlkQzr7uUsQW45GE8fhM47rQ eC++NUIflvXA/HdlrIuAFuOk5LNHRW8Mv5tdo0vrG7oVexiwPOs= =tFrb -----END PGP SIGNATURE----- --sd7yzi2dogiqxbqc-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 04:56:52 2020 Received: (at 42681-done) by debbugs.gnu.org; 5 Aug 2020 08:56:53 +0000 Received: from localhost ([127.0.0.1]:49714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3FEC-0004Dr-ME for submit@debbugs.gnu.org; Wed, 05 Aug 2020 04:56:52 -0400 Received: from flashner.co.il ([178.62.234.194]:37690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3FEA-0004De-Sg for 42681-done@debbugs.gnu.org; Wed, 05 Aug 2020 04:56:51 -0400 Received: from localhost (unknown [31.210.177.29]) by flashner.co.il (Postfix) with ESMTPSA id 2E0E94008B; Wed, 5 Aug 2020 08:56:44 +0000 (UTC) Date: Wed, 5 Aug 2020 11:56:06 +0300 From: Efraim Flashner To: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= Subject: Re: [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH search paths. Message-ID: <20200805085606.GA2042@E5400> References: <20200802203421.5959-1-kuba@kadziolka.net> <20200803064026.GF1134@E5400> <20200803110352.ehwmgpnyjoxzxo5z@gravity> <20200804060006.GM1134@E5400> <20200804123435.pk3uqpasdctvjdo5@gravity> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <20200804123435.pk3uqpasdctvjdo5@gravity> 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: 42681-done Cc: 42681-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 (-) --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 04, 2020 at 02:34:35PM +0200, Jakub K=C4=85dzio=C5=82ka wrote: > On Tue, Aug 04, 2020 at 09:00:06AM +0300, Efraim Flashner wrote: > > On Mon, Aug 03, 2020 at 01:03:52PM +0200, Jakub K=C4=85dzio=C5=82ka wro= te: > > > On Mon, Aug 03, 2020 at 09:40:26AM +0300, Efraim Flashner wrote: > > > > On Sun, Aug 02, 2020 at 10:34:21PM +0200, Jakub K=C4=85dzio=C5=82ka= wrote: > > > > I'm building out to hello on my aarch64 board now, starting from > > > > make-boot0 apparently. Guile is only listed once so hopefully it wo= n't > > > > take too long. > > >=20 > > > Thanks! > > >=20 > > > > I assume this doesn't break anything on x86_64? > > >=20 > > > I don't have hello built on current core-updates (it also wants to st= art > > > from make-boot0), but I have confirmed that guix build --no-grafts -d > > > hello returns the same derivation path before and after the commit. > > > %bootstrap-gcc is not present at all in the package graph on x86. > > >=20 > >=20 > > I was able to successfully build all the way out to hello on > > aarch64-linux. >=20 > This is great news! Patch pushed. >=20 Continued testing shows that this also worked on my aarch64 board when building for armhf. --=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 --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl8qdCMACgkQQarn3Mo9 g1EZQA//RhXkon01NmyvMzOl08l07Rby6GmZHfHdN1v7wJE58gBxncuurMRCMDvn LDzZ3SfedHxwNVOk385gXLKGcPA7Tv2iljPrOhVBdzNohCiJBGFCWKHFzT2KHooo FbZz5GBdUQ91tTuL53X4LxTtEXI3EXi6LGXS3vPMzuQi2x43JM5m4uewdmCcaPN9 vdidnTXBS6fukCYNVrEDRGjyK7zdKuIaWrPFifgTeRVIGdobddfLyZC25Ej9lkzJ cey/gAPzgH74jpyMV1qjdYkmXE4sldH0aLXCAsBA8tTxkbmlpZ3WqkcVQZtFkNEf y8oNVMJyYTN2TMHz0j1NLJ5qllMOmiMg252XP6vPsPCxvE9CTVspVzv0BCEFWsx1 /32WfrnhOrWsmzWkhgwEZGmzOT7JwkZxzdRJGDEr8j7HbM2iXmpVIb0peJS7Srse X9BONdiRuiGcCLyp7b2+lG/QpnlQvankAKbKdTL1xK4PtNBBCSidusvUrbhb3Us1 nxhzQRZCCsULapLSuzgfCLwvhWFewIcFMLpSRmLGNOD5L7iwYiJh6jlxe+XhShdw skY4FDVOy0iAoQQUii//XD1br/tBAhU655FR9FiRk5in9FcaIRBaPNTnNxgTXTQA MBrqbTGPXrFIx/ED+g4n0PHbpKF6d3waLaKi1rv6BEzvkbV5rvs= =0//S -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD-- From unknown Tue Aug 19 02:51:14 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, 02 Sep 2020 11:24:12 +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