RFR: 8324539: Do not use LFS64 symbols in JDK libs [v7]
Matthias Baesken
mbaesken at openjdk.org
Mon Feb 5 12:10:08 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
Current commit compiles nicely on AIX.
One issue we might still have
statvfs/statvfs64 is not mentioned here in the table of functions/structs redefined on AIX
https://www.ibm.com/docs/en/aix/7.1?topic=volumes-writing-programs-that-access-large-files
so would we fall back to statvfs from the *64 - variant ?
The define _LARGE_FILES might not help in this case on AIX .
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17538#issuecomment-1926848063
More information about the serviceability-dev
mailing list