[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/74: gnu: bootstrap: %bootstrap-glibc: Patch more files.
From: |
guix-commits |
Subject: |
64/74: gnu: bootstrap: %bootstrap-glibc: Patch more files. |
Date: |
Wed, 18 Dec 2024 08:07:19 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 37f024ab20bfbe20c852bce0958923b870c3de8c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 10 12:57:46 2024 +0200
gnu: bootstrap: %bootstrap-glibc: Patch more files.
* gnu/packages/bootstrap.scm (%bootstrap-glibc)[arguments]: When
building for x86* or arm* architectures also patch libpthread.so.
Change-Id: Ief0c78444bbde5c4a1849daa53e13dc3b154b1ed
---
gnu/packages/bootstrap.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 5973f9d214..ad1a0bc56d 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -774,10 +774,14 @@ $out/bin/guile --version~%"
(chmod "lib" #o755)
;; Patch linker scripts so they refer to the right file-names.
- (substitute* ,(if (target-hurd64?)
- ''("lib/libc.so" "lib/libm.so")
- "lib/libc.so")
- (("/[^ ]+/lib/(libc|libm|libh|ld)" _ prefix)
+ (substitute* ,(cond ((target-hurd64?)
+ ''("lib/libc.so" "lib/libm.so"))
+ ((or (target-x86?)
+ (target-arm?))
+ ''("lib/libc.so" "lib/libpthread.so"))
+ (else
+ ''("lib/libc.so")))
+ (("/[^ ]+/lib/(libc|libm|libh|libpthread|ld)" _ prefix)
(string-append out "/lib/" prefix)))))))))
(inputs
`(("tar" ,(bootstrap-executable "tar" (%current-system)))
- 66/74: gnu: gcc-4.7: Add gcc-wrapper from gcc-final., (continued)
- 66/74: gnu: gcc-4.7: Add gcc-wrapper from gcc-final., guix-commits, 2024/12/18
- 51/74: gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14., guix-commits, 2024/12/18
- 63/74: gnu: git: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/18
- 48/74: gnu: Add cryptsetup-minimal., guix-commits, 2024/12/18
- 74/74: gnu: clang-runtime: Remove gcc-12,13,14 from native-ipnuts., guix-commits, 2024/12/18
- 73/74: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2024/12/18
- 47/74: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2024/12/18
- 62/74: gnu: texinfo-4: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/18
- 68/74: gnu: gcc-11: Update to 11.5.0; fixes build with gcc-14., guix-commits, 2024/12/18
- 54/74: gnu: tevent: Update to 0.16.1; fixes build with gcc-14., guix-commits, 2024/12/18
- 64/74: gnu: bootstrap: %bootstrap-glibc: Patch more files.,
guix-commits <=
- 61/74: gnu: libssh: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/18
- 69/74: gnu: gcc-4.7: Fix build with gcc-14., guix-commits, 2024/12/18
- 59/74: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2024/12/18
- 55/74: gnu: ldb: Update to 2.9.2; fixes build with gcc-14., guix-commits, 2024/12/18
- 60/74: gnu: m4: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/18
- 52/74: gnu: talloc: Update to 2.4.2; fixes build with gcc-14., guix-commits, 2024/12/18
- 53/74: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/18
- 71/74: guix: build-system: cmake: Rework cross compilation., guix-commits, 2024/12/18
- 50/74: gnu: openblas: Update to 0.3.28; fixes build with gcc-14., guix-commits, 2024/12/18
- 70/74: Revert "gnu: gcc-4.7: Fix build with gcc-14.", guix-commits, 2024/12/18