[Bug libc/33790] FAIL: misc/tst-copy_file_range-large
stli at linux dot ibm.com
sourceware-bugzilla@sourceware.org
Wed Jan 14 08:10:49 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=33790
Stefan Liebler <stli at linux dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stli at linux dot ibm.com
--- Comment #1 from Stefan Liebler <stli at linux dot ibm.com> ---
Same on s390 as also reported on the mailing-list:
https://inbox.sourceware.org/libc-alpha/e05fd602-1267-4419-aa3a-24254b7b5ee0@linux.ibm.com/T/#m5cfd1dd375add453f21c6386046f39a75ccc5c61
In 32bit-compat mode (on i686 and s390), the test fails on linux >= 6.18:
../sysdeps/unix/sysv/linux/tst-copy_file_range-large.c:201: numeric
comparison failure (widths 32 and 64)
left: 2147479552 (0x7ffff000); from: copied
right: 2147483647 (0x7fffffff); from: size
...
error: 6 test failures
Without the exact comparison ...
if (atomic_load (&fuse_has_copy_file_range_64))
TEST_COMPARE (copied, size);
... there are no fails and thus it also passes the follow-on comparison:
We must AND the expression with SSIZE_MAX for 32-bit platforms where
SSIZE_MAX is less than UINT_MAX.
*/
if (copied != size)
TEST_COMPARE (copied, (UINT_MAX & ~(getpagesize () - 1)) & SSIZE_MAX);
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list