[Bug debugedit/31653] RISC-V: readelf fails to apply R_RISCV_SET/SUB_ULEB128 relocations: [debugedit 5.0] testsuite: 10 11 19 23 failed

mark at klomp dot org sourceware-bugzilla@sourceware.org
Tue Nov 5 23:46:59 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=31653

--- Comment #7 from Mark Wielaard <mark at klomp dot org> ---
(In reply to laokz from comment #6)
> (In reply to Mark Wielaard from comment #5)
> > Luckily it is easy to ignore stderr warnings with AT_CHECK.
> > Could you try the attached patch?
>
> Yes. I tried and it worked! (rebased against our debugedit-5.0 package)

Thanks for testing. Committed as:

commit 785f451a1b05f89c3b24eb5550f35488b80152b7
Author: Mark Wielaard <mark@klomp.org>
Date:   Wed Nov 6 00:28:40 2024 +0100

    tests: Ignore stderr output of readelf in debugedit.at

    readelf might produce some warning messages that don't matter for the
    specific tests in debugedit.at. So ignore stderr output and just check
    stdout output is as expected.

    https://sourceware.org/bugzilla/show_bug.cgi?id=31653

    Signed-off-by: Mark Wielaard <mark@klomp.org>

> > If there is no bug yet, we should file a binutils bug against readelf
> > (apply_relocations) should handle R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128
> Indeed.

Filed: https://sourceware.org/bugzilla/show_bug.cgi?id=32342

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Debugedit mailing list