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 qDKFO3hzT2f/zQAA62LTzQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 03 Dec 2024 21:09:13 +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 qDKFO3hzT2f/zQAA62LTzQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 03 Dec 2024 22:09:13 +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=LEeuWAd2;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=QQNznCys;
	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=1733260152; a=rsa-sha256; cv=none;
	b=KP/GPwOmWVOGh9hhQaxBA68el2wzD4yjVlToyToIgQaRTGuxRDDr2qeyIm95gDB1ubk9j2
	28FO+5VfqP5/amrnMkm7FvbIRihaZ9xuoCDeqA3T2vm5BPu0R2ctujDC74XjlGzyf64k/2
	2g8tcOJRfqT8xr0WQMhlgv5Tv5uaGxA83eTC9x9b/Ndg1Yd1K6DJcXViJxwnRQQIzY3s58
	qolPhWnNfuwuZIrxpsp1rYIV/N3HpVOgPXcaWwnchO6JqzpjlPPU7wAJw+OwzoxnySHaNu
	q67MmjYy1a9kM0CzmbjLjt+0DMltxyCySLRfkO1IHdlq8tjj22BW0O3CdP7wDA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LEeuWAd2;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=QQNznCys;
	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=1733260152;
	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:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=KVfUB/OmmH+N/XsumNFC0DuydW7Gjrv7thrp+cff7vo=;
	b=i5de1WFeOraUCU9upCLrId3t/pB/j49oW7ZR/97gMMc6uNJyFAcvYmQsGLFysveFZCJ4oU
	7rUU+ySawH0A1339NIRbWPX3tKB+X+FTvqpYDNpwecv2qS1kU5Ib/cAhIs5UreBg+1D6qS
	gaGFK+163NUQxAXmOloz3HEQfoc6BzNYEJ3WQ+7x79WljH3pizSqA3Oz7UiXkzOmo0WMXi
	llg+J/uJnDgv7fk+N9ANVkbsUPNGyF/Aixx7F0h4jDrUEnWQIG04kdaZQPmmuHQE8zrdou
	E5whBLkZdiusjz4RDE0dFLBLz9OIko7Khpli3WfMlpDrS7QvQtz/yTk7YoTWdw==
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 B5CE81BE5A
	for <larch@yhetil.org>; Tue, 03 Dec 2024 22:09:12 +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 1tIa7o-0005J3-P3; Tue, 03 Dec 2024 16:08:04 -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 1tIa7n-0005Iq-Jf
 for guix-patches@gnu.org; Tue, 03 Dec 2024 16:08: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 1tIa7n-0002bE-AJ
 for guix-patches@gnu.org; Tue, 03 Dec 2024 16:08:03 -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:From:To:Subject;
 bh=KVfUB/OmmH+N/XsumNFC0DuydW7Gjrv7thrp+cff7vo=; 
 b=LEeuWAd2Vrn8+eEz6Rmi/PGkhKH2nrxUkDMryq807IO4BqPc56N7MMfq2mT0QGmbggGMWmln9zLusk0CYaK63GgRg6jdTymCXsrSHqBTbGYT+uA9SeG7fddvd5fPiQpR8qIzJynkMMxYSUSdLk11zVmWgvXDDnJWnfA8wpIb//nRvBAzFNo8bV3/6qiKkLqwgqCuDfaM0WEukQyGCstnVXzp1+9ugQaJ7Bs9VKyEwMv8m4yr4ymmnplQeHaIx2OyU0CsQ2UVxTVJuzRMxAiZnh+CeWYRoORT6qv1aKe5aRlR7aKUw3jbeYIXvraivvTKjkz7cXfKwoB4glOnbnKRlg==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tIa7m-0003xW-PD
 for guix-patches@gnu.org; Tue, 03 Dec 2024 16:08:02 -0500
X-Loop: help-debbugs@gnu.org
Subject: [bug#74676] [core-packages-team 5/5] DRAFT gnu: gcc: Update gcc,
 gcc-toolchain to 14.
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 21:08:02 +0000
Resent-Message-ID: <handler.74676.B.173326006515185@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 74676
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 74676@debbugs.gnu.org
Cc: Andreas Enge <andreas@enge.fr>,
 Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>,
 Efraim Flashner <efraim@flashner.co.il>, Ekaitz Zarraga <ekaitz@elenq.tech>,
 Janneke Nieuwenhuizen <janneke@gnu.org>
X-Debbugs-Original-To: guix-patches@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.173326006515185
 (code B ref -1); Tue, 03 Dec 2024 21:08:02 +0000
Received: (at submit) by debbugs.gnu.org; 3 Dec 2024 21:07:45 +0000
Received: from localhost ([127.0.0.1]:33141 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1tIa7U-0003wq-No
 for submit@debbugs.gnu.org; Tue, 03 Dec 2024 16:07:45 -0500
Received: from lists.gnu.org ([209.51.188.17]:40142)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <janneke@gnu.org>) id 1tIa7S-0003wh-BD
 for submit@debbugs.gnu.org; Tue, 03 Dec 2024 16:07:44 -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 <janneke@gnu.org>) id 1tIa7R-0005Bk-RQ
 for guix-patches@gnu.org; Tue, 03 Dec 2024 16:07:42 -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 1tIa7H-0002WW-9b; Tue, 03 Dec 2024 16:07:36 -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:Subject:To:From:in-reply-to:
 references; bh=KVfUB/OmmH+N/XsumNFC0DuydW7Gjrv7thrp+cff7vo=; b=QQNznCys6xhXOp
 c2T9tG06jZ72NbZ/30UnF+3y0R4AObD7L9FcvLym0HoiQ70RfJ80TEXJ3pvv1PbDEWVqmeVkCNCZV
 T3IaSLTXgoTiw75eP+FUCwayBnT+GDBwDL7Pu4i9Utb7u1OCRmmTypyE8kdI1cq3Ul0auDllQPaHc
 cXTEfAvBkC6G0DTbDJT8WmsmcM3y9HO5Gvo4/FMXjjxYEt+m5q2bwKCQdd9apnEJ3ZtegtND/oScp
 A+/VvDtqeQ3OlwaVKeWnq/tA7p9SH1GCPffpJp3QYn7AH6zBBbmmO4EGji1UmPSs9bVJ2GC+UVIY9
 glZC/Vt7s/hAJ1An0Baw==;
From: Janneke Nieuwenhuizen <janneke@gnu.org>
Organization: AvatarAcademy.nl
X-Url: http://AvatarAcademy.nl
Date: Tue, 03 Dec 2024 22:07:23 +0100
Message-ID: <87ed2ofpbo.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.45
X-Spam-Score: -0.45
X-Migadu-Queue-Id: B5CE81BE5A
X-Migadu-Scanner: mx12.migadu.com
X-TUID: hBCXVbcTe/nC

Hello,

So, I've just built "hello" for x86_64-linux on "core-packages-team"
(yay!) mostly re-using gcc-14 patches/workarounds that I created for the
Hurd.

We probably want to keep this [switch to gcc-14] patch "bubbling" up on
top of the gcc-14 patches until the gcc-14 transition is done, keeping
every commit buildable.

Just opening this bug by sendding this email to have a placeholder for
discussing this, for the patches see "core-packages-team" (hope that's
OK).

Anyway, I have been using variants of

--8<---------------cut here---------------start------------->8---
"CFLAGS=3D-g -O2 -Wno-implicit-function-declaration"
--8<---------------cut here---------------end--------------->8---

while Ludo in hot-patch mode this morning used the already somewhat nicer

--8<---------------cut here---------------start------------->8---
[-DCMAKE_}C_FLAGS=3D-Wno-error=3Dimplicit-function-declaration"
--8<---------------cut here---------------end--------------->8---

To get build gcc-final to build on the 64bit Hurd I finally created a
gcc.sh wrapper script, after trying all kinds of variations of CFLAGS,
CFLAGS_FOR_BUILD in #:configure-flags, #:make-flags, see also
<https://gcc.gnu.org/gcc-14/porting_to.html> where they even suggest
using "-fpermissive".

Before pointing the build farm to core-packages-team and starting the
"real work" we may want to think about how to go forward.  On the one
hand, having CFLAGS patches littered all over the place is not great, on
the other hand, if we were to add compatibility flags to a wrapper for
gcc, or into build systems, we may never get rid of such a "feature".
Thoughts?

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