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 iIH5CynvJ19sPQAA0tVLHw (envelope-from ) for ; Mon, 03 Aug 2020 11:04: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 mp0 with LMTPS id QBf7BynvJ180QwAA1q6Kng (envelope-from ) for ; Mon, 03 Aug 2020 11:04: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 F2040940919 for ; Mon, 3 Aug 2020 11:04:07 +0000 (UTC) Received: from localhost ([::1]:39162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2YGF-0000fn-0I for larch@yhetil.org; Mon, 03 Aug 2020 07:04:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2YGA-0000fO-UA for guix-patches@gnu.org; Mon, 03 Aug 2020 07:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2YGA-0002u0-Kz for guix-patches@gnu.org; Mon, 03 Aug 2020 07:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2YGA-0005gm-HQ for guix-patches@gnu.org; Mon, 03 Aug 2020 07:04: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: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Aug 2020 11:04: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: Efraim Flashner Cc: 42681@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159645264121861 (code B ref -1); Mon, 03 Aug 2020 11:04:02 +0000 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?Q?K=C4=85dzio=C5=82ka?= 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.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: dIIoljRZFHAC --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--