New comment by ailiop-git on void-packages repository https://github.com/void-linux/void-packages/issues/20556#issuecomment-607845662 Comment: Linux ash 4.4.215_1 #1 SMP PREEMPT Sun Mar 1 08:34:51 UTC 2020 x86_64 GNU/Linux $ strace -fe statx,fstat stat -t / statx(AT_FDCWD, "/", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, 0x7fff1d37dda0) = -1 ENOSYS (Function not implemented) fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0), ...}) = 0 / 4096 8 41ed 0 0 801 2 17 0 0 1585834498 1582119865 1582119865 0 4096 +++ exited with 0 +++ Linux ash 4.9.215_1 #1 SMP PREEMPT Sun Mar 1 08:33:53 UTC 2020 x86_64 GNU/Linux $ strace -fe statx,fstat stat -t / statx(AT_FDCWD, "/", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, 0x7fff1d37dda0) = -1 ENOSYS (Function not implemented) fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0), ...}) = 0 / 4096 8 41ed 0 0 801 2 17 0 0 1585834498 1582119865 1582119865 0 4096 +++ exited with 0 +++ Linux ash 5.4.23_1 #1 SMP PREEMPT Sat Feb 29 10:14:39 UTC 2020 x86_64 GNU/Linux $ strace -fe statx stat -t / statx(AT_FDCWD, "/", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0 / 4096 8 41ed 0 0 801 2 17 0 0 1585834498 1582119865 1582119865 1524685643 4096 +++ exited with 0 +++ @xtraeme looks OK, falling back to fstat in both 4.{4,9} (same stat binary, compiled against latest glibc on 5.4, statx enabled).