You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The old autoconf based versions of libzip used AC_SYS_LARGEFILE for largefile support on 32 Bit platforms. With the switch to cmake this feature was lost.
32 Bit systems may be rare these days in the x86 world, but 32 Bit ARM systems are very common.
Also, this is not just about file sizes: off_t is also used for inode numbers. As a result stat() will fail if the inode number exceeds 32 Bit. This is quite common with network file systems and causes seemingly random failures.
I'm no cmake expert but libarchive seems to have a reasonable check for this. It may be a good starting point.
The text was updated successfully, but these errors were encountered:
The old autoconf based versions of libzip used AC_SYS_LARGEFILE for largefile support on 32 Bit platforms. With the switch to cmake this feature was lost.
32 Bit systems may be rare these days in the x86 world, but 32 Bit ARM systems are very common.
Also, this is not just about file sizes: off_t is also used for inode numbers. As a result stat() will fail if the inode number exceeds 32 Bit. This is quite common with network file systems and causes seemingly random failures.
I'm no cmake expert but libarchive seems to have a reasonable check for this. It may be a good starting point.
The text was updated successfully, but these errors were encountered: