From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp1.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id AC5KI1LGTmdHoAAA62LTzQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 03 Dec 2024 08:50:26 +0000
Received: from aspmx1.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id AC5KI1LGTmdHoAAA62LTzQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 03 Dec 2024 09:50:26 +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=nkYlwDxH;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=EEec8ZiQ;
	dmarc=pass (policy=none) header.from=gnu.org;
	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"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733211806; a=rsa-sha256; cv=none;
	b=N4laYX9k6DHOX5nDUxqoitlG5dUDprbE9vknYzEr3er61s5S7KpZeH7PGmZXRBwNcyOJI6
	h0N8mlXvQpsqqRibci0HG/RAknPi8e630f0VCk8bg/JXrx2yLHfZff0PCOsuJXbKbJ9FaI
	iYzZMEwxl8OAWufz11YVYjs+oDyfxMaX87m0nnKyML+m0ytZZiOOzqNVQJ8IeLusE0og/3
	Z4khTMVr8fRnHJXG0u/GZ2HlJO4oAfgXmkFB5SGIlxQ4BIiBW5xaHSxOe4xVxKMasnMopR
	Xr3FU2SzzY9TGV8FoBK4DZHl8m8AtqkaaZYnHKYL9D7VFkIeq/oUCbsaIUbukw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=nkYlwDxH;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=EEec8ZiQ;
	dmarc=pass (policy=none) header.from=gnu.org;
	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"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1733211806;
	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=3ojJ56DlLlO2nvP+l7AjaxPbFN7xBAVzLo5I/ywUl/0=;
	b=ZTE1BoAP6idH/mMqN2V//lIQ65K+9aYHAbVAAPfRn0dg//2UfRHNBwTUFuUOU+cUaSteDE
	xH+oW5WQWBGq8mgR+2U7AXov4UMXobYWbaeSYv/0lXJGyXhcxhnpEbdVUzIeZz45oPk4W8
	xlIKBl6p0/63s4KZ7TEw2Er1NTm1Y8N2Q+FtHLTDB9XLDXDkNJ7JBvZLXy1hmpzhspZxfj
	pr1JRBjm6U0E3NWx6FepMjIVOR4GIK8lvbFloo59ExKLfW1HtCwZnPvZaOr1VWDoFInnKP
	cxA9X2fpMcHNktEG0nZsqa+1nlKdk5X7dKiI3p/HvUt4hSuxUeeKqtYZcnRxRQ==
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 BB5A086525
	for <larch@yhetil.org>; Tue, 03 Dec 2024 08:43:26 +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 1tINYn-0006UE-4c; Tue, 03 Dec 2024 02:43:05 -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 1tINYl-0006Tq-3K
 for guix-patches@gnu.org; Tue, 03 Dec 2024 02:43:03 -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 1tINYk-0003wX-RA
 for guix-patches@gnu.org; Tue, 03 Dec 2024 02:43: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=3ojJ56DlLlO2nvP+l7AjaxPbFN7xBAVzLo5I/ywUl/0=; 
 b=nkYlwDxHvNDz1ugq+K58HvdT01/PISUjU+M+A8362izgSfxgrWsCWs7VCl9XvmND9xw5EMNuNUIMvX4b3X6OWxJUGcybXWDsrY893UqVz5tp0DwR3IxfYPdgV+HbMAT+En3RQ/2REJnuGQLzN73MkbvYjsIKwLPx8OSWPkde0/L3sCckZ3wHhEh7EeoLlgh5/UJvxXjjg14k2QzUL0Eh+1farcxgvI4051cKC0Uu5e4Y52qx9HZDGVQuoC59/GjTpUX+R95lhWEeT6bxD1zaEv8Jk/DZ3C+aJumX6DmhxHFJFIM0lr67wJQ+Z64WZgVzfNfKAIEzevYQnYXUmpK6kg==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tINYk-0006HP-L4
 for guix-patches@gnu.org; Tue, 03 Dec 2024 02:43:02 -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: Janneke Nieuwenhuizen <janneke@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Tue, 03 Dec 2024 07:43:02 +0000
Resent-Message-ID: <handler.74290.B74290.173321173624061@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: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@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.173321173624061
 (code B ref 74290); Tue, 03 Dec 2024 07:43:02 +0000
Received: (at 74290) by debbugs.gnu.org; 3 Dec 2024 07:42:16 +0000
Received: from localhost ([127.0.0.1]:58051 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1tINY0-0006G1-BZ
 for submit@debbugs.gnu.org; Tue, 03 Dec 2024 02:42:16 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50788)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <janneke@gnu.org>) id 1tINXy-0006Fk-AR
 for 74290@debbugs.gnu.org; Tue, 03 Dec 2024 02:42:15 -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 <janneke@gnu.org>)
 id 1tINXp-0003ab-Mr; Tue, 03 Dec 2024 02:42:05 -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=3ojJ56DlLlO2nvP+l7AjaxPbFN7xBAVzLo5I/ywUl/0=; b=EEec8ZiQtkVdYIEGIypq
 rW9wskg0KKxOYQE0usGuEgMAk0+iZLDM5847SRPDIccXcgbScomoZ4u9N8NVk/CUvl0AWttXwhGiA
 G29BiVz49rspWHCV+85m3gJhOx67bQgiT9d1EKdQsc0+4zHcgwJlsMOBVLVRAKzoCRmAzWL6R68yX
 WmYrP3bTQYpzvhpEVv/+G2O48rMLd0W8Dbzji7GI/iKEFuxZOCewzec1vwfW5swz9B6ofDIJhlMkO
 iStL25GPpUgUePRxEOBz4Ft/046efy3cfW1FQTYwvgGr+04N1KvTERD2ESjaeIaWzD59uQjLHRFE+
 xVPIwrtqef32VA==;
From: Janneke Nieuwenhuizen <janneke@gnu.org>
In-Reply-To: <87v7wixh17.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s
 message of "Wed, 20 Nov 2024 12:48:20 +0100")
Organization: AvatarAcademy.nl
References: <cover.1731427612.git.janneke@gnu.org>
 <99a9152dc069538a151504d65b85fd5105149a51.1731427612.git.janneke@gnu.org>
 <87mshxkd89.fsf@gnu.org> <87o72dn544.fsf@gnu.org>
 <87v7wixh17.fsf@gnu.org>
X-Url: http://AvatarAcademy.nl
Date: Tue, 03 Dec 2024 08:41:46 +0100
Message-ID: <87iks1kybp.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-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Spam-Score: 0.75
X-Spam-Score: 0.75
X-Migadu-Queue-Id: BB5A086525
X-Migadu-Scanner: mx12.migadu.com
X-TUID: I5auahcrxMFf

Ludovic Court=C3=A8s writes:

Hello,

> <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 t=
op
>>>    ;; 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 some=
thing consistent
>>> and simpler, without =E2=80=98current-gcc=E2=80=99.  (Though it means w=
e=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 i=
t can be faster
> than =E2=80=98core-updates=E2=80=99 was before.  And we can choose to hav=
e 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.

Pushed to master as ec8a5ec15f898e864705e5a5c834532e3fa8d0a4.

Greetings,
Janneke

--=20
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade=
my.com