[Bug debugedit/31653] New: RISC-V: readelf fails to apply R_RISCV_SET/SUB_ULEB128 relocations: [debugedit 5.0] testsuite: 10 11 19 23 failed
akyragvtdizi at gmail dot com
sourceware-bugzilla@sourceware.org
Thu Apr 18 08:35:43 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=31653
Bug ID: 31653
Summary: RISC-V: readelf fails to apply R_RISCV_SET/SUB_ULEB128
relocations: [debugedit 5.0] testsuite: 10 11 19 23
failed
Product: debugedit
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debugedit
Assignee: unassigned at sourceware dot org
Reporter: akyragvtdizi at gmail dot com
CC: debugedit at sourceware dot org
Target Milestone: ---
Created attachment 15471
--> https://sourceware.org/bugzilla/attachment.cgi?id=15471&action=edit
testsuite log
While building debugedit-5.0 in a RISC-V nspawn environment, I encountered test
failures during the make check phase. Specifically, tests 10, 11, 19, and 23
failed due to unsupported relocation types as indicated by readelf warnings in
the logs. The exact messages are:
readelf: Warning: unable to apply unsupported reloc type 60 to section
.debug_loclists
readelf: Warning: unable to apply unsupported reloc type 61 to section
.debug_loclists
These warnings relate to relocation types 60 and 61, which correspond to
R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128, respectively. I am currently using
binutils version 2.42, and upon reviewing the readelf source code, it appears
that readelf may not yet support these RISC-V specific relocation types.
Given this issue, I propose temporarily skipping the affected tests (10, 11,
19, 23) for the RISC-V architecture to allow for successful test completions
while a solution is being developed.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Debugedit
mailing list