RFR: 8324539: Do not use LFS64 symbols in JDK libs

Joachim Kern jkern at openjdk.org
Mon Jan 29 14:21:49 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.

src/java.prefs/unix/native/libprefs/FileSystemPreferences.c line 71:

> 69:     jintArray javaResult = NULL;
> 70:     int old_umask;
> 71:     struct flock fl;

On AIX flock does not react on _LARGE_FILES

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17538#discussion_r1469659732


More information about the build-dev mailing list