[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/33: gnu: commencement: gcc-boot0: Build fix for the Hurd.
From: |
guix-commits |
Subject: |
23/33: gnu: commencement: gcc-boot0: Build fix for the Hurd. |
Date: |
Tue, 10 Mar 2020 03:58:49 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 7a57ca758c590742b63100944f07fddb7290f797
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Sun Mar 1 13:45:42 2020 +0100
gnu: commencement: gcc-boot0: Build fix for the Hurd.
Fixes:
g++ -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H
-DGENERATOR_FILE -fno-PIE -static-libstdc++ -static-libgcc
-Wl,-rpath=/gnu/store/vp2id82a597p119b3wyhhkhd467wvn78-glibc-bootstrap-0/lib
-Wl,-dynamic-linker -Wl,/gnu/store/vp2id82a597p119b3w [...]
build/genmddeps.o build/read-md.o build/errors.o
../build-i586-unknown-gnu/libiberty/libiberty.a
/gnu/store/jk3kx5jwjs9m60svzk6sz79bf0w33l91-binutils-cross-boot0-2.34/bin/ld:
build/read-md.o: in function `md_reader::~md_reader()':
/tmp/guix-build-gcc-cross-boot0-7.5.0.drv-0/build/gcc/../../gcc-7.5.0/gcc/read-md.c:1049:
undefined reference to `operator delete(void*, unsigned int)'
This raises the question: Should libstdc++-boot0 (v4.9) be sufficient to
build
gcc-boot0 (v7.5.0)?
* gnu/packages/commencement.scm (gcc-boot0): Add static library path.
---
gnu/packages/commencement.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 9524748..9e019fb 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2841,6 +2841,10 @@ exec " gcc "/bin/" program
(libc-native (or (assoc-ref %build-inputs "libc-native")
libc)))
`(,(string-append "LDFLAGS="
+ (if ,(hurd-system?)
+ (string-append
+ "-L" (assoc-ref %build-inputs "gcc")
"/lib ")
+ "")
"-Wl,-rpath=" libc-native "/lib "
"-Wl,-dynamic-linker "
"-Wl," libc-native ,(glibc-dynamic-linker
- 10/33: gnu: fontconfig: Build fix for the Hurd., (continued)
- 10/33: gnu: fontconfig: Build fix for the Hurd., guix-commits, 2020/03/10
- 19/33: gnu: inetutils: Support for the Hurd., guix-commits, 2020/03/10
- 31/33: gnu: commencement: glibc-final: Allow gnumach-headers references., guix-commits, 2020/03/10
- 21/33: gnu: shadow: Build fix for the Hurd., guix-commits, 2020/03/10
- 12/33: gnu: glibc: Add signal SA_SIGINFO support for the Hurd., guix-commits, 2020/03/10
- 16/33: gnu: pciutils: Remove kmod dependency for the Hurd., guix-commits, 2020/03/10
- 14/33: gnu: shadow: Add linux-pam dependency for the Hurd., guix-commits, 2020/03/10
- 26/33: gnu: commencement: hurd-minimal-boot0: Build from tarball., guix-commits, 2020/03/10
- 28/33: gnu: commencement: Update hurd-source to latest git., guix-commits, 2020/03/10
- 29/33: gnu: commencement: gnumach-headers-boot0: Update to 1.8-116-g28b53508., guix-commits, 2020/03/10
- 23/33: gnu: commencement: gcc-boot0: Build fix for the Hurd.,
guix-commits <=
- 20/33: gnu: screen: Build fix for the Hurd., guix-commits, 2020/03/10
- 33/33: daemon: Workaround issues for the Hurd., guix-commits, 2020/03/10
- 22/33: gnu: mit-krb5: Supprt for the Hurd., guix-commits, 2020/03/10
- 32/33: gnu: hurd: Update to hurd-headers version: 0.9-91a51672., guix-commits, 2020/03/10
- 15/33: gnu: coreutils: Remove libcap dependency for the Hurd., guix-commits, 2020/03/10
- 24/33: gnu: commencement: gnumach-headers-boot0: Build from tarball., guix-commits, 2020/03/10
- 30/33: gnu: commencement: static-bash-for-glibc: Hurd build fix., guix-commits, 2020/03/10