On Wed, May 3, 2023 at 1:37 AM Samuel Thibault <samuel.thiba...@gnu.org> wrote: > > Ah, I don't mean the troubles due to cross-compiling specifically (I > > don't think the Hurd libraries are any more problematic compared to > > the usual cross-compiling issues?), but simply the fact that they > > FTBFS on x86_64-gnu unless you apply my changes -- that only exist on > > my machine, for now. And there are a lot of them, mostly strategically > > changing size_t to mach_msg_type_number_t in many places, but there > > are subtler ones too. > > Ok, I'll just apply the patches :)
Ok, I'm really really confused. What do you mean? Does the Hurd just build for you? I see packages in [0] -- how did you build those? [0]: https://people.debian.org/~sthibault/tmp/hurd-amd64/h/hurd/ I'm having to patch the Hurd repo *a lot* to get *some of it* building for x86_64. Just to give you an idea, here's my current diffstat, compared to 717897ca40be3bb78130617c8e880137eff96d96 (current origin/master): Makeconf | 2 +- Makefile | 6 ++- auth/auth.c | 29 +++++++------- boot/boot.c | 75 ++++++++++++++++++------------------ boot/boot_script.c | 32 ++++++++-------- boot/boot_script.h | 4 +- boot/userland-boot.c | 11 ++++-- console-client/trans.c | 80 +++++++++++++++++++-------------------- console-client/trans.h | 12 +++--- exec/elfcore.c | 6 +-- exec/exec.c | 4 +- ext2fs/dir.c | 13 ++++--- ext2fs/ext2fs.c | 2 +- ext2fs/hyper.c | 2 +- ext2fs/ialloc.c | 10 +++-- ext2fs/inode.c | 3 +- ext2fs/pager.c | 5 ++- fatfs/dir.c | 18 ++++----- fatfs/main.c | 2 +- libdiskfs/dir-lookup.c | 2 +- libdiskfs/dir-readdir.c | 14 +++++-- libdiskfs/diskfs.h | 5 ++- libdiskfs/file-exec.c | 31 +++++++-------- libdiskfs/file-get-fs-opts.c | 4 +- libdiskfs/file-get-trans.c | 6 +-- libdiskfs/file-getfh.c | 3 +- libdiskfs/file-set-trans.c | 12 +++--- libdiskfs/fsys-forward.c | 5 ++- libdiskfs/fsys-getroot.c | 28 +++++++------- libdiskfs/io-restrict-auth.c | 12 +++--- libdiskfs/io-write.c | 19 ++++++---- libdiskfs/node-rdwr.c | 12 +++--- libdiskfs/priv.h | 3 +- libdiskfs/rdwr-internal.c | 17 +++++---- libdiskfs/sync-interval.c | 4 +- libfshelp-tests/race.c | 2 +- libfshelp/exec-reauth.c | 4 +- libfshelp/fshelp.h | 19 ++++++---- libfshelp/start-translator-long.c | 16 +++++--- libfshelp/start-translator.c | 5 ++- libiohelp/iouser-reauth.c | 2 +- libmachdev/trivfs_server.c | 2 +- libnetfs/file-exec.c | 33 ++++++++-------- libnetfs/io-read.c | 22 ++++++----- libpager/pager-memcpy.c | 8 ++-- libpipe/pq.c | 9 +++-- libports/manage-multithread.c | 8 ++-- libps/host.c | 6 +-- libps/proclist.c | 23 ++++++----- libps/procstat.c | 18 ++++++--- libps/ps.h | 9 +++-- libshouldbeinlibc/fsysops.c | 2 +- libshouldbeinlibc/idvec-auth.c | 4 +- libshouldbeinlibc/portinfo.c | 14 +++---- libstore/argp.c | 4 +- libstore/copy.c | 16 ++++++-- libstore/device.c | 28 ++++++++------ libstore/file.c | 32 ++++++++++++---- libstore/nbd.c | 5 ++- libstore/store.h | 9 ++--- libstore/task.c | 8 +++- libtrivfs/file-get-trans.c | 7 ++-- libtrivfs/file-getfh.c | 2 +- libtrivfs/file-set-trans.c | 2 +- libtrivfs/fsys-forward.c | 3 +- libtrivfs/fsys-getroot.c | 6 ++- libtrivfs/fsys-stubs.c | 6 +-- libtrivfs/io-restrict-auth.c | 10 +++-- mach-defpager/default_pager.c | 26 ++++++------- mach-defpager/file_io.h | 4 +- mach-defpager/setup.c | 4 +- pflocal/io.c | 12 +++--- pflocal/pf.c | 10 +++-- pflocal/socket.c | 23 ++++++++--- proc/host.c | 10 ++--- proc/info.c | 30 ++++++++------- proc/mgt.c | 12 +++--- proc/msg.c | 5 ++- proc/pgrp.c | 6 +-- storeio/io.c | 13 +++++-- sutils/fsck.c | 4 +- sutils/swapon.c | 6 +-- term/devio.c | 8 ++-- term/hurdio.c | 2 +- tmpfs/tmpfs.c | 2 +- trans/crash.c | 2 +- trans/fakeroot.c | 36 +++++++++--------- trans/fifo.c | 4 +- trans/magic.c | 8 ++-- trans/mtab.c | 11 +++--- trans/new-fifo.c | 7 +++- trans/streamio.c | 7 +++- trans/symlink.c | 6 ++- utils/fakeauth.c | 36 ++++++++++-------- utils/frobauth.h | 2 +- utils/fsysopts.c | 2 +- utils/ftpdir.c | 3 +- utils/login.c | 2 +- utils/pids.c | 7 ++-- utils/pids.h | 11 ++++-- utils/settrans.c | 2 +- utils/showtrans.c | 2 +- utils/storeinfo.c | 8 ++-- utils/vminfo.c | 2 +- 104 files changed, 662 insertions(+), 510 deletions(-) ...and that's not all of the Hurd building, yet, but crucial components like ext2fs are. But you seem to have just built it? How? Is there perhaps an existing x86_64 port branch somewhere that I have not noticed? Sergey