diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-07-29 23:04:31 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-08-12 22:00:22 -0700 |
commit | 610a8e1a2ce02b77f905bac261e80b023450b573 (patch) | |
tree | 3618fab7398e489267dfee8dd1dc485ba1d1d948 /recipes-devtools/clang/clang/0005-compiler-rt-Disable-tsan-on-OE-glibc.patch | |
parent | c969fa61147845efdc6d3a47c782e2a71de745f9 (diff) | |
download | meta-clang-610a8e1a2ce02b77f905bac261e80b023450b573.tar.gz |
clang: Upgrade to 9.x-rcX
dont package six.py, its provided by python3-six package
default to lp64d ABI and rv64gc ISA.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/clang/0005-compiler-rt-Disable-tsan-on-OE-glibc.patch')
-rw-r--r-- | recipes-devtools/clang/clang/0005-compiler-rt-Disable-tsan-on-OE-glibc.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-devtools/clang/clang/0005-compiler-rt-Disable-tsan-on-OE-glibc.patch b/recipes-devtools/clang/clang/0005-compiler-rt-Disable-tsan-on-OE-glibc.patch new file mode 100644 index 0000000..137c309 --- /dev/null +++ b/recipes-devtools/clang/clang/0005-compiler-rt-Disable-tsan-on-OE-glibc.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From 28443a32a50da7631e24e9892f3ab420d1fb4a01 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 18 Jul 2016 08:05:02 +0000 | ||
4 | Subject: [PATCH 05/20] compiler-rt: Disable tsan on OE/glibc | ||
5 | |||
6 | It does not build see | ||
7 | http://lists.llvm.org/pipermail/llvm-dev/2016-July/102235.html | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | compiler-rt/cmake/config-ix.cmake | 2 +- | ||
12 | compiler-rt/test/sanitizer_common/CMakeLists.txt | 2 +- | ||
13 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake | ||
16 | index 3cc4c22304e..9da891b62e9 100644 | ||
17 | --- a/compiler-rt/cmake/config-ix.cmake | ||
18 | +++ b/compiler-rt/cmake/config-ix.cmake | ||
19 | @@ -619,7 +619,7 @@ else() | ||
20 | endif() | ||
21 | |||
22 | if (COMPILER_RT_HAS_SANITIZER_COMMON AND TSAN_SUPPORTED_ARCH AND | ||
23 | - OS_NAME MATCHES "Darwin|Linux|FreeBSD|Android|NetBSD") | ||
24 | + OS_NAME MATCHES "Darwin|FreeBSD|Android|NetBSD") | ||
25 | set(COMPILER_RT_HAS_TSAN TRUE) | ||
26 | else() | ||
27 | set(COMPILER_RT_HAS_TSAN FALSE) | ||
28 | diff --git a/compiler-rt/test/sanitizer_common/CMakeLists.txt b/compiler-rt/test/sanitizer_common/CMakeLists.txt | ||
29 | index 48fccf05855..b4a7f0adf14 100644 | ||
30 | --- a/compiler-rt/test/sanitizer_common/CMakeLists.txt | ||
31 | +++ b/compiler-rt/test/sanitizer_common/CMakeLists.txt | ||
32 | @@ -6,7 +6,7 @@ set(SANITIZER_COMMON_TESTSUITES) | ||
33 | # FIXME(dliew): We should switch to COMPILER_RT_SANITIZERS_TO_BUILD instead of | ||
34 | # the hard coded `SUPPORTED_TOOLS_INIT` list once we know that the other | ||
35 | # sanitizers work. | ||
36 | -set(SUPPORTED_TOOLS_INIT asan lsan msan tsan ubsan) | ||
37 | +set(SUPPORTED_TOOLS_INIT asan lsan msan ubsan) | ||
38 | set(SUPPORTED_TOOLS) | ||
39 | foreach(SANITIZER_TOOL ${SUPPORTED_TOOLS_INIT}) | ||
40 | string(TOUPPER ${SANITIZER_TOOL} SANITIZER_TOOL_UPPER) | ||
41 | -- | ||
42 | 2.22.0 | ||
43 | |||