Jan Nieuwenhuizen writes: Hello! > Mathieu Othacehe writes: [..] >> lib/linux/stat.c should be modified this way: >> >> #if __i386__ >> #define STAT_SYSCALL SYS_stat64 >> #else >> #define STAT_SYSCALL SYS_stat >> #endif > > Ah...the stat64 syscall is meant for i386; now it at starts making at > least some sense to me. [..] >> This way, we would replicate the glibc behavior. > > Beautiful, thanks for getting to the bottom of this. Now that you > already have gone this far, would you like to whip-up a full patch for > GNU Mes? [..] To use stat64 and friends on 32bit, I created the attached patch for GNU Mes and hope to create a 0.24.2 release from https://gitlab.com/janneke/mes/-/tree/wip-stat64 Also, I have update my core-updates branch with preliminary 0.24.2 mes and mes-boot packages here https://gitlab.com/janneke/guix/-/tree/core-updates Greetings, Janneke