[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: An update on ‘core-updates’
From: |
Janneke Nieuwenhuizen |
Subject: |
Re: An update on ‘core-updates’ |
Date: |
Fri, 12 Jan 2024 13:55:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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
>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
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com