On 2023-06-17 12:53, matoro via GNU coreutils Bug Reports wrote:
Compiling with -D_FILE_OFFSET_BITS=64 fixes the problem.
Thanks for checking. I installed the following fix to coreutils:
https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=5ac7f2d281ef70500fc70211dc1f146c8666e8c1
This incorporates the following Gnulib fix:
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=f4919b224dd1545190f35eb481f78694f2337cb1
which is derived from the following Autoconf fix:
https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=103514e40da5f20aebf83a3446452ccebe5172bb
which should cause 'configure' to #define _FILE_OFFSET_BITS to 64 on
GNU/Linux s390x and alpha.
Closing the coreutils bug report.