[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
74/74: squash! REMOVEME gnu: Add gcc-11-fixed, enhancing `relax-gcc-14s-
From: |
guix-commits |
Subject: |
74/74: squash! REMOVEME gnu: Add gcc-11-fixed, enhancing `relax-gcc-14s-strictness' stage. |
Date: |
Sun, 15 Dec 2024 10:03:30 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 109eb53ec8da2da5ff3c88e096d2768dbb753455
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Dec 15 15:19:04 2024 +0100
squash! REMOVEME gnu: Add gcc-11-fixed, enhancing
`relax-gcc-14s-strictness' stage.
XXX To which gcc to add this, gcc-11, gcc-8, earlier?
* gnu/packages/gcc.scm (gcc-11-fixed): Add stage
`patch-compatibility.cc-for-gcc-14'.
Change-Id: I120c5d07b49970ce0f89678caf686001cd04b1fb
---
gnu/packages/gcc.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 51e5184daf..ba459a91ef 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -802,6 +802,15 @@ It also includes runtime support libraries for these
languages.")
(substitute-keyword-arguments (package-arguments gcc-8)
((#:phases phases)
#~(modify-phases #$phases
+ (add-after 'unpack 'patch-compatibility.cc-for-gcc-14
+ (lambda _
+ (substitute* "libstdc++-v3/src/c++98/compatibility.cc"
+ (("#define _GLIBCXX_APPLY_SYMVER" all)
+ (string-append "// " all))
+ (("#include <bits/compatibility.h>" all)
+ (string-append "// " all))
+ (("#undef _GLIBCXX_APPLY_SYMVER" all)
+ (string-append "// " all)))))
(replace 'relax-gcc-14s-strictness
(lambda* (#:key inputs #:allow-other-keys)
(let ((bash (assoc-ref inputs "bash"))
- 58/74: gnu: netdde: Use -Wno-error=., (continued)
- 58/74: gnu: netdde: Use -Wno-error=., guix-commits, 2024/12/15
- 61/74: gnu: libssh: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15
- 59/74: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2024/12/15
- 64/74: gnu: bootstrap: %bootstrap-glibc: Patch more files., guix-commits, 2024/12/15
- 68/74: gnu: clang-runtime: Remove gcc-12,13,14 from native-ipnuts., guix-commits, 2024/12/15
- 66/74: gnu: gcc-4.7: Add gcc-wrapper from gcc-final., guix-commits, 2024/12/15
- 69/74: guix: build-system: cmake: Rework cross compilation., guix-commits, 2024/12/15
- 67/74: bash-minimal: Use gcc-14 hurd/x86-linux build fix for all platforms., guix-commits, 2024/12/15
- 70/74: gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override., guix-commits, 2024/12/15
- 71/74: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2024/12/15
- 74/74: squash! REMOVEME gnu: Add gcc-11-fixed, enhancing `relax-gcc-14s-strictness' stage.,
guix-commits <=
- 73/74: REMOVEME gnu: Add gcc-11-fixed, enhancing `relax-gcc-14s-strictness' stage., guix-commits, 2024/12/15