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

Magnus Ihse Bursie ihse at openjdk.org
Mon Feb 5 12:41:11 UTC 2024


On Fri, 2 Feb 2024 06:55:19 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> Similar to [JDK-8318696](https://bugs.openjdk.org/browse/JDK-8318696), we should use -D_FILE_OFFSET_BITS=64, and not -D_LARGEFILE64_SOURCE in the JDK native libraries.
>
> Magnus Ihse Bursie has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add kludge to BufferedRenderPipe.c for AIX

It seems like the statvfs64 is a pre-existing bug in AIX in that case. I have not removed any statvfs64 for AIX; all such changes are guarded by `#ifdef _ALLBSD_SOURCE`, which I presume is not defined on AIX.

I recommend that I push this PR as-is first, and then you can do a follow-up fix to define statvfs to statvfs64 on AIX.

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

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


More information about the serviceability-dev mailing list