[PATCH v3] Build programs in $(others-noinstall) like if libgcc_s is availabl

H.J. Lu hjl.tools@gmail.com
Tue Nov 4 00:55:49 GMT 2025


On Mon, Nov 3, 2025 at 8:35 PM Andreas Schwab <schwab@suse.de> wrote:
>
> On Nov 01 2025, H.J. Lu wrote:
>
> > diff --git a/Rules b/Rules
> > index 7f6d063673..15dd3c9baf 100644
> > --- a/Rules
> > +++ b/Rules
> > @@ -195,10 +195,20 @@ xtests:
> >         > $(objpfx)subdir-xtests.sum
> >
> >  ifeq ($(build-programs),yes)
> > +ifeq (yes,$(have-libgcc_s))
> > +# NB: Build programs in $(others-noinstall) like tests only if libgcc_s is
> > +# available.  Otherwise, "build-many-glibcs.py compilers" will fail to
> > +# build the initial glibc with the initial limited gcc due to the missing
> > +# libgcc_s.
> >  binaries-all-notests = $(filter-out $(others-noinstall), \
> >                        $(others) $(sysdep-others))
> >  binaries-all-tests = $(tests) $(tests-internal) $(xtests) $(test-srcs) \
> >                    $(tests-container) $(others-noinstall)
> > +else
> > +binaries-all-notests = $(others) $(sysdep-others)
> > +binaries-all-tests = $(tests) $(tests-internal) $(xtests) $(test-srcs) \
> > +                  $(tests-container)
>
> Please avoid the duplication.
>

Here is the v3 patch.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0001-Build-programs-in-others-noinstall-like-tests-if-.patch
Type: text/x-patch
Size: 1563 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20251104/cc7c0189/attachment.bin>


More information about the Libc-alpha mailing list