RFR: 8318696: Do not use LFS64 symbols on Linux

Sam James duke at openjdk.org
Fri Dec 15 05:34:04 UTC 2023


The LFS64 symbols provided by glibc are not part of any standard and were gated behind -D_LARGEFILE64_SOURCE in musl 1.2.4 (to be removed in 1.2.5). This commit replaces the usage of LFS64 symbols with their regular counterparts and defines -D_FILE_OFFSET_BITS=64, ensuring that functions will always act as their -64 variants on glibc.

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

Commit messages:
 - Do not use LFS64 symbols on Linux

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

PR: https://git.openjdk.org/jdk/pull/16329


More information about the build-dev mailing list