Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8324153

build fails on Alpine x86_64 3.19

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 23
    • infrastructure
    • None
    • generic
    • linux_alpine

      Alpine 3.19 has been released recently.
      Unfortunately the OpenJDK (jdk head) build fails on Alpine 3.19 .
      Examples (failures are related to file access / system functions) :

      /jdk/src/hotspot/os/linux/attachListener_linux.cpp:449:17: error: aggregate 'AttachListener::vm_start()::stat64 st' has incomplete type and cannot be defined
        449 | struct stat64 st;
            | ^~

      /jdk/src/hotspot/os/linux/os_linux.cpp:4263:12: error: '::sendfile64' has not been declared; did you mean 'sendfile'?
       4263 | return ::sendfile64(out_fd, in_fd, (off64_t*)offset, (size_t)count);

            Unassigned Unassigned
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: