Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2025 14:09:08 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 6ec314485100 - stable/14 - tests: xfail readelf phdr count test w/LLVM binutils
Message-ID:  <202509021409.582E98Ot025090@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=6ec314485100d738c818269e9545ce08fe42d000

commit 6ec314485100d738c818269e9545ce08fe42d000
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-03-28 20:13:27 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-09-02 14:08:52 +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
    
    (cherry picked from commit 5df8159d56a681e388a2fff1c1c24a4830b741d6)
---
 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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509021409.582E98Ot025090>