summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-08-25 23:30:39 -0700
committerKhem Raj <raj.khem@gmail.com>2019-08-26 07:26:51 -0700
commit06d6c55db3bd2ae38567e5133ffcfb9fd4905150 (patch)
tree80bc1cfc646c5b9569b990832e7cc6eadc39cd6c
parent263ae8051e0bf45b7184318bada9e4b2d6145f08 (diff)
downloadmeta-clang-06d6c55db3bd2ae38567e5133ffcfb9fd4905150.tar.gz
clang: Update to latest on 9.x release
Fix libcxx build on mips Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-devtools/clang/clang.inc2
-rw-r--r--recipes-devtools/clang/clang/0001-libcxx-Fix-build-breakage-on-mips.patch31
-rw-r--r--recipes-devtools/clang/common.inc1
3 files changed, 33 insertions, 1 deletions
diff --git a/recipes-devtools/clang/clang.inc b/recipes-devtools/clang/clang.inc
index 590eb23..58dc452 100644
--- a/recipes-devtools/clang/clang.inc
+++ b/recipes-devtools/clang/clang.inc
@@ -8,7 +8,7 @@ MAJOR_VER = "9"
8MINOR_VER = "0" 8MINOR_VER = "0"
9PATCH_VER = "0" 9PATCH_VER = "0"
10 10
11SRCREV ?= "67a4a12d61bfb10b2410b53c5a43ef9b4a03de7d" 11SRCREV ?= "d0b88fce0a2175316792359b54d41864be416d16"
12 12
13PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}" 13PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}"
14BRANCH = "release/${MAJOR_VER}.x" 14BRANCH = "release/${MAJOR_VER}.x"
diff --git a/recipes-devtools/clang/clang/0001-libcxx-Fix-build-breakage-on-mips.patch b/recipes-devtools/clang/clang/0001-libcxx-Fix-build-breakage-on-mips.patch
new file mode 100644
index 0000000..aab18a8
--- /dev/null
+++ b/recipes-devtools/clang/clang/0001-libcxx-Fix-build-breakage-on-mips.patch
@@ -0,0 +1,31 @@
1From 8a53ec82043a463f0606427ee3e48df80b1233f8 Mon Sep 17 00:00:00 2001
2From: Mikhail Maltsev <mikhail.maltsev@arm.com>
3Date: Tue, 20 Aug 2019 10:19:55 +0000
4Subject: [PATCH] [libcxx] Fix build breakage on mips
5
6Fixes https://bugs.llvm.org/show_bug.cgi?id=43011 caused by
7https://reviews.llvm.org/D63284.
8
9Committing as obvious.
10
11llvm-svn: 369364
12---
13 libcxx/include/__locale | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/libcxx/include/__locale b/libcxx/include/__locale
17index d382e4d8a94..2b6982fc681 100644
18--- a/libcxx/include/__locale
19+++ b/libcxx/include/__locale
20@@ -409,7 +409,7 @@ public:
21 static const mask xdigit = _ISxdigit;
22 static const mask blank = _ISblank;
23 #if defined(__mips__)
24- static const mask __regex_word = static_cast<char_class_type>(_ISbit(15));
25+ static const mask __regex_word = static_cast<mask>(_ISbit(15));
26 #else
27 static const mask __regex_word = 0x80;
28 #endif
29--
302.23.0
31
diff --git a/recipes-devtools/clang/common.inc b/recipes-devtools/clang/common.inc
index 82f5bfd..e3c8f9a 100644
--- a/recipes-devtools/clang/common.inc
+++ b/recipes-devtools/clang/common.inc
@@ -28,6 +28,7 @@ SRC_URI = "\
28 file://0018-clang-Initial-implementation-of-fmacro-prefix-map-an.patch \ 28 file://0018-clang-Initial-implementation-of-fmacro-prefix-map-an.patch \
29 file://0019-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch \ 29 file://0019-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch \
30 file://0020-clang-default-to-lp64d-ABI-and-rv64gc-ISA.patch \ 30 file://0020-clang-default-to-lp64d-ABI-and-rv64gc-ISA.patch \
31 file://0001-libcxx-Fix-build-breakage-on-mips.patch \
31" 32"
32 33
33# Fallback to no-PIE if not set 34# Fallback to no-PIE if not set