[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/31: gnu: cross-libc: Build fix for the Hurd.
From: |
guix-commits |
Subject: |
06/31: gnu: cross-libc: Build fix for the Hurd. |
Date: |
Tue, 17 Mar 2020 13:36:11 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 07ec46219b04cf5928c2cb3baf73f92de69cd2b7
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.
- 01/31: gnu: flex-2.6.1: Build fix for the Hurd., (continued)
- 01/31: gnu: flex-2.6.1: Build fix for the Hurd., guix-commits, 2020/03/17
- 04/31: gnu: glibc: Add clock patches for the Hurd., guix-commits, 2020/03/17
- 08/31: gnu: bootstrap: gcc-static: Use gcc-5., guix-commits, 2020/03/17
- 12/31: gnu: make: Support for the Hurd., guix-commits, 2020/03/17
- 10/31: gnu: bootstrap: Add support for the Hurd., guix-commits, 2020/03/17
- 14/31: gnu: commencement: hurd-headers-boot0: Build from tarball., guix-commits, 2020/03/17
- 16/31: gnu: commencement: glibc-intermediate: Build fixes for the Hurd., guix-commits, 2020/03/17
- 17/31: gnu: commencement: hurd-source: Update to latest git., guix-commits, 2020/03/17
- 20/31: gnu: hurd: Update to hurd-headers version: 0.9-91a51672., guix-commits, 2020/03/17
- 09/31: gnu: bootstrap: Use fall-back mechanism for bootstrap-executables., guix-commits, 2020/03/17
- 06/31: gnu: cross-libc: Build fix for the Hurd.,
guix-commits <=
- 07/31: Revert "gnu: guile-static-stripped: Update to 2.2.", guix-commits, 2020/03/17
- 11/31: gnu: java-jansi-native: Compile fix for the Hurd., guix-commits, 2020/03/17
- 13/31: gnu: commencement: gnumach-headers-boot0: Build from tarball., guix-commits, 2020/03/17
- 15/31: gnu: commencement: hurd-minimal-boot0: Build from tarball., guix-commits, 2020/03/17
- 05/31: gnu: glibc: Add signal SA_SIGINFO support for the Hurd., guix-commits, 2020/03/17
- 18/31: gnu: commencement: gnumach-headers-boot0: Update to 1.8-116-g28b53508., guix-commits, 2020/03/17
- 19/31: gnu: commencement: glibc-final: Allow gnumach-headers references., guix-commits, 2020/03/17
- 21/31: daemon: Do not use clone on the Hurd., guix-commits, 2020/03/17
- 22/31: daemon: Avoid kill -1 bug on the Hurd., guix-commits, 2020/03/17
- 26/31: gnu: pciutils: Build fixes for the Hurd., guix-commits, 2020/03/17