[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/61: gnu: libstdc++: Fix build for x86-linux with gcc-14.
From: |
guix-commits |
Subject: |
21/61: gnu: libstdc++: Fix build for x86-linux with gcc-14. |
Date: |
Thu, 12 Dec 2024 05:41:58 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 0640f6703a75a109e0148daa260d7bcff63e2d80
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 5 15:14:37 2024 +0100
gnu: libstdc++: Fix build for x86-linux with gcc-14.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: When building with
gcc-14
for x86-linux, add stage patch-x86_64-linux.
Change-Id: Icaf0a31744dc6102d96444f531f3ba1878a61b6c
---
gnu/packages/gcc.scm | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 6247919fec..6fdc47dc94 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1029,14 +1029,21 @@ 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 (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 (and (target-x86?) (target-linux?)
+ (version>=? (package-version gcc) "14"))
+ #~((add-after 'unpack 'patch-x86_64-linux
+ (lambda _
+ (substitute* "libstdc++-v3/src/c++20/tzdb.cc"
+ (("#if ! defined _GLIBCXX_ZONEINFO_DIR")
+ "#if __x86_64__ || ! defined
_GLIBCXX_ZONEINFO_DIR")))))
+ '()))
#:configure-flags '`("--disable-libstdcxx-pch"
,(string-append "--with-gxx-include-dir="
- 05/61: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14., (continued)
- 05/61: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/12
- 02/61: Revert "Partial revert "gnu: bootstrap: %bootstrap-glibc: Also fix libm.so."", guix-commits, 2024/12/12
- 10/61: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2024/12/12
- 06/61: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2024/12/12
- 24/61: gnu: expect: Fix build with gcc-14., guix-commits, 2024/12/12
- 08/61: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/12
- 07/61: gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/12
- 12/61: gnu: gettext: Fix build with gcc-14., guix-commits, 2024/12/12
- 13/61: gnu: gettext: Update to 0.23., guix-commits, 2024/12/12
- 20/61: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2024/12/12
- 21/61: gnu: libstdc++: Fix build for x86-linux with gcc-14.,
guix-commits <=
- 11/61: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/12
- 22/61: gnu: torsocks: Fix build with gcc-14., guix-commits, 2024/12/12
- 04/61: gnu: %bootstrap-glibc: Patch more files., guix-commits, 2024/12/12
- 15/61: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/12
- 17/61: gnu: Re-Add automake-1.16.5., guix-commits, 2024/12/12
- 30/61: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/12
- 39/61: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23., guix-commits, 2024/12/12
- 41/61: gnu: cyrus-sasl: Fix build mwith gcc-14., guix-commits, 2024/12/12
- 45/61: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/12
- 46/61: gnu: ntp: Fix build with gcc-14., guix-commits, 2024/12/12