Skip to content

Commit

Permalink
nonclangable: remove '-mbranch-protection=standard' globally on aarch64
Browse files Browse the repository at this point in the history
Source: meta-clang
MR: 158405
Type: Integration
Disposition: Merged from meta-clang
ChangeID: bff7fe1
Description:

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/meta-clang#963
kraj/meta-clang#968

Remaining reported issue:
kraj/meta-clang#998

Signed-off-by: Jose Quaresma <[email protected]>
(cherry picked from commit ee30860)
Signed-off-by: Jose Quaresma <[email protected]>
Signed-off-by: Jeremy A. Puhlman <[email protected]>
  • Loading branch information
quaresmajose authored and jpuhlman committed Aug 27, 2024
1 parent 8b75a79 commit 30ab1c2
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 30ab1c2

Please sign in to comment.