From: Janneke Nieuwenhuizen <janneke@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>,
Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: Ekaitz Zarraga <ekaitz@elenq.tech>
Subject: Re: An update on ‘core-updates’
Date: Fri, 12 Jan 2024 13:55:47 +0100 [thread overview]
Message-ID: <87jzoeg17w.fsf@gnu.org> (raw)
In-Reply-To: <87edenoqi1.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 11 Jan 2024 16:10:14 +0100")
[-- Attachment #1: Type: text/plain, Size: 2186 bytes --]
Ludovic Courtès writes:
Hi!
> We’ve updated GCC 11.x, glibc, binutils, and various packages from (gnu
> packages base). Notable exceptions are Coreutils, Findutils, sed, and
> tar; I tried but that’s a bit more work, notably because their variants
> in commencement.scm would no longer build because their build scripts
> use sed patterns not supported by Gash-Utils.
CC'ing Ekaitz and I'll also relay this to #guix-risc-v. There's quite
some work going on in commencement, we can probably incorporate these.
I think a possible workaround was suggested by Timothy
https://lists.gnu.org/archive/html/gash-devel/2023-09/msg00002.html
> Long story short: I’d like us to freeze and merge the branch ASAP,
> notably because the glibc graft on ‘master’ leads to a bad user
> experience. I’m happy with the current state of the branch and wouldn’t
> mind postponing remaining upgrades for the next cycle.
>
> Thoughts?
FWIW, I'm all for this. The longer we wait, the harder it gets? As
soon as everything works, see below...
> Remaining work includes: checking that cross-compilation targets still
> work after the recent Binutils updates, checking i586-gnu (GNU/Hurd) and
> other platforms, and possibly addressing the Gawk non-determinism
> issue².
Building a bare-hurd system on core-updates succeeded "not long ago"
(after the glibc+locales patch series I think) but now fails on
gcc-cross-sans-libc-i586-pc-gnu-11.4.0
--8<---------------cut here---------------start------------->8---
Configuring in i586-pc-gnu/libobjc
[..]
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
[..]
builder for `/gnu/store/94lj8490ixpd997m3siaxw5yhd52za6g-gcc-cross-sans-libc-i586-pc-gnu-11.4.0.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---
Any ideas what may have happened/changed here? Hmm, it looks like
d21d596f72ad491937123980e65d3efedc903bd6
gnu: gcc: Support objc, objc++ by default.
was probably the problem. Trying the attached patch, Hurd system not
build yet.
Greetings,
Janneke
[-- Attachment #2: 0001-gnu-gcc-Fix-building-cross-compiler-for-the-Hurd.patch --]
[-- Type: text/x-patch, Size: 1887 bytes --]
From 0e1bf5714261de8f25baabca3b826284102b6c40 Mon Sep 17 00:00:00 2001
Message-ID: <0e1bf5714261de8f25baabca3b826284102b6c40.1705062924.git.janneke@gnu.org>
From: Janneke Nieuwenhuizen <janneke@gnu.org>
Date: Fri, 12 Jan 2024 13:24:14 +0100
Subject: [PATCH] gnu: gcc: Fix building cross compiler for the Hurd.
This is a follow-up to commit
d21d596f72ad491937123980e65d3efedc903bd6
gnu: gcc: Support objc, objc++ by default.
* gnu/packages/gcc.scm (gcc-4.7): Only build c,c++ when building for the Hurd.
Change-Id: I21ce5dd30d7ab253e6a46173eb674b55d6c01505
---
gnu/packages/gcc.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index ecd88931eb..111b096185 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -132,9 +133,11 @@ (define-public gcc-4.7
;; contents of (maybe-target-tools).
(list 'quasiquote
(append
- '("--enable-plugin"
- "--enable-languages=c,c++,objc,obj-c++"
- "--disable-multilib"
+ '("--enable-plugin")
+ (if (target-hurd?)
+ '("--enable-languages=c,c++")
+ '("--enable-languages=c,c++,objc,obj-c++"))
+ '("--disable-multilib"
"--with-system-zlib"
;; No pre-compiled libstdc++ headers, to save space.
base-commit: 8e9573784f06ec2af96f9298c6dd4346688888fb
--
2.41.0
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
next prev parent reply other threads:[~2024-01-12 12:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-11 15:10 An update on ‘core-updates’ Ludovic Courtès
2024-01-12 12:13 ` Josselin Poiret
2024-01-29 16:32 ` Ludovic Courtès
2024-01-12 12:55 ` Janneke Nieuwenhuizen [this message]
2024-01-13 13:54 ` Janneke Nieuwenhuizen
2024-01-16 7:46 ` Janneke Nieuwenhuizen
2024-01-20 9:34 ` Janneke Nieuwenhuizen
2024-01-15 8:57 ` Efraim Flashner
2024-01-16 7:49 ` Janneke Nieuwenhuizen
2024-01-15 9:02 ` Efraim Flashner
2024-01-15 17:25 ` Roman Scherer
2024-01-15 19:06 ` Roman Scherer
2024-01-17 13:51 ` Maxim Cournoyer
2024-01-17 15:40 ` Simon Tournier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzoeg17w.fsf@gnu.org \
--to=janneke@gnu.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
--cc=maxim.cournoyer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.