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 <[email protected]> --- meta/recipes-devtools/elfutils/elfutils_0.197.bb | 1 + 1 file changed, 1 insertion(+) 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() {
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#248451): https://lists.openembedded.org/g/openembedded-core/message/248451 Mute This Topic: https://lists.openembedded.org/mt/121885960/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
