ld: testsuite: Add sframe test for PR 33401
Jan Beulich
jbeulich@suse.com
Fri Jan 16 11:41:36 GMT 2026
This fails for me with
/build/binutils/master-git/2026-01-16/ld/.libs/ld-new: cannot find -lm: No such file or directory
/build/binutils/master-git/2026-01-16/ld/.libs/ld-new: have you installed the static version of the m library ?
/build/binutils/master-git/2026-01-16/ld/.libs/ld-new: cannot find -lgcc_s: No such file or directory
/build/binutils/master-git/2026-01-16/ld/.libs/ld-new: have you installed the static version of the gcc_s library ?
/build/binutils/master-git/2026-01-16/ld/.libs/ld-new: cannot find -lc: No such file or directory
/build/binutils/master-git/2026-01-16/ld/.libs/ld-new: have you installed the static version of the c library ?
/build/binutils/master-git/2026-01-16/ld/.libs/ld-new: cannot find -lgcc_s: No such file or directory
/build/binutils/master-git/2026-01-16/ld/.libs/ld-new: have you installed the static version of the gcc_s library ?
collect2: error: ld returned 1 exit status
in Step 1.
Same for the PR 32789 test.
Adding -nostdlib next to -r makes linking work, but then the actual Step 1
testing fails: There is no R_*_NONE. Yet it also doesn't take the "No R_*_NONE
in .rela.sframe" exit path, but proceeds to Step 2 (which then succeeds).
Looking at all the readelf output makes me wonder about the test though: The
expectations want R_*_NONE, but they don't confine their want to .sframe. If
such a reloc lived anywhere else in what is being dumped, the test would
succeed.
Please can all of this be fixed before 2.46 goes out?
Jan
More information about the Binutils
mailing list