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

Linux Alpine (fast)debug build fails after JDK-8365909

XMLWordPrintable

    • master
    • generic
    • linux_alpine

      After JDK-8365909 , the Linux Alpine (fast)debug build is broken :
      /priv/jenkins/client-home/workspace/openjdk-jdk-dev-linux_alpine_x86_64-dbg/jdk/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp: In member function 'bool CompilerThreadTimeoutLinux::init_timeout()':
      /priv/jenkins/client-home/workspace/openjdk-jdk-dev-linux_alpine_x86_64-dbg/jdk/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp:97:3: error: 'sigevent_t' was not declared in this scope; did you mean 'sigevent'?
         97 | sigevent_t sev;
            | ^~~~~~~~~~
            | sigevent
      /priv/jenkins/client-home/workspace/openjdk-jdk-dev-linux_alpine_x86_64-dbg/jdk/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp:98:3: error: 'sev' was not declared in this scope
         98 | sev.sigev_value.sival_ptr = nullptr;
            | ^~~

      Probably 'struct sigevent sev' should be used, because sigevent_t seems not to be available on this platform. This is used here
      https://github.com/openjdk/jdk/blob/aaff9dec241e4d8eebefd6beaf287582621f315c/src/hotspot/share/jfr/periodic/sampling/jfrCPUTimeThreadSampler.cpp#L625
      and seems to be there on Alpine too .

            mhaessig Manuel Hässig
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: