Diego Nieto Cid, le ven. 23 mai 2025 00:52:57 +0100, a ecrit:
> On Thu, May 22, 2025 at 02:44:28AM +0200, Samuel Thibault wrote:
> > Diego Nieto Cid, le mer. 21 mai 2025 23:57:26 +0100, a ecrit:
> > > Now I have a few issues building GLIBC.
> > > 
> > >   1. I added the following checks to sysdeps/mach/configure.ac
> > > 
> > >         mach_RPC_CHECK(gnumach.defs, vm_set_size_limit,
> > >                        HAVE_MACH_VM_SET_SIZE_LIMIT)
> > >         mach_RPC_CHECK(gnumach.defs, vm_get_size_limit,
> > >                        HAVE_MACH_VM_GET_SIZE_LIMIT)
> > > 
> > >      However, I don't know how to generate the corresponding configure 
> > > file.
> > 
> > It's the autoreconf command.
> > 
> 
> I thought I've run it successfully but didn't notice an autoheader error. 
> This is the output:
> 
>     demo@debian:~/dev/hurd/upstream/glibc$ autoreconf -vif
>     autoreconf: error: /usr/bin/autoheader failed with exit status: 1

Ah, maybe just autoconf then

> > It's much more involved than that, probably some configure flags etc.
> > 
> > But you do not need to install it though: you can use the testrun.sh
> > script generated by make check, to run programs with your newly-built
> > libc.
> 
> The issue is that I need to compile the Hurd against the new glibc (with the 
> updated
> setrlimit implementation) so users of libpager get the address space limit 
> removed.

You don't need to recompile it against the newer glibc to get the new
libc function implementation used.

> Although, I guess the non static ext2fs could be run under testrun.sh, 
> avoiding the
> need to boot an all new system.

Yes, that'll make ext2fs just use the new libc implementation.

Samuel

Reply via email to