On Sun, May 18, 2025 at 04:30:45PM +0200, Samuel Thibault wrote: > > I'm thinking that it's not just the bootstrap fs that should raise the > limitation. E.g. on buildds it's the building chroot that is supposed to > eat most memory for the page cache. And it's not just about ext2fs, but > also fatfs etc. Actually I'd say anything that uses libpager and thus > know to behave when the kernel thinks we are short on memory. So I'm > thinking that we should just put it in pager_start_workers >
Ok, I'll move it to pager_start_workers then. > > You can as well just copy over the .defs file by hand. > Cool. > > I don't think we want to be noisy when running non-root ext2fs :) > > Or at least be noisy only in the error cases that are not just a > permission denied error. > Ok, I'll add a check for EPERM before printing the error. 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. 2. After make install the system was broken, every command show Killed in the command line. Below are the last few lines of make: make[3]: Leaving directory '/home/demo/dev/hurd/upstream/glibc/elf' /usr/bin/install -c /home/demo/dev/hurd/upstream/glibc-build/elf/ld.so /lib/ld-x86-64.so.1.new mv -f /lib/ld-x86-64.so.1.new /lib/ld-x86-64.so.1 .././scripts/mkinstalldirs /usr/lib/audit make[2]: *** [Makefile:264: /usr/lib/audit/sotruss-lib.so] Killed make[2]: Leaving directory '/home/demo/dev/hurd/upstream/glibc/elf' make[1]: *** [Makefile:484: elf/subdir_install] Error 2 make[1]: Leaving directory '/home/demo/dev/hurd/upstream/glibc' make: *** [Makefile:36: install] Error 2 demo@debian:~/dev/hurd/upstream/glibc-build$ ls Killed Do I need to apply some patch/es to the sourceware repository for Hurd? Thanks, Diego