[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/58: gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit H
From: |
guix-commits |
Subject: |
27/58: gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd. |
Date: |
Sun, 24 Nov 2024 02:50:37 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 417cc042f45d6107ca5014cf099e2cb5a3869051
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Nov 17 20:30:17 2024 +0100
gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd.
* gnu/packages/make-bootstrap.scm (%gcc-static): Use gcc-14. Update to use
G-Expressions.
[inputs]: Remove libstdc++ and libstdc++-headers.
(%gcc-stripped): Use gcc-14.
[inputs, native-inputs]: Clear fields.
Change-Id: I4e6d779cb457b256d80d1882f182b72a6f7d2be2
---
gnu/packages/make-bootstrap.scm | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 689d48d342..e0dcca7b33 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -488,11 +488,11 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
(define %gcc-static
;; A statically-linked GCC, with stripped-down functionality.
(package-with-relocatable-glibc
- (package (inherit gcc)
+ (package (inherit gcc-14)
(name "gcc-static")
(outputs '("out")) ; all in one
(arguments
- (substitute-keyword-arguments (package-arguments gcc)
+ (substitute-keyword-arguments (package-arguments gcc-14)
((#:modules modules %default-gnu-modules)
`((srfi srfi-1)
(srfi srfi-26)
@@ -501,7 +501,7 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
((#:guile _) #f)
((#:implicit-inputs? _) #t)
((#:configure-flags flags)
- `(append (list
+ #~(append (list
;; We don't need a full bootstrap here.
"--disable-bootstrap"
@@ -526,9 +526,9 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
"--disable-libssp"
"--disable-libquadmath")
(remove (cut string-match "--(.*plugin|enable-languages)" <>)
- ,flags)))
+ #$flags)))
((#:phases phases)
- `(modify-phases ,phases
+ #~(modify-phases #$phases
(add-after 'pre-configure 'remove-lgcc_s
(lambda _
;; Remove the '-lgcc_s' added to GNU_USER_TARGET_LIB_SPEC in
@@ -538,12 +538,12 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
(substitute* (cons "gcc/config/rs6000/sysv4.h"
(find-files "gcc/config"
"^gnu-user.*\\.h$"))
- ((" -lgcc_s}}") "}}"))
- #t))))))
+ ((" -lgcc_s}}") "}}"))))))))
(inputs
`(("zlib:static" ,zlib "static")
("isl:static" ,isl "static")
- ,@(package-inputs gcc)))
+ ,@(fold alist-delete (package-inputs gcc-14)
+ '("libstdc++" "libstdc++-headers"))))
(native-inputs
(if (%current-target-system)
`(;; When doing a Canadian cross, we need GMP/MPFR/MPC both
@@ -556,17 +556,19 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
("gmp-native" ,gmp)
("mpfr-native" ,mpfr)
("mpc-native" ,mpc)
- ,@(package-native-inputs gcc))
- (package-native-inputs gcc))))))
+ ,@(package-native-inputs gcc-14))
+ (package-native-inputs gcc-14))))))
(define %gcc-stripped
;; The subset of GCC files needed for bootstrap.
(package
- (inherit gcc)
+ (inherit gcc-14)
(name "gcc-stripped")
(build-system trivial-build-system)
(source #f)
(outputs '("out")) ;only one output
+ (inputs '())
+ (native-inputs '())
(arguments
(list #:modules '((guix build utils))
#:builder
@@ -632,6 +634,7 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
(propagated-inputs
(modify-inputs (package-propagated-inputs guile)
(replace "libgc" libgc/static-libs)))
+
(arguments
(substitute-keyword-arguments (package-arguments guile)
((#:configure-flags flags #~'())
- 09/58: gnu: patch: Fix build for the 64bit Hurd., (continued)
- 09/58: gnu: patch: Fix build for the 64bit Hurd., guix-commits, 2024/11/24
- 04/58: gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd., guix-commits, 2024/11/24
- 23/58: gnu: guile-lzlib: Support [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/24
- 39/58: gnu: inetutils: Fix build for the 64bit Hurd., guix-commits, 2024/11/24
- 41/58: gnu: guile-fibers: Fix build for the 64bit Hurd., guix-commits, 2024/11/24
- 44/58: gnu: commencement: mig-boot0: Update to 1.8+git20231217.., guix-commits, 2024/11/24
- 47/58: gnu: gettext: Fix cross-build shebangs., guix-commits, 2024/11/24
- 50/58: system: examples: Add bare-hurd64.tmpl., guix-commits, 2024/11/24
- 58/58: gnu: commencement: gcc-final: Support the 64bit Hurd., guix-commits, 2024/11/24
- 26/58: gnu: glibc/hurd: Add patch for the 64bit Hurd, fixing "raise"., guix-commits, 2024/11/24
- 27/58: gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd.,
guix-commits <=
- 02/58: gnu: mig: Update to 1.8+git20231217., guix-commits, 2024/11/24
- 14/58: gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/24
- 13/58: gnu: bash: Avoid hang when cross-built for the Hurd., guix-commits, 2024/11/24
- 19/58: gnu: hurd: Fix build with gcc-14., guix-commits, 2024/11/24
- 17/58: gnu: perl: Support [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/24
- 25/58: gnu: gcc-14: Force libdir /lib instead of /lib64 for the 64bit Hurd., guix-commits, 2024/11/24
- 20/58: gnu: netdde: Fix build with gcc-14., guix-commits, 2024/11/24
- 28/58: DRAFT gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd., guix-commits, 2024/11/24
- 29/58: system: image: Add hurd64 image types., guix-commits, 2024/11/24
- 33/58: gnu: libpciaccess: Support the 64bit Hurd., guix-commits, 2024/11/24