git: 5df8159d56a6 - main - tests: xfail readelf phdr count test w/LLVM binutils
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Mar 2025 12:21:21 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=5df8159d56a681e388a2fff1c1c24a4830b741d6 commit 5df8159d56a681e388a2fff1c1c24a4830b741d6 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2025-03-28 20:13:27 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2025-03-29 12:21:13 +0000 tests: xfail readelf phdr count test w/LLVM binutils LLVM readelf does not (yet) support phdr counts that overflow 16 bits. Temporarily xfail this test until fixed; see upstream issue 132216 for more details https://github.com/llvm/llvm-project/issues/132216. PR: 285547 Reported by: markj Reviewed by: dim, markj Sponsored by: The FreeBSD Foundation Fixes: 1cae7121c667 ("Enable LLVM_BINUTILS by default") Differential Revision: https://reviews.freebsd.org/D49561 --- tests/sys/kern/coredump_phnum_test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/sys/kern/coredump_phnum_test.sh b/tests/sys/kern/coredump_phnum_test.sh index e01c5d86a252..a1337d5ad1fb 100644 --- a/tests/sys/kern/coredump_phnum_test.sh +++ b/tests/sys/kern/coredump_phnum_test.sh @@ -80,6 +80,11 @@ coredump_phnum_body() atf_fail "Helper program did not dump core" fi + if readelf --version | grep -q LLVM; then + atf_expect_fail "PR285547: llvm-objdump does not support large phdr count" + # See https://github.com/llvm/llvm-project/issues/132216 + fi + # These magic numbers don't have any real significance. They are just # the result of running the helper program and dumping core. The only # important bit is that they're larger than 65535 (UINT16_MAX).