RFR: 8318696: Do not use LFS64 symbols on Linux [v2]

Sam James duke at openjdk.org
Fri Jan 19 06:08:21 UTC 2024


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

Sam James has updated the pull request incrementally with one additional commit since the last revision:

  Add off_t static_asserts
  
  Signed-off-by: Sam James <sam at gentoo.org>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16329/files
  - new: https://git.openjdk.org/jdk/pull/16329/files/4432b9d8..4df24d81

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16329&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16329&range=00-01

  Stats: 5 lines in 3 files changed: 5 ins; 0 del; 0 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