[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/30: gnu: cross-libc: Build fix for the Hurd.
From: |
guix-commits |
Subject: |
05/30: gnu: cross-libc: Build fix for the Hurd. |
Date: |
Sat, 21 Mar 2020 19:36:24 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 8d7baeac60d6cb929b871b414837252918070657
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Mon Mar 9 14:38:18 2020 +0100
gnu: cross-libc: Build fix for the Hurd.
This fixes cross building of coreutils, e.g.
./pre-inst-env guix build --target=i586-pc-gnu coreutils
* gnu/packages/cross-base.scm (cross-libc): Add -lhurduser, -lmachuser for
the
Hurd.
---
gnu/packages/cross-base.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 667d1f7..d88c1b5 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -494,7 +494,17 @@ and the cross tool chain."
',%gcc-cross-include-paths)
(setenv "CROSS_LIBRARY_PATH"
(string-append kernel "/lib")) ; for Hurd's
libihash
- #t)))))))
+ #t)))
+ ,@(if (hurd-triplet? target)
+ '((add-after 'install 'augment-libc.so
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (substitute* (string-append out "/lib/libc.so")
+ (("/[^ ]+/lib/libc.so.0.3")
+ (string-append out "/lib/libc.so.0.3"
+ " libmachuser.so
libhurduser.so"))))
+ #t)))
+ '())))))
;; Shadow the native "kernel-headers" because glibc's recipe expects
the
;; "kernel-headers" input to point to the right thing.
- branch wip-hurd created (now a016b45), guix-commits, 2020/03/21
- 02/30: gnu: hurd: Fix hurd-target?, add hurd-system?., guix-commits, 2020/03/21
- 05/30: gnu: cross-libc: Build fix for the Hurd.,
guix-commits <=
- 08/30: gnu: bootstrap: Use fall-back mechanism for bootstrap-executables., guix-commits, 2020/03/21
- 01/30: gnu: grub: Support for the Hurd., guix-commits, 2020/03/21
- 11/30: gnu: make: Support for the Hurd., guix-commits, 2020/03/21
- 07/30: gnu: bootstrap: gcc-static: Use gcc-5., guix-commits, 2020/03/21
- 10/30: gnu: java-jansi-native: Compile fix for the Hurd., guix-commits, 2020/03/21
- 04/30: gnu: glibc: Add signal SA_SIGINFO support for the Hurd., guix-commits, 2020/03/21
- 15/30: gnu: commencement: glibc-intermediate: Build fixes for the Hurd., guix-commits, 2020/03/21
- 03/30: gnu: glibc: Add clock patches for the Hurd., guix-commits, 2020/03/21
- 12/30: gnu: commencement: gnumach-headers-boot0: Build from tarball., guix-commits, 2020/03/21
- 06/30: Revert "gnu: guile-static-stripped: Update to 2.2.", guix-commits, 2020/03/21