[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/237: gnu: llvm-13: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
29/237: gnu: llvm-13: Fix build with gcc-14. |
Date: |
Fri, 24 Jan 2025 11:06:24 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 97ec499cf8ce72df739eab636f3fc561e4081c4b
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 | 4 +++-
gnu/packages/patches/llvm-13-gcc-14.patch | 12 ++++++++++++
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index f75406aeba..e4b44c071d 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1795,6 +1795,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 c910e5888b..9760a8971c 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -27,6 +27,7 @@
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -829,7 +830,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 {
- 171/237: gnu: r-rcppparallel: Fix build with gcc-14., (continued)
- 171/237: gnu: r-rcppparallel: Fix build with gcc-14., guix-commits, 2025/01/24
- 177/237: gnu: python-pyportmidi: Fix build with gcc-14., guix-commits, 2025/01/24
- 192/237: gnu: r-fast: Fix build with gcc-14., guix-commits, 2025/01/24
- 189/237: gnu: Add autoconf-2.72., guix-commits, 2025/01/24
- 187/237: gnu: ghc-8.4.4: Build with gcc-13., guix-commits, 2025/01/24
- 197/237: gnu: gtksourceview-3.24.11: Fix build with gcc-14., guix-commits, 2025/01/24
- 201/237: gnu: python-cython-next: Build with gcc-13., guix-commits, 2025/01/24
- 204/237: Revert "gnu: openexr: Update to 3.3.2; fixes build with gcc-14.", guix-commits, 2025/01/24
- 228/237: gnu: clang-runtime-18: Build with gcc-13., guix-commits, 2025/01/24
- 26/237: gnu: xmlto: Fix build with gcc-14., guix-commits, 2025/01/24
- 29/237: gnu: llvm-13: Fix build with gcc-14.,
guix-commits <=
- 36/237: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2025/01/24
- 05/237: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2025/01/24
- 39/237: gnu: cyrus-sasl: Fix build mwith gcc-14., guix-commits, 2025/01/24
- 75/237: gnu: xorg-server-for-test: Update to 21.1.15; fixes build with gcc-14., guix-commits, 2025/01/24
- 127/237: gnu: python-2.7: Fix build with gcc-14., guix-commits, 2025/01/24
- 126/237: gnu: python: Use G-Expressions., guix-commits, 2025/01/24
- 106/237: gnu: libquicktime: Fix build with gcc-14., guix-commits, 2025/01/24
- 167/237: gnu: gunicorn: Update to 22.0.0., guix-commits, 2025/01/24
- 153/237: gnu: rrdtool: Update to 1.9.0; fixes build with gcc-14., guix-commits, 2025/01/24
- 145/237: gnu: vpnc-scripts: Fix build with gcc-14., guix-commits, 2025/01/24