[jdk11u-dev] RFR: 8318696: Do not use LFS64 symbols on Linux

Severin Gehwolf sgehwolf at openjdk.org
Mon Sep 23 14:15:44 UTC 2024


On Thu, 19 Sep 2024 10:05:35 GMT, Antonio Vieiro <duke at openjdk.org> wrote:

> Backport of [JDK-8318696 Do not use LFS64 symbols on Linux](https://bugs.openjdk.org/browse/JDK-8318696). This replaces the usage of LFS64 symbols in Linux with their regular counterparts adding `-D_FILE_OFFSET_BITS=64`.
> 
> This is not a clean backport, because in `jdk11`  many of these symbols still live in `os_linux.cpp` and `os_linux_inline.hpp`, that were then refactored/deleted during the years into [the current `os_posix.hpp` and `os_posix.cpp` in `jdk17`](https://github.com/openjdk/jdk17u-dev/commit/2b9228a3c92590e3146ecad468bb2ea68a5a6bb2).

This is a fairly risky backport for this stage of where JDK 11 is. What problem does this solve other than what https://bugs.openjdk.org/browse/JDK-8062658 and https://bugs.openjdk.org/browse/JDK-8280747 describe (32 bit specific on large filesystems). Why do this backport now?

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2938#issuecomment-2368398990


More information about the jdk-updates-dev mailing list