summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/layer.conf2
-rw-r--r--recipes-devtools/clang/clang.inc4
-rw-r--r--recipes-devtools/clang/clang/0038-Add-missing-cstdint.patch32
-rw-r--r--recipes-devtools/clang/common.inc1
4 files changed, 3 insertions, 36 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index 8938b39..41cf3d8 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -31,7 +31,7 @@ INHERIT += "clang"
31# Do not include clang in SDK unless user wants to 31# Do not include clang in SDK unless user wants to
32CLANGSDK ??= "0" 32CLANGSDK ??= "0"
33 33
34LLVMVERSION = "14.0.5" 34LLVMVERSION = "14.0.6"
35 35
36require conf/nonclangable.conf 36require conf/nonclangable.conf
37require conf/nonscanable.conf 37require conf/nonscanable.conf
diff --git a/recipes-devtools/clang/clang.inc b/recipes-devtools/clang/clang.inc
index e9b6506..253c128 100644
--- a/recipes-devtools/clang/clang.inc
+++ b/recipes-devtools/clang/clang.inc
@@ -6,9 +6,9 @@ LLVM_GIT_PROTOCOL ?= "https"
6 6
7MAJOR_VER = "14" 7MAJOR_VER = "14"
8MINOR_VER = "0" 8MINOR_VER = "0"
9PATCH_VER = "5" 9PATCH_VER = "6"
10 10
11SRCREV ?= "b950bd2ce7ff79b203b2acba02e1c468836989ae" 11SRCREV ?= "f28c006a5895fc0e329fe15fead81e37457cb1d1"
12 12
13PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}" 13PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}"
14BRANCH = "release/14.x" 14BRANCH = "release/14.x"
diff --git a/recipes-devtools/clang/clang/0038-Add-missing-cstdint.patch b/recipes-devtools/clang/clang/0038-Add-missing-cstdint.patch
deleted file mode 100644
index f6ef7ad..0000000
--- a/recipes-devtools/clang/clang/0038-Add-missing-cstdint.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From ff1681ddb303223973653f7f5f3f3435b48a1983 Mon Sep 17 00:00:00 2001
2From: Sergei Trofimovich <slyich@gmail.com>
3Date: Mon, 23 May 2022 08:03:23 +0100
4Subject: [PATCH] [Support] Add missing <cstdint> header to Signals.h
5
6Without the change llvm build fails on this week's gcc-13 snapshot as:
7
8 [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
9 In file included from llvm/lib/Support/Signals.cpp:14:
10 llvm/include/llvm/Support/Signals.h:119:8: error: variable or field 'CleanupOnSignal' declared void
11 119 | void CleanupOnSignal(uintptr_t Context);
12 | ^~~~~~~~~~~~~~~
13
14Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/ff1681ddb303223973653f7f5f3f3435b48a1983]
15
16Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
17---
18 llvm/include/llvm/Support/Signals.h | 1 +
19 1 file changed, 1 insertion(+)
20
21diff --git a/llvm/include/llvm/Support/Signals.h b/llvm/include/llvm/Support/Signals.h
22index 44f5a750ff5cb..937e0572d4a72 100644
23--- a/llvm/include/llvm/Support/Signals.h
24+++ b/llvm/include/llvm/Support/Signals.h
25@@ -14,6 +14,7 @@
26 #ifndef LLVM_SUPPORT_SIGNALS_H
27 #define LLVM_SUPPORT_SIGNALS_H
28
29+#include <cstdint>
30 #include <string>
31
32 namespace llvm {
diff --git a/recipes-devtools/clang/common.inc b/recipes-devtools/clang/common.inc
index ad35128..77d7142 100644
--- a/recipes-devtools/clang/common.inc
+++ b/recipes-devtools/clang/common.inc
@@ -47,7 +47,6 @@ SRC_URI = "\
47 file://0035-compiler-rt-Enable-__int128-for-ppc32.patch \ 47 file://0035-compiler-rt-Enable-__int128-for-ppc32.patch \
48 file://0036-compiler-rt-builtins-Move-DMB-definition-to-syn-opsh.patch \ 48 file://0036-compiler-rt-builtins-Move-DMB-definition-to-syn-opsh.patch \
49 file://0037-sanitizer-Remove-include-linux-fs.h-to-resolve-fscon.patch \ 49 file://0037-sanitizer-Remove-include-linux-fs.h-to-resolve-fscon.patch \
50 file://0038-Add-missing-cstdint.patch \
51 " 50 "
52# Fallback to no-PIE if not set 51# Fallback to no-PIE if not set
53GCCPIE ??= "" 52GCCPIE ??= ""