Closed ofacklam closed 4 days ago
@ofacklam thanks for detailed report, I think you have found a real problem. For now we are stuck with clang-14 on kirkstone, perhaps we will do a another backport but not planned as of now. Could you try backporting
https://github.com/llvm/llvm-project/commit/c218fd3d7d3764eb123c8429bbcd33bacfe2e633
to meta-clang/kirkstone and see if it fixes the problem ?
Hmm, the issue shows up on master/clang-19 as well.
Describe the bug Applications linked against
libunwind
as unwind library are failing to handle exceptions properly.This happens on the kirkstone branch when compiling for an aarch64 target.
This issue is probably related to the following set of changes on the
poky
kirkstone
branch:To Reproduce
kirkstone
branch ofmeta-clang
+poky
TOOLCHAIN=clang
RUNTIME=llvm
CLANGSDK=1
Test program:
Expected behavior Expected to print the exception reason when running this on the target.
Instead, we get the following error message:
Additional context On our end, we managed to work around the issue by adding this to our
local.conf
and this to our
meta-environment.bbappend
: