[Bug build/33985] ld: cannot find -lgcc_s: No such file or directory
adhemerval.zanella at linaro dot org
sourceware-bugzilla@sourceware.org
Fri Mar 13 13:20:34 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=33985
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-03-13
Ever confirmed|0 |1
Status|UNCONFIRMED |WAITING
--- Comment #17 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to Sam James from comment #16)
> (In reply to Adhemerval Zanella from comment #15)
> > We need this straightforward fix:
> >
> > diff --git a/Makeconfig b/Makeconfig
> > index ea509dd3bc..22dc7532f0 100644
> > --- a/Makeconfig
> > +++ b/Makeconfig
> > @@ -711,7 +711,9 @@ link-libc-static-tests = -Wl,--start-group
> > $(common-objpfx)libc.a $(static-gnuli
> > ifndef gnulib
> > ifneq ($(have-cc-with-libunwind),yes)
> > libunwind =
> > - libgcc_s = -lgcc_s
> > + ifeq ($(have-libgcc_s),yes))
> > + libgcc_s = -lgcc_s
> > + endif
> > else
> > libunwind = -lunwind $(libgcc-name)
> > libgcc_s = $(libunwind)
>
> LGTM.
It should be fixed by b4c110022ce44406d5c8d75a96d68d2949006050, I will just
wait Aditya to certify that it does solve the issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list