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

Magnus Ihse Bursie ihse at openjdk.org
Thu Feb 8 07:44:18 UTC 2024


On Tue, 6 Feb 2024 08:05:14 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>>> I hope finally the AIX part of this PR is done.
>> 
>> Thanks for the AIX related effort ; I put it again into our internal build/test queue.
>
>> 
>> 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 *);

Well, well... The code at least looks cleaner without these AIX defines, so I really hope that this is the end of the AIX saga, at the `n+1`th time. @MBaesken Can you rerun AIX testing with the latest commit?

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

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


More information about the client-libs-dev mailing list