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:27:20 -0700
commit318e671b6863d4a7723914be517cda3a3004df4a (patch)
treed2d89a61971b2d7e5c5b1451d01d7826fb95213f
parent46897cd5ba92788501eba548dc4c1a8696147a0a (diff)
downloadmeta-clang-318e671b6863d4a7723914be517cda3a3004df4a.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 93d5d7e..ca659a4 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#babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-text.so has relocations in .text [textrel] 4#babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-text.so has relocations in .text [textrel]
2TOOLCHAIN:pn-babeltrace2 = "gcc" 5TOOLCHAIN:pn-babeltrace2 = "gcc"
3TOOLCHAIN:pn-u-boot = "gcc" 6TOOLCHAIN:pn-u-boot = "gcc"