From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yN9oF7z5KF9kBAAA0tVLHw (envelope-from ) for ; Tue, 04 Aug 2020 06:01:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sEVHE7z5KF9uEwAA1q6Kng (envelope-from ) for ; Tue, 04 Aug 2020 06:01:32 +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 7393A940308 for ; Tue, 4 Aug 2020 06:01:31 +0000 (UTC) Received: from localhost ([::1]:42786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2q0v-0004Li-1G for larch@yhetil.org; Tue, 04 Aug 2020 02:01:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2q0V-0004L0-1f for guix-patches@gnu.org; Tue, 04 Aug 2020 02:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2q0U-0008Bj-Oe for guix-patches@gnu.org; Tue, 04 Aug 2020 02:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2q0U-0002pf-K3 for guix-patches@gnu.org; Tue, 04 Aug 2020 02:01: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: Tue, 04 Aug 2020 06:01:02 +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.159652084810859 (code B ref -1); Tue, 04 Aug 2020 06:01:02 +0000 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 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-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: -2.61 X-TUID: fNhho0AcO2Vy --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--