From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id fgk6O8GxJ18REwAA0tVLHw (envelope-from ) for ; Mon, 03 Aug 2020 06:42:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cAydNsGxJ1/wHwAAbx9fmQ (envelope-from ) for ; Mon, 03 Aug 2020 06:42:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 511B99403A9 for ; Mon, 3 Aug 2020 06:42:09 +0000 (UTC) Received: from localhost ([::1]:45426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2UAg-0002l3-KR for larch@yhetil.org; Mon, 03 Aug 2020 02:42:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2UAc-0002ki-GP for guix-patches@gnu.org; Mon, 03 Aug 2020 02:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2UAc-0000KX-6j for guix-patches@gnu.org; Mon, 03 Aug 2020 02:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2UAc-00050W-1k for guix-patches@gnu.org; Mon, 03 Aug 2020 02:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42681] [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH search paths. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Aug 2020 06:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42681 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Cc: 42681@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159643686719182 (code B ref -1); Mon, 03 Aug 2020 06:42:01 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.11 X-TUID: D7GBH7nhaH7D --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--