Control: tags -1 + patch upstream fixed-upstream
Hi,
The failure is in the test suite; the build log
shows one test out of 438 failing:
99% tests passed, 1 tests failed out of 438
The following tests FAILED:
155 - x86_64-gdb-index-dwarf5 (Failed)
Errors while running CTest
(The "relocation R_X86_64_16 against foo out of range" line in the
report's subject is unrelated — that is the expected output of test
#37, arch-x86_64-reloc-overflow, which intentionally triggers an
overflow and greps for that message. It is not the cause of the FTBFS.)
Root cause: test/gdb-index-dwarf5.sh invokes
readelf --debug=gdb_index. Recent binutils readelf added a
--debug-dir=<DIR> option, so the --debug= abbreviation is now
ambiguous and the invocation fails, making the test - thus the
build - fail.
This was fixed upstream in commit
e77e9d52b8fa1aecb88ba5362365880b45491c74 by switching the test to the
unambiguous --debug-dump=gdb_index.
I have cherry-picked that commit; seems to build and test fine locally.
Merge request: https://salsa.debian.org/pkg-llvm-team/mold/-/merge_requests/12
Cheers!
Chris