From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <raj.khem@gmail.com>, <openembedded-core@lists.openembedded.org>
Cc: "Khem Raj" <khem.raj@oss.qualcomm.com>
Subject: Re: [OE-core] [PATCH 1/2] elfutils: Fix backtrace ptests on musl
Date: Mon, 28 Sep 2026 13:11:10 +0200 [thread overview]
Message-ID: <DLQWJW3MP16M.122HC23ZP8FQS@bootlin.com> (raw)
In-Reply-To: <20260928050036.3640902-1-khem.raj@oss.qualcomm.com>
On Mon Sep 28, 2026 at 7:00 AM CEST, Khem Raj via lists.openembedded.org wrote:
> 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.
>
> run-backtrace-native-core.sh then unwinds the thread correctly but loops on
> musl's __clone, which has no end-of-stack CFI. That is the same reason
> run-backtrace-native.sh is already an expected failure on musl, so mark the
> core variant as one too.
>
> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
> ---
Hi Khem,
I suspect this is breaking elfutils ptest on qemux86-64:
AssertionError:
Failed ptests:
{'elfutils': 'START: ptest-runner\n'
'2026-09-28T06:47\n'
'make \\\n'
...
'===============================================================\n'
'2 of 258 tests did not behave as expected (2 unexpected passes)\n'
'(44 tests were not run)\n'
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/1263
Ptest logs can be found here:
https://valkyrie.yocto.io/pub/non-release/20260928-40/testresults/qemux86-64-musl-ptest/core-image-ptest-elfutils/
It does look like it reproduces on every builds, but does not affect
other platforms.
Can you have a look at the issue?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2026-09-28 11:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-28 5:00 [PATCH 1/2] elfutils: Fix backtrace ptests on musl Khem Raj
2026-09-28 5:00 ` [PATCH 2/2] libc-test: Always add libatomic-staticdev to ptest RDEPENDS Khem Raj
2026-09-28 11:11 ` Mathieu Dubois-Briand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DLQWJW3MP16M.122HC23ZP8FQS@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=khem.raj@oss.qualcomm.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox