[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/246: gnu: libstdc++: Fix build for linux with gcc-14.
From: |
guix-commits |
Subject: |
20/246: gnu: libstdc++: Fix build for linux with gcc-14. |
Date: |
Sun, 12 Jan 2025 10:21:20 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 71337b3cd6e066ccf9f999f4fb171ad64d1e317d
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 5 15:14:37 2024 +0100
gnu: libstdc++: Fix build for linux with gcc-14.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: Rename stage
"patch-hurd64
to "patch-tzdb.cc and use for gcc >= 14 unrestrictedly.
Change-Id: Icaf0a31744dc6102d96444f531f3ba1878a61b6c
---
gnu/packages/gcc.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 6247919fec..f50856aca1 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1029,14 +1029,14 @@ using compilers other than GCC."
(add-before 'configure 'chdir
(lambda _
(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")))))
- '())))
+
+ #$@(if (version>=? (package-version gcc) "14")
+ #~((add-after 'unpack 'patch-tzdb.cc
+ (lambda _
+ (substitute* "libstdc++-v3/src/c++20/tzdb.cc"
+ (("#if ! defined _GLIBCXX_ZONEINFO_DIR")
+ "#if 1 // ! defined _GLIBCXX_ZONEINFO_DIR")))))
+ '()))
#:configure-flags '`("--disable-libstdcxx-pch"
,(string-append "--with-gxx-include-dir="
- 10/246: gnu: zip: Fix build with gcc-14., (continued)
- 10/246: gnu: zip: Fix build with gcc-14., guix-commits, 2025/01/12
- 09/246: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2025/01/12
- 05/246: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2025/01/12
- 02/246: Revert "Partial revert "gnu: bootstrap: %bootstrap-glibc: Also fix libm.so."", guix-commits, 2025/01/12
- 03/246: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd."", guix-commits, 2025/01/12
- 06/246: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2025/01/12
- 17/246: gnu: automake-1.16.5: Skip tests., guix-commits, 2025/01/12
- 15/246: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2025/01/12
- 18/246: gnu: bdb: Use automake-1.16.5., guix-commits, 2025/01/12
- 19/246: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2025/01/12
- 20/246: gnu: libstdc++: Fix build for linux with gcc-14.,
guix-commits <=
- 24/246: gnu: go-1.21.5: Skip test failing with gcc-14., guix-commits, 2025/01/12
- 29/246: gnu: llvm-13: Fix build with gcc-14., guix-commits, 2025/01/12
- 30/246: gnu: hplip: Update to 3.24.4 and fix build with gcc-14., guix-commits, 2025/01/12
- 32/246: gnu: serf: Update to 1.3.10 and fix build with gcc-14., guix-commits, 2025/01/12
- 31/246: gnu: libxaw3d: Update to 1.6.6, fixes build with gcc-14., guix-commits, 2025/01/12
- 33/246: gnu: localed: Fix build with gcc-14., guix-commits, 2025/01/12
- 34/246: gnu: gcc-boot0: Fix building for aarch64-linux., guix-commits, 2025/01/12
- 39/246: gnu: cyrus-sasl: Fix build mwith gcc-14., guix-commits, 2025/01/12
- 40/246: gnu: jack-1: Fix build with gcc-14., guix-commits, 2025/01/12
- 43/246: gnu: gn: Fix build with gcc-14., guix-commits, 2025/01/12