| Message ID | 20261022154937.1328672-1-khem.raj@oss.qualcomm.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | elfutils: Fix backtrace ptests on musl | expand |
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.197.bb b/meta/recipes-devtools/elfutils/elfutils_0.197.bb index 6e58afb274..b06505d520 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.197.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.197.bb @@ -52,6 +52,7 @@ EXTRA_OECONF:append:class-target = " --disable-tests-rpath" EXTRA_OECONF:append:class-target:microblaze = " --disable-symbol-versioning" RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-dbg glibc-dev" +RDEPENDS:${PN}-ptest:append:libc-musl = " musl-dbg" INSANE_SKIP:${PN}-ptest = "debug-deps dev-deps" do_compile_ptest() {
musl is built with -fno-asynchronous-unwind-tables, so libc.so carries almost no .eh_frame and its CFI only lives in .debug_frame. Without it the unwinder cannot get out of abort () and run-backtrace-dwarf.sh fails with "No DWARF information found". Add musl-dbg to the ptest dependencies, like glibc-dbg for glibc. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- meta/recipes-devtools/elfutils/elfutils_0.197.bb | 1 + 1 file changed, 1 insertion(+)