[PATCH] Don't build programs in $(others-noinstall) like tests when cross-compiling

H.J. Lu hjl.tools@gmail.com
Thu Oct 30 23:32:54 GMT 2025


On Fri, Oct 31, 2025 at 1:00 AM Andreas Schwab <schwab@suse.de> wrote:
>
> On Sep 15 2025, H.J. Lu wrote:
>
> > Programs in $(others-noinstall) are internal to glibc build and they
> > aren't installed.  They should be treated like programs in $(others),
> > but linked like tests so that --enable-hardcoded-path-in-tests also
> > applies to them.
>
> This is breaking cross builds, they are now requiring libgcc_s to link
> the other-install programs.

Don't build programs in $(others-noinstall) like tests when
cross-compiling.  Otherwise, "build-many-glibcs.py compilers" will
fail to build the initial glibc with the initial limited gcc due to
the missing libgcc_s.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-build-programs-in-others-noinstall-like-tests-.patch
Type: text/x-patch
Size: 1567 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20251031/8717e76c/attachment.bin>


More information about the Libc-alpha mailing list