ld: testsuite: Add sframe test for PR 33401
Jan Beulich
jbeulich@suse.com
Fri Jan 16 12:04:19 GMT 2026
On 16.01.2026 12:57, Claudiu Zissulescu Ianculescu wrote:
> 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.
I would have provided more if I knew what else is needed. I assume my
g++ is a little oldish, but tests should work regardless of compiler
version (or they should make sure a minimum required version is
present). My assumption is that newer g++ knows to imply -nostdlib
when invoking relocatable links, but apparently my one doesn't.
Jan
More information about the Binutils
mailing list