RFR: 8324539: Do not use LFS64 symbols in JDK libs
Joachim Kern
jkern at openjdk.org
Mon Jan 29 13:58:36 UTC 2024
On Tue, 23 Jan 2024 15:42:55 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.
make/autoconf/flags-cflags.m4 line 488:
> 486: CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
> 487: elif test "x$OPENJDK_TARGET_OS" = xaix; then
> 488: CFLAGS_OS_DEF_JVM="-DAIX"
Why not
CFLAGS_OS_DEF_JVM="-DAIX -D_LARGE_FILES"
as the equivalent on Linux
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17538#discussion_r1469627132
More information about the build-dev
mailing list