From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp2.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id iD0sNrzMPWdjfwAAe85BDQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 20 Nov 2024 11:49:17 +0000
Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2.migadu.com with LMTPS
	id iD0sNrzMPWdjfwAAe85BDQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 20 Nov 2024 12:49:16 +0100
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TQVGKRNK;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=KKzHLd1c;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gnu.org
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1732103356;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=UjIpWxIQIT996Y3enoeriPk2ZnfVknou0184QeB1JOw=;
	b=K595Tsuxpt2HkRpMToeM6oeZrwXdJHOqGbJ3rASW8IXK5fQg0pQxbyty+Q2C47gX61YltN
	+BrmXYUKxG8cMHUH6CjaF3YlpiC1O5IQJVPa8rSobl/LLPhpT4qgPICZadfRczn8igzl2w
	4RZLHMr11eIhyKxZT7FlJTj2kGI4Yf27MIb1cmC4GNHg9qoc8GZO23zXcTGlKX7rZ87uwQ
	floaip0xE+vavzRdFycrABto1ZWSHx2OvVy6uh+IW3LyPFVnghyS4dutdYQlwZPZ4bqPgu
	0uwYTDYTOmNRcddAzklTsGgAoju/oM6BFD4Y+nlmXUZzoBkAnptEFie9Uw/F+A==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TQVGKRNK;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=KKzHLd1c;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gnu.org
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732103356; a=rsa-sha256; cv=none;
	b=mtihr4IOnirs/SO10nbMokpKtvNUFnTFPQF2F9Ca5N169zhr0WbvvU8UvU7wu9NMIpplhd
	ltKLWd6ZB7EXjlhuLPOLNZP9t8XNFjk7hqAI53geYyVuT4J3nxih7ADVdSAbfl5JFy+DtI
	SH/LB1hiBePME8aFfzQpLHUoXdyKxiPp3PVg6mB8ANixGZxbrhWhFPiqIW2DqwO4U7OgrX
	L50F2ZeTWwlIZ1hc9xkbw1cZQ9ghOVbtk5MLh3+QIHdAJXiSUIruRv+Ejw5jTYUbdlgfbt
	3TzhszMM3Sxdepb3fdMumTGKOsd2NIFHEEu77QM25xn0uKyuIgBBqDMuM82UGA==
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 8382F8835C
	for <larch@yhetil.org>; Wed, 20 Nov 2024 12:49:15 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces@gnu.org>)
	id 1tDjCh-0000fL-V9; Wed, 20 Nov 2024 06:49:03 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1tDjCg-0000fC-Dd
 for guix-patches@gnu.org; Wed, 20 Nov 2024 06:49:02 -0500
Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1tDjCg-0000Vo-4b
 for guix-patches@gnu.org; Wed, 20 Nov 2024 06:49:02 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=debbugs.gnu.org; s=debbugs-gnu-org; 
 h=MIME-Version:Date:References:In-Reply-To:From:To:Subject;
 bh=UjIpWxIQIT996Y3enoeriPk2ZnfVknou0184QeB1JOw=; 
 b=TQVGKRNKro/5EKBBWicPw7IjtuxSZXpI3ivi1pFprgXyJTJMcXIqtq+3/2TBdmPWm9v/t046fNnZpzKeAKBsqgNi/Cv9sINzikrReeZdlyG2/s9/9DoQ57NiJntQcIITwhPI1sidffov2HvfS2dkIS+duZ+XEjhnfc7OO+Riss9I6pAMAEY8WGzEar+SoN0UTLITL7k1mc5Fg+2J8CRMBv37Z8KN/6poMOtvjpCPXIZfbhuExlFP+0lmfQJ8meaaPCedlOOD4M8V5FqZqfVmKjEIzS0C01IhrP4Vmufx7fTh4Qg7slin/YCYaLC938OM8xgldHuqqnBAZxX1azh8ow==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tDjCf-00086y-V9
 for guix-patches@gnu.org; Wed, 20 Nov 2024 06:49:01 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#74290] [PATCH v2 05/40] gnu: Add basic support for x86_64-pc-gnu
 target, aka 64bit Hurd.
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Wed, 20 Nov 2024 11:49:01 +0000
Resent-Message-ID: <handler.74290.B74290.173210331331137@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 74290
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: <janneke@gnu.org>
Cc: 74290@debbugs.gnu.org, Josselin Poiret <dev@jpoiret.xyz>,
 Ekaitz Zarraga <ekaitz@elenq.tech>, Simon Tournier <zimon.toutoune@gmail.com>,
 Mathieu Othacehe <othacehe@gnu.org>, Tobias Geerinckx-Rice <me@tobias.gr>,
 Efraim Flashner <efraim@flashner.co.il>, Andreas Enge <andreas@enge.fr>,
 Christopher Baines <guix@cbaines.net>
Received: via spool by 74290-submit@debbugs.gnu.org id=B74290.173210331331137
 (code B ref 74290); Wed, 20 Nov 2024 11:49:01 +0000
Received: (at 74290) by debbugs.gnu.org; 20 Nov 2024 11:48:33 +0000
Received: from localhost ([127.0.0.1]:45591 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1tDjCD-000867-2d
 for submit@debbugs.gnu.org; Wed, 20 Nov 2024 06:48:33 -0500
Received: from eggs.gnu.org ([209.51.188.92]:52756)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1tDjCA-00085s-MA
 for 74290@debbugs.gnu.org; Wed, 20 Nov 2024 06:48:31 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>)
 id 1tDjC3-0000Q8-FK; Wed, 20 Nov 2024 06:48:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=UjIpWxIQIT996Y3enoeriPk2ZnfVknou0184QeB1JOw=; b=KKzHLd1cxoi00dEQ7KDd
 Uax5o7HiDedsRsBH/38w/zQi2tmW/dROMiJQy5j6qMSY8z0bdsk9PTRs4aGKWCxnsXI3Vu3netVhm
 s572RXIYtl9o3t2gluiIzkZJqO+PVitTs9w3SkHzhbDu4jmmCnPqc59zfJvXxumaFXMFD4jCvJV+3
 br7jTcbRBONZZwiePp+dMHb77oSDjjWDqo59WniLGL0O/aL+eBvl6omH4Fn1Hemv6nkWbzRJuOTN9
 HdhPriDk/OejlI+ZxqCPlU3lpUAepkKz2GUQMwte1FjxhrR5QU20SP/T+lrlGJDgaEey6Spi5e4+h
 f+6hQlgQxPxHog==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
In-Reply-To: <87o72dn544.fsf@gnu.org> (janneke@gnu.org's message of "Sun, 17
 Nov 2024 18:26:51 +0100")
References: <cover.1731427612.git.janneke@gnu.org>
 <99a9152dc069538a151504d65b85fd5105149a51.1731427612.git.janneke@gnu.org>
 <87mshxkd89.fsf@gnu.org> <87o72dn544.fsf@gnu.org>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: =?UTF-8?Q?D=C3=A9cadi?= 30 Brumaire an 233 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour du Rouleau
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Wed, 20 Nov 2024 12:48:20 +0100
Message-ID: <87v7wixh17.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: guix-patches-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Migadu-Scanner: mx11.migadu.com
X-Migadu-Spam-Score: -2.02
X-Spam-Score: -2.02
X-Migadu-Queue-Id: 8382F8835C
X-TUID: novTBTUConEw

Hi,

<janneke@gnu.org> skribis:

> Ludovic Court=C3=A8s writes:

[...]

>> how about changing the GCC version used for cross-compilation, and
>> only that:
>>
>> diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
>> index 5781341a87..6120740b3c 100644
>> --- a/gnu/packages/cross-base.scm
>> +++ b/gnu/packages/cross-base.scm
>> @@ -61,7 +61,7 @@ (define-syntax %xgcc
>>    ;;
>>    ;; Note: This is a macro so that we do not refer to 'gcc' from the top
>>    ;; level, which would lead to circular-dependency issues.
>> -  (identifier-syntax gcc))
>> +  (identifier-syntax gcc-14))
>
> Interesting...I would have thought this would cause a world rebuild,
> because of the cross-gcc in commencement.  Apparently, it doesn't.
>
>> That would affect also non-Hurd cross-compilation targets, but if it
>> works, it=E2=80=99s simpler.
>
> Ok, I very much like the simplicity of this.

Yay.

>> Then, as a second step, we could prepare a =E2=80=98core-packages-team=
=E2=80=99 branch
>> that upgrades =E2=80=98gcc=E2=80=99 globally, and that way we keep somet=
hing consistent
>> and simpler, without =E2=80=98current-gcc=E2=80=99.  (Though it means we=
=E2=80=99d have to wait
>> before we can build natively on x86_64-gnu.)
>>
>> WDYT?
>
> I've been thinking about this route and decided against it because it
> seems to me that upgrading to gcc-14 will cause a lot of trouble/work.

True.

> However, if that work is shared, and we have the build farm to help, it
> may be the best route.  Maybe the wait doesn't have to be too long?
> Also, in the mean time, upstream support might improve.

Well yes, it=E2=80=99s going to take a bit of time, let=E2=80=99s face it.

But hopefully quite a few of us would work on it and we=E2=80=99d set up ci=
.guix
to build the branch.

Also, with the reduced scope of =E2=80=98core-packages=E2=80=99, I hope it =
can be faster
than =E2=80=98core-updates=E2=80=99 was before.  And we can choose to have =
a cycle that
changes very little beside GCC.

> Maybe we can decide to go the route you propose and also keep this
> current-gcc patch on the hurd-team branch for a bit (we prepend a fat
> REMOVEME in front of it).  We can keep working on native Hurd builds
> that use gcc-14 on hurd-team using this hack, until core-packages-team
> is ready to make it obsolete?

Yes.

At least, we can already merge cross-compilation support.

Thanks,
Ludo=E2=80=99.