diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-03-24 06:43:03 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2016-03-24 06:43:03 +0000 |
| commit | bef9311982e38876497c731a1d6726efcdd4aca9 (patch) | |
| tree | 8d2e6b529d14ce9164fa28c63cdae19ebe0c85db /recipes-devtools/clang/libcxxabi | |
| parent | 4e430cc7b14c2e52071c03b796b1b7a017b4790f (diff) | |
| download | meta-clang-bef9311982e38876497c731a1d6726efcdd4aca9.tar.gz | |
libcxxabi: Fix build on arm
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/libcxxabi')
| -rw-r--r-- | recipes-devtools/clang/libcxxabi/0001-Do-not-use-LIBCXXABI_ARM_EHABI.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-devtools/clang/libcxxabi/0001-Do-not-use-LIBCXXABI_ARM_EHABI.patch b/recipes-devtools/clang/libcxxabi/0001-Do-not-use-LIBCXXABI_ARM_EHABI.patch new file mode 100644 index 0000000..0684d2c --- /dev/null +++ b/recipes-devtools/clang/libcxxabi/0001-Do-not-use-LIBCXXABI_ARM_EHABI.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From 141910ae8cee87307a89a9e43894000dcf47366e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Thu, 24 Mar 2016 06:31:35 +0000 | ||
| 4 | Subject: [PATCH] Do not use LIBCXXABI_ARM_EHABI | ||
| 5 | |||
| 6 | Fixes errors like | ||
| 7 | libcxxabi/src/cxa_exception.cpp:258:21: error: unknown type name '_Unwind_Control_Block' | ||
| 8 | static_cast<_Unwind_Control_Block*>(unwind_exception)->barrier_cache.bitpattern[0]); | ||
| 9 | |||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | include/__cxxabi_config.h | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/include/__cxxabi_config.h b/include/__cxxabi_config.h | ||
| 16 | index 68e325f..41fc953 100644 | ||
| 17 | --- a/include/__cxxabi_config.h | ||
| 18 | +++ b/include/__cxxabi_config.h | ||
| 19 | @@ -12,7 +12,7 @@ | ||
| 20 | |||
| 21 | #if defined(__arm__) && !defined(__USING_SJLJ_EXCEPTIONS__) && \ | ||
| 22 | !defined(__ARM_DWARF_EH__) | ||
| 23 | -#define LIBCXXABI_ARM_EHABI 1 | ||
| 24 | +#define LIBCXXABI_ARM_EHABI 0 | ||
| 25 | #else | ||
| 26 | #define LIBCXXABI_ARM_EHABI 0 | ||
| 27 | #endif | ||
| 28 | -- | ||
| 29 | 1.9.1 | ||
| 30 | |||
