Skip to content

Commit 5df8159

Browse files
committed
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 llvm/llvm-project#132216. PR: 285547 Reported by: markj Reviewed by: dim, markj Sponsored by: The FreeBSD Foundation Fixes: 1cae712 ("Enable LLVM_BINUTILS by default") Differential Revision: https://reviews.freebsd.org/D49561
1 parent 27f70ef commit 5df8159

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/sys/kern/coredump_phnum_test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ coredump_phnum_body()
8080
atf_fail "Helper program did not dump core"
8181
fi
8282

83+
if readelf --version | grep -q LLVM; then
84+
atf_expect_fail "PR285547: llvm-objdump does not support large phdr count"
85+
# See https://github.com/llvm/llvm-project/issues/132216
86+
fi
87+
8388
# These magic numbers don't have any real significance. They are just
8489
# the result of running the helper program and dumping core. The only
8590
# important bit is that they're larger than 65535 (UINT16_MAX).

0 commit comments

Comments
 (0)