summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-08-26 20:50:29 -0700
committerKhem Raj <raj.khem@gmail.com>2019-08-27 16:26:00 -0700
commit788b6808108fd216dbb5dc8247c3566b9ffb56b2 (patch)
treee6c351218346fe8a354f47ed1eb810bd4952331a
parentc734168a4df8520b364c6d82d6695714e901c9e6 (diff)
downloadmeta-clang-788b6808108fd216dbb5dc8247c3566b9ffb56b2.tar.gz
clang: Update to latest on 9.x
Drop upstreamed patch to 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, 1 insertions, 33 deletions
diff --git a/recipes-devtools/clang/clang.inc b/recipes-devtools/clang/clang.inc
index 58dc452..cf7d2fb 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 ?= "d0b88fce0a2175316792359b54d41864be416d16" 11SRCREV ?= "b2b72eca6623ebb9d70052a8546508c34fccb42c"
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
deleted file mode 100644
index aab18a8..0000000
--- a/recipes-devtools/clang/clang/0001-libcxx-Fix-build-breakage-on-mips.patch
+++ /dev/null
@@ -1,31 +0,0 @@
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 e3c8f9a..82f5bfd 100644
--- a/recipes-devtools/clang/common.inc
+++ b/recipes-devtools/clang/common.inc
@@ -28,7 +28,6 @@ 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 \
32" 31"
33 32
34# Fallback to no-PIE if not set 33# Fallback to no-PIE if not set