Hello, 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: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: configure.ac: not using aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoheader: warning: missing template: BIND_NOW autoheader: warning: Use AC_DEFINE([BIND_NOW], [], [Description]) autoheader: warning: missing template: DO_STATIC_NSS autoheader: warning: missing template: ENABLE_STATIC_PIE autoheader: warning: missing template: EXPORT_UNWIND_FIND_FDE autoheader: warning: missing template: HAVE_ASM_SET_DIRECTIVE autoheader: warning: missing template: HAVE_BUILTIN_MEMSET autoheader: warning: missing template: HAVE_BUILTIN_TRAP autoheader: warning: missing template: HAVE_CC_INHIBIT_LOOP_TO_LIBCALL autoheader: warning: missing template: HAVE_CC_NO_STACK_PROTECTOR autoheader: warning: missing template: HAVE_CC_WITH_LIBUNWIND autoheader: warning: missing template: HAVE_GCC_IFUNC autoheader: warning: missing template: HAVE_GNU_RETAIN autoheader: warning: missing template: HAVE_IFUNC autoheader: warning: missing template: HAVE_PT_CHOWN autoheader: warning: missing template: HAVE_SDATA_SECTION autoheader: warning: missing template: HAVE_SECTION_QUOTES autoheader: warning: missing template: HAVE_TEST_CC_INHIBIT_LOOP_TO_LIBCALL autoheader: warning: missing template: HAVE_TEST_CC_NO_STACK_PROTECTOR autoheader: warning: missing template: NO_HIDDEN autoheader: warning: missing template: PTHREAD_IN_LIBC autoheader: warning: missing template: STACK_PROTECTOR_LEVEL autoheader: warning: missing template: SYMVER_NEEDS_ALIAS autoheader: warning: missing template: TIMEOUTFACTOR autoheader: warning: missing template: USE_LDCONFIG autoheader: warning: missing template: USE_MTAG autoheader: warning: missing template: USE_MULTIARCH autoheader: warning: missing template: USE_NSCD autoheader: warning: missing template: USE_PPC_SCV autoheader: warning: missing template: USE_STAP_PROBE autoreconf: error: /usr/bin/autoheader failed with exit status: 1 It never entered the sysdeps directory and I'm missing "templates", not sure why :( > > 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. Although, I guess the non static ext2fs could be run under testrun.sh, avoiding the need to boot an all new system.