[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/249: gnu: llvm-13: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
29/249: gnu: llvm-13: Fix build with gcc-14. |
Date: |
Mon, 6 Jan 2025 07:51:19 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 90f58ea2fae3e6ede8b76a63d6e0d4cbff1484b6
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 0f2da0ae44..fdccf5db12 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1783,6 +1783,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 727441e553..cbdaefd0b4 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -829,7 +829,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 {
- 95/249: gnu: syslinux: Drop python2 dependency., (continued)
- 95/249: gnu: syslinux: Drop python2 dependency., guix-commits, 2025/01/06
- 129/249: gnu: sofia-sip: Update to 1.13.17 and fix build with gcc-14., guix-commits, 2025/01/06
- 136/249: gnu: Add icu4c-71., guix-commits, 2025/01/06
- 140/249: gnu: zxing-cpp: Fix build with gcc-14., guix-commits, 2025/01/06
- 181/249: Revert "gnu: perl-tk: Fix build with gcc-14.", guix-commits, 2025/01/06
- 21/249: gnu: torsocks: Fix build with gcc-14., guix-commits, 2025/01/06
- 18/249: gnu: bdb: Use automake-1.16.5., guix-commits, 2025/01/06
- 09/249: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2025/01/06
- 08/249: gnu: libffi: Fix build for x86_64-linux with gcc-14., guix-commits, 2025/01/06
- 28/249: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2025/01/06
- 29/249: gnu: llvm-13: Fix build with gcc-14.,
guix-commits <=
- 43/249: gnu: gn: Fix build with gcc-14., guix-commits, 2025/01/06
- 34/249: gnu: gcc-boot0: Fix building for aarch64-linux., guix-commits, 2025/01/06
- 39/249: gnu: cyrus-sasl: Fix build mwith gcc-14., guix-commits, 2025/01/06
- 38/249: gnu: epson-inkjet-printer-escpr: Fix build with gcc-14., guix-commits, 2025/01/06
- 37/249: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23., guix-commits, 2025/01/06
- 35/249: gnu: zziplib: Update to 0.13.78; fixes build with gcc-14., guix-commits, 2025/01/06
- 45/249: gnu: openldap: Update to 2.6.9; fixes build with gcc-14., guix-commits, 2025/01/06
- 48/249: gnu: Add cryptsetup-minimal., guix-commits, 2025/01/06
- 51/249: gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14., guix-commits, 2025/01/06
- 61/249: gnu: libssh: Use -Wno-error= for Hurd cross-build., guix-commits, 2025/01/06