RFR: 8318696: Do not use LFS64 symbols on Linux [v5]
Magnus Ihse Bursie
ihse at openjdk.org
Tue Jan 23 16:17:40 UTC 2024
On Tue, 23 Jan 2024 16:02:19 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Doesn't it mean going over the native code and replacing the LFS64 symbols with their regular counterparts?
That sounds reasonable. However, I expected functions like `lseek64` to fail compilation if `_LARGEFILE64_SOURCE` was not defined, so it would be easy to spot those places.
To my surprise, this does not seem to be the case -- either we have no instances of these LFS64 symbols in JDK libs, or they are still defined even though I removed `_LARGEFILE64_SOURCE`. But let's continue that discussion in https://github.com/openjdk/jdk/pull/17538 instead.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16329#issuecomment-1906407213
More information about the build-dev
mailing list