Hi David, Hi Florian,
>>> Here's the bug:
>>>
>>>
https://sourceware.org/bugzilla/show_bug.cgi?id=31179
>>> RISC-V: The SET/ADD/SUB fix breaks ABI compatibility with 2.41 objects
>>>
>>> It refers to this change in binutils 2.41:
>>>
>>>
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=73d931e560059a8...
FYI, a second patch is also needed: "RISC-V: Clarify the behaviors of SET/ADD/SUB
relocations."
This is commit: 2029e13917d53d2289d3ebb390c4f40bd2112d21
In Fedora/RISCV we typically end up using the latest available
binutils. We are slightly different from upstream/normal Fedora.
I have now backported both of the above commits to rawhide binutils.
Build: binutils-2.31-18.fc40
Cheers
Nick