ld: testsuite: Add sframe test for PR 33401
Claudiu Zissulescu Ianculescu
claziss@gmail.com
Fri Jan 16 12:15:59 GMT 2026
On Fri, Jan 16, 2026 at 2:04 PM Jan Beulich <jbeulich@suse.com> wrote:
>
> 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.
Probably you use custom CXXFLAGS/CFLAGS while testing.
Maybe I should izolate the sframe testsuite from this kind changings.
Otherwise I don't see how other tests using run_cc_link_tests are
working without issues.
//Claudiu
More information about the Binutils
mailing list