Skip to content

Commit

Permalink
nonclangable: remove '-mbranch-protection=standard' globally on aarch64
Browse files Browse the repository at this point in the history
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:
kraj#963
kraj#968

Remaining reported issue:
kraj#998

Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Aug 21, 2024
1 parent a219212 commit d60c3f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# introduced in oe-core 8905639d breaks the handling of runtime exception when build with clang
TUNE_CCARGS:remove:toolchain-clang = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '-mbranch-protection=standard', '', d)}"

# https://github.com/llvm/llvm-project/issues/78337
TOOLCHAIN:pn-kernel-selftest = "gcc"

Expand Down

0 comments on commit d60c3f8

Please sign in to comment.