diff options
-rw-r--r-- | conf/layer.conf | 2 | ||||
-rw-r--r-- | recipes-devtools/clang/clang.inc | 4 | ||||
-rw-r--r-- | recipes-devtools/clang/clang/0038-Add-missing-cstdint.patch | 32 | ||||
-rw-r--r-- | recipes-devtools/clang/common.inc | 1 |
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 |
32 | CLANGSDK ??= "0" | 32 | CLANGSDK ??= "0" |
33 | 33 | ||
34 | LLVMVERSION = "14.0.5" | 34 | LLVMVERSION = "14.0.6" |
35 | 35 | ||
36 | require conf/nonclangable.conf | 36 | require conf/nonclangable.conf |
37 | require conf/nonscanable.conf | 37 | require 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 | ||
7 | MAJOR_VER = "14" | 7 | MAJOR_VER = "14" |
8 | MINOR_VER = "0" | 8 | MINOR_VER = "0" |
9 | PATCH_VER = "5" | 9 | PATCH_VER = "6" |
10 | 10 | ||
11 | SRCREV ?= "b950bd2ce7ff79b203b2acba02e1c468836989ae" | 11 | SRCREV ?= "f28c006a5895fc0e329fe15fead81e37457cb1d1" |
12 | 12 | ||
13 | PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}" | 13 | PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}" |
14 | BRANCH = "release/14.x" | 14 | BRANCH = "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 @@ | |||
1 | From ff1681ddb303223973653f7f5f3f3435b48a1983 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sergei Trofimovich <slyich@gmail.com> | ||
3 | Date: Mon, 23 May 2022 08:03:23 +0100 | ||
4 | Subject: [PATCH] [Support] Add missing <cstdint> header to Signals.h | ||
5 | |||
6 | Without 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 | |||
14 | Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/ff1681ddb303223973653f7f5f3f3435b48a1983] | ||
15 | |||
16 | Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> | ||
17 | --- | ||
18 | llvm/include/llvm/Support/Signals.h | 1 + | ||
19 | 1 file changed, 1 insertion(+) | ||
20 | |||
21 | diff --git a/llvm/include/llvm/Support/Signals.h b/llvm/include/llvm/Support/Signals.h | ||
22 | index 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 |
53 | GCCPIE ??= "" | 52 | GCCPIE ??= "" |