RFR: 8318696: Do not use LFS64 symbols on Linux

Sam James duke at openjdk.org
Fri Jan 19 05:56:31 UTC 2024


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.

Ah, sorry, I thought I'd pushed those asserts ;)

Yes, this PR would be identical under the plan other than adding the asserts I promised and forgot about.

Let me look now.

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

PR Comment: https://git.openjdk.org/jdk/pull/16329#issuecomment-1899812128


More information about the build-dev mailing list