ld: testsuite: Add sframe test for PR 33401
Claudiu Zissulescu Ianculescu
claziss@gmail.com
Fri Jan 16 11:57:33 GMT 2026
On Fri, Jan 16, 2026 at 1:42 PM Jan Beulich <jbeulich@suse.com> wrote:
>
> 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
>
Please can you give me more context here.
> 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.
>
I am going to handle this issue also with the PR ld/33784.
Thank you,
Claudiu
More information about the Binutils
mailing list