RFR: 8324539: Do not use LFS64 symbols in JDK libs [v7]

Matthias Baesken mbaesken at openjdk.org
Tue Feb 6 08:07:22 UTC 2024


On Mon, 5 Feb 2024 14:15:44 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 
> Thanks for the AIX related effort ; I put it again into our internal build/test queue.

With the latest commit the build again fails on AIX with this error

/jdk/src/java.base/unix/native/libnio/ch/UnixFileDispatcherImpl.c:381:27: error: incompatible pointer types passing 'struct statvfs64 *' to parameter of type 'struct statvfs *' [-Werror,-Wincompatible-pointer-types]
    result = fstatvfs(fd, &file_stat);
                          ^~~~~~~~~~
/usr/include/sys/statvfs.h:102:42: note: passing argument to parameter here
extern int fstatvfs(int, struct statvfs *);

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17538#issuecomment-1928972961


More information about the nio-dev mailing list