On Linux Alpine, we get the following build error:
libproc_impl.h:99:4: error: 'off64_t' does not name a type; did you mean
'off_t'?
99 | off64_t vdso_offset; // offset of vDSO in core
| ^~~~~~~
| off_t
and
jdk/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c:639:11: error:
implicit declaration of function 'sendfile64'; did you mean 'sendfile'?
[-Wimplicit-function-declaration]
639 | if (sendfile64(lib_fd, ph->core->core_fd, &ofs, ph->core->vdso_size) ==
-1) {
| ^~~~~~~~~~
| sendfile
-------------
Commit messages:
- JDK-8377707
Changes: https://git.openjdk.org/jdk/pull/29710/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29710&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8377707
Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/29710.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29710/head:pull/29710
PR: https://git.openjdk.org/jdk/pull/29710