[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
31/61: gnu: llvm-13: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
31/61: gnu: llvm-13: Fix build with gcc-14. |
Date: |
Thu, 12 Dec 2024 05:42:00 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit ccf417fa76de7792fc6fa4dd8c82d2882a36483c
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Dec 8 14:49:21 2024 +0100
gnu: llvm-13: Fix build with gcc-14.
* gnu/packages/patches/llvm-13-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/llvm.scm (llvm-13): Use it.
Change-Id: I3b9d3b894b0ae6ffe375d3e22f4f4a07d81a77c5
---
gnu/local.mk | 1 +
gnu/packages/llvm.scm | 3 ++-
gnu/packages/patches/llvm-13-gcc-14.patch | 12 ++++++++++++
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index ae03e5822e..4fc9fe39f4 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1768,6 +1768,7 @@ dist_patch_DATA =
\
%D%/packages/patches/llvm-9-fix-bitcast-miscompilation.patch \
%D%/packages/patches/llvm-9-fix-lpad-miscompilation.patch \
%D%/packages/patches/llvm-9-fix-scev-miscompilation.patch \
+ %D%/packages/patches/llvm-13-gcc-14.patch \
%D%/packages/patches/lm-sensors-hwmon-attrs.patch \
%D%/packages/patches/lsh-fix-x11-forwarding.patch \
%D%/packages/patches/lsof-compat-linux-6.9.patch \
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 48a23543ab..0d48432e3f 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -828,7 +828,8 @@ Library.")
(uri (llvm-uri "llvm" version))
(sha256
(base32
- "0d681xiixmx9inwvz14vi3xsznrcryk06a8rvk9cljiq5kc80szc"))))
+ "0d681xiixmx9inwvz14vi3xsznrcryk06a8rvk9cljiq5kc80szc"))
+ (patches (search-patches "llvm-13-gcc-14.patch"))))
(arguments
(substitute-keyword-arguments (package-arguments llvm-14)
((#:phases phases '%standard-phases)
diff --git a/gnu/packages/patches/llvm-13-gcc-14.patch
b/gnu/packages/patches/llvm-13-gcc-14.patch
new file mode 100644
index 0000000000..a7697b01d0
--- /dev/null
+++ b/gnu/packages/patches/llvm-13-gcc-14.patch
@@ -0,0 +1,12 @@
+See: https://github.com/smlnj/smlnj/issues/279
+
+--- llvm-13.0.1.src/include/llvm/Support/Signals.h.orig 2024-12-08
14:34:21.338967469 +0100
++++ llvm-13.0.1.src/include/llvm/Support/Signals.h 2024-12-08
14:32:22.486780827 +0100
+@@ -14,6 +14,7 @@
+ #ifndef LLVM_SUPPORT_SIGNALS_H
+ #define LLVM_SUPPORT_SIGNALS_H
+
++#include <cstdint>
+ #include <string>
+
+ namespace llvm {
- 15/61: gnu: automake: Fix build with gcc-14., (continued)
- 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
- 51/61: gnu: Use cryptsetup-minimal instead of cryptsetup., guix-commits, 2024/12/12
- 61/61: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2024/12/12
- 48/61: gnu: pth: Fix build with gcc-14., guix-commits, 2024/12/12
- 31/61: gnu: llvm-13: Fix build with gcc-14.,
guix-commits <=
- 09/61: gnu: libffi: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/12
- 01/61: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", guix-commits, 2024/12/12
- 14/61: gnu: unzip: Fix build with gcc-14., guix-commits, 2024/12/12
- 16/61: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2024/12/12
- 19/61: gnu: bdb: Use automake-1.16.5., guix-commits, 2024/12/12
- 18/61: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/12
- 23/61: gnu: commencement: static-bash-for-glibc Fix x86-linux build., guix-commits, 2024/12/12
- 25/61: gnu: guile-lzlib: Fix build with gcc-14., guix-commits, 2024/12/12
- 26/61: gnu: go-1.21.5: Skip test failing with gcc-14., guix-commits, 2024/12/12
- 29/61: gnu: cmake-bootstrap: Fix build with gcc-14., guix-commits, 2024/12/12