summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Quaresma <jose.quaresma@foundries.io>2024-08-20 15:53:26 +0100
committerKhem Raj <raj.khem@gmail.com>2024-08-21 13:26:58 -0700
commitbff7fe1616602837e8bd7f2ac0d3f976f1069b73 (patch)
tree294a886388497a3c6e71450497aca75a9721755e
parent722c8ad9ac61bc126b1791a8036d7655107edc87 (diff)
downloadmeta-clang-bff7fe1616602837e8bd7f2ac0d3f976f1069b73.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> (cherry picked from commit ee30860682fd7ec7cf95aabf794ac43976d69567) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
-rw-r--r--conf/nonclangable.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 8bfef2c..54b3ea6 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
2TUNE_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
2TOOLCHAIN:pn-kernel-selftest = "gcc" 5TOOLCHAIN:pn-kernel-selftest = "gcc"
3 6