summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-08-20 23:45:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-25 17:47:20 +0100
commita0c40abc3cb13fcf5123e5fadb14aca9943e84db (patch)
treeb2fadc47782134e620f2c35c2fa95749660892bf
parent542af25cfaf9481cbeb84f579f764935a42dfddb (diff)
downloadpoky-a0c40abc3cb13fcf5123e5fadb14aca9943e84db.tar.gz
elfutils: Add run-backtrace-{native|data}.sh to known failures
musl's thread startup/teardown sequences and frame-pointer handling differ from glibc. elfutils can fail to terminate unwinds properly in multithreaded musl apps which leads to truncated or bogus traces and then the test's "must contain main" assertion fails. Skip this test on musl systems (From OE-Core rev: 6f89b8386b70d35cb27bb90348857ddecda5ed3e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.193.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.193.bb b/meta/recipes-devtools/elfutils/elfutils_0.193.bb
index 3d98f1e214..67ce382782 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.193.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.193.bb
@@ -66,7 +66,7 @@ PTEST_PARALLEL_MAKE = ""
66PTEST_XFAILS ?= "" 66PTEST_XFAILS ?= ""
67# See - https://sourceware.org/bugzilla/show_bug.cgi?id=32232 67# See - https://sourceware.org/bugzilla/show_bug.cgi?id=32232
68PTEST_XFAILS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' run-strip-strmerge.sh run-elflint-self.sh run-backtrace-data.sh run-reverse-sections-self.sh', '', d)}" 68PTEST_XFAILS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' run-strip-strmerge.sh run-elflint-self.sh run-backtrace-data.sh run-reverse-sections-self.sh', '', d)}"
69PTEST_XFAILS:append:libc-musl = " run-large-elf-file.sh run-backtrace-dwarf.sh run-stack-d-test.sh run-stack-i-test.sh run-stack-demangled-test.sh run-deleted.sh run-compress-test.sh" 69PTEST_XFAILS:append:libc-musl = " run-large-elf-file.sh run-backtrace-data.sh run-backtrace-dwarf.sh run-backtrace-native.sh run-stack-d-test.sh run-stack-i-test.sh run-stack-demangled-test.sh run-deleted.sh run-compress-test.sh"
70 70
71do_install_ptest() { 71do_install_ptest() {
72 # copy the files which needed by the cases 72 # copy the files which needed by the cases