[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/27: gnu: libstdc++: Support the 64bit Hurd.
From: |
guix-commits |
Subject: |
11/27: gnu: libstdc++: Support the 64bit Hurd. |
Date: |
Tue, 3 Dec 2024 02:41:14 -0500 (EST) |
janneke pushed a commit to branch master
in repository guix.
commit cb765c421846a79d9dae8f0c090cc7e0b85e8d88
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Nov 4 19:58:01 2024 +0100
gnu: libstdc++: Support the 64bit Hurd.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: When building for the
64bit Hurd, add stage patch-hurd64.
Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602
---
gnu/packages/gcc.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index c9e475b676..64ba37fd69 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1024,7 +1024,15 @@ using compilers other than GCC."
(("/lib64") "/lib")))))
(add-before 'configure 'chdir
(lambda _
- (chdir "libstdc++-v3"))))
+ (chdir "libstdc++-v3")))
+ #$@(let ((version (package-version gcc)))
+ (if (target-hurd64?)
+ #~((add-after 'unpack 'patch-hurd64
+ (lambda _
+ (substitute* "libstdc++-v3/src/c++20/tzdb.cc"
+ (("#if ! defined _GLIBCXX_ZONEINFO_DIR")
+ "#if __GNU__ || ! defined
_GLIBCXX_ZONEINFO_DIR")))))
+ '())))
#:configure-flags '`("--disable-libstdcxx-pch"
,(string-append "--with-gxx-include-dir="
- 04/27: gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd., (continued)
- 04/27: gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd., guix-commits, 2024/12/03
- 07/27: gnu: elfutils: Fix build for 64bit Hurd., guix-commits, 2024/12/03
- 06/27: gnu: bash-minimal: Support [cross-]build with gcc-14., guix-commits, 2024/12/03
- 15/27: gnu: flex: Fix [cross-]build with gcc-14., guix-commits, 2024/12/03
- 01/27: gnu: gnumach: Update to v1.8+git20240714., guix-commits, 2024/12/03
- 03/27: gnu: hurd: Update to 0.9.git20240714., guix-commits, 2024/12/03
- 05/27: gnu: cross-libc: Support cross-building for the 64bit Hurd., guix-commits, 2024/12/03
- 02/27: gnu: mig: Update to 1.8+git20231217., guix-commits, 2024/12/03
- 08/27: gnu: grep: Fix build for the 64bit Hurd., guix-commits, 2024/12/03
- 10/27: gnu: libxcrypt: Support the 64bit Hurd., guix-commits, 2024/12/03
- 11/27: gnu: libstdc++: Support the 64bit Hurd.,
guix-commits <=
- 09/27: gnu: patch: Fix build for the 64bit Hurd., guix-commits, 2024/12/03
- 17/27: gnu: perl: Support [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/12/03
- 25/27: gnu: gcc-14: Force libdir /lib instead of /lib64 for the 64bit Hurd., guix-commits, 2024/12/03
- 27/27: gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd., guix-commits, 2024/12/03
- 21/27: gnu: libedit: Fix [cross-]build with gcc-14 for 32bit., guix-commits, 2024/12/03
- 26/27: gnu: glibc/hurd: Add patch for the 64bit Hurd, fixing "raise"., guix-commits, 2024/12/03
- 18/27: gnu: texinfo-4: Fix [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/12/03
- 16/27: gnu: libffi: Fix [cross-]build with gcc-14., guix-commits, 2024/12/03
- 13/27: gnu: bash: Avoid hang when cross-built for the Hurd., guix-commits, 2024/12/03
- 12/27: gnu: glibc/hurd: Add patches for the 64bit Hurd., guix-commits, 2024/12/03