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

Antonio Vieiro duke at openjdk.org
Thu Sep 19 10:11:10 UTC 2024


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).

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

Commit messages:
 - Backport 2b9228a3c92590e3146ecad468bb2ea68a5a6bb2

Changes: https://git.openjdk.org/jdk11u-dev/pull/2938/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2938&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318696
  Stats: 24 lines in 4 files changed: 0 ins; 0 del; 24 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2938.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2938/head:pull/2938

PR: https://git.openjdk.org/jdk11u-dev/pull/2938


More information about the jdk-updates-dev mailing list