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 13:27:20 -0700 |
commit | 318e671b6863d4a7723914be517cda3a3004df4a (patch) | |
tree | d2d89a61971b2d7e5c5b1451d01d7826fb95213f | |
parent | 46897cd5ba92788501eba548dc4c1a8696147a0a (diff) | |
download | meta-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.conf | 3 |
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 | ||
2 | TUNE_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] |
2 | TOOLCHAIN:pn-babeltrace2 = "gcc" | 5 | TOOLCHAIN:pn-babeltrace2 = "gcc" |
3 | TOOLCHAIN:pn-u-boot = "gcc" | 6 | TOOLCHAIN:pn-u-boot = "gcc" |