RFR: 8318696: Do not use LFS64 symbols on Linux
David Holmes
dholmes at openjdk.org
Fri Dec 15 12:31:38 UTC 2023
On Tue, 24 Oct 2023 01:36:32 GMT, Sam James <duke at openjdk.org> wrote:
> 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.
>From what version of glibc can we be sure that the non-64 version is exactly equivalent to the 64 version for all these functions?
There are also uses of some 64 functions in the JDK code as well.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16329#issuecomment-1857807361
More information about the build-dev
mailing list