[Bug 293190] zfs behaves as if time_t was 32 bits on powerpc64le

[email protected]
Newsgroups gmane.os.freebsd.devel.file-systems
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293190

Robert Clausecker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Robert Clausecker <[email protected]> ---
UFS is unaffected, as are amd64, armv7, aarch64.

jrtc27 mentions a possible cause in
sys/contrib/openzfs/include/os/freebsd/spl/sys/time.h:

#if defined(__i386__) || defined(__powerpc__)
#define TIMESPEC_OVERFLOW(ts)                                           \
        ((ts)->tv_sec < INT32_MIN || (ts)->tv_sec > INT32_MAX)
#else
#define TIMESPEC_OVERFLOW(ts)                                           \
        ((ts)->tv_sec < INT64_MIN || (ts)->tv_sec > INT64_MAX)
#endif

Note that __powerpc__ is defined both on ppc and ppc64(le).

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.