libc.so.6 dependencies

Xi Ruoyao xry111@xry111.site
Wed Jun 25 16:08:38 GMT 2025


On Wed, 2025-06-25 at 15:34 +0000, Wilco Dijkstra wrote:
> Hi Florian,
> 
> > > Interestingly on AArch64, stdio-common/tst-setvbuf2 always fails with
> > > the same message, eventhough libgcc_s.so.1 exists in the build
> > > directory.
> > > 
> > > Is this expected or should this test have the dependency listed in the
> > > Makefile?
> > 
> > Is this on Debian or Ubuntu?
> > 
> > Their multiarch support is not in upstream glibc, so under certain
> > circumstances, you have to use lots of configure flags to build a fully
> > compatible glibc.
> 
> It's Ubuntu 24.04, and I was using the system GCC (13.3.0) - my configure
> is just a basic "${src}/configure --prefix=/usr --with-timeoutfactor=20"
> (the timeout seems to be needed for a few tests).

You'll need to append libc_cv_slibdir=/usr/lib/aarch64-linux-gnu to the
configure command (i.e. setting this to the path containing
libgcc_s.so.1).  We had experienced this, see
https://sourceware.org/pipermail/libc-alpha/2024-January/154308.html.

IIRC someone has submitted a patch to adapt for the unusual layout on
Debian-like systems but it has not passed the review.

-- 
Xi Ruoyao <xry111@xry111.site>


More information about the Libc-alpha mailing list