summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-devtools/clang/compiler-rt/0004-Disable-tsan-on-OE-glibc.patch29
-rw-r--r--recipes-devtools/clang/compiler-rt_git.bb1
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes-devtools/clang/compiler-rt/0004-Disable-tsan-on-OE-glibc.patch b/recipes-devtools/clang/compiler-rt/0004-Disable-tsan-on-OE-glibc.patch
new file mode 100644
index 0000000..01c6caf
--- /dev/null
+++ b/recipes-devtools/clang/compiler-rt/0004-Disable-tsan-on-OE-glibc.patch
@@ -0,0 +1,29 @@
1From a74650380d930a049aeee3c90c70141ad4178d0b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 18 Jul 2016 08:05:02 +0000
4Subject: [PATCH 4/4] Disable tsan on OE/glibc
5
6It does not build see
7http://lists.llvm.org/pipermail/llvm-dev/2016-July/102235.html
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 cmake/config-ix.cmake | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
15index ddb0304..4241771 100644
16--- a/cmake/config-ix.cmake
17+++ b/cmake/config-ix.cmake
18@@ -452,7 +452,7 @@ else()
19 endif()
20
21 if (COMPILER_RT_HAS_SANITIZER_COMMON AND TSAN_SUPPORTED_ARCH AND
22- OS_NAME MATCHES "Darwin|Linux|FreeBSD")
23+ OS_NAME MATCHES "Darwin|FreeBSD")
24 set(COMPILER_RT_HAS_TSAN TRUE)
25 else()
26 set(COMPILER_RT_HAS_TSAN FALSE)
27--
282.9.0
29
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb
index 1fde158..6901473 100644
--- a/recipes-devtools/clang/compiler-rt_git.bb
+++ b/recipes-devtools/clang/compiler-rt_git.bb
@@ -20,6 +20,7 @@ SRC_URI = "${LLVM_GIT}/compiler-rt.git;protocol=${LLVM_GIT_PROTOCOL};branch=${B
20 file://0001-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch \ 20 file://0001-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch \
21 file://0002-support-a-new-embedded-linux-target.patch \ 21 file://0002-support-a-new-embedded-linux-target.patch \
22 file://0003-Simplify-cross-compilation.-Don-t-use-native-compile.patch \ 22 file://0003-Simplify-cross-compilation.-Don-t-use-native-compile.patch \
23 file://0004-Disable-tsan-on-OE-glibc.patch \
23" 24"
24 25
25SRCREV_FORMAT = "compiler-rt" 26SRCREV_FORMAT = "compiler-rt"