diff options
author | Jose Quaresma <jose.quaresma@foundries.io> | 2024-08-20 15:53:26 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-08-21 09:04:49 -0700 |
commit | ee30860682fd7ec7cf95aabf794ac43976d69567 (patch) | |
tree | 7ebf121ec7cf81a9755f0cecefc13e4dfeaba7d1 | |
parent | 19b0e27f8fefed75ea9c8e175a69298766c58c95 (diff) | |
download | meta-clang-ee30860682fd7ec7cf95aabf794ac43976d69567.tar.gz |
nonclangable: remove '-mbranch-protection=standard' globally on aarch64
On aarch64 the handling of runtime exception is broken when build with clang.
There is currently a fix for libcxx on the layer but it is not enough and this
same fix needs to be applied globally.
First fix attempt just include libcxx:
https://github.com/kraj/meta-clang/issues/963
https://github.com/kraj/meta-clang/pull/968
Remaining reported issue:
https://github.com/kraj/meta-clang/issues/998
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
-rw-r--r-- | conf/nonclangable.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index c404c38..70e72b5 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -1,3 +1,6 @@ | |||
1 | # introduced in oe-core 8905639d breaks the handling of runtime exception when build with clang | ||
2 | TUNE_CCARGS:remove:toolchain-clang = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '-mbranch-protection=standard', '', d)}" | ||
3 | |||
1 | # https://github.com/llvm/llvm-project/issues/78337 | 4 | # https://github.com/llvm/llvm-project/issues/78337 |
2 | TOOLCHAIN:pn-kernel-selftest = "gcc" | 5 | TOOLCHAIN:pn-kernel-selftest = "gcc" |
3 | 6 | ||