JDK-8222300 : Zero build broken after JDK-8222231
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 13
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-04-11
  • Updated: 2019-04-18
  • Resolved: 2019-04-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13
13 b17Fixed
Related Reports
Relates :  
Description
InterfaceSupport::serialize_thread_state(JavaThread* thread) was removed in JDK-8222231, but zero still uses it.

$ make hotspot CONF=linux-x86_64-zero-release
Building target 'hotspot' in configuration 'linux-x86_64-zero-release'
Compiling 1 files for BUILD_JFR_TOOLS
Compiling 2 files for BUILD_JVMTI_TOOLS
Creating support/modules_libs/java.base/server/libjvm.so from 538 file(s)
Creating hotspot/variant-zero/libjvm/gtest/libjvm.so from 100 file(s)
Creating hotspot/variant-zero/libjvm/gtest/gtestLauncher from 1 file(s)
/home/aoqi/jdk/src/hotspot/cpu/zero/cppInterpreter_zero.cpp: In static member function 'static int CppInterpreter::native_entry(Method*, intptr_t, Thread*)':
/home/aoqi/jdk/src/hotspot/cpu/zero/cppInterpreter_zero.cpp:381:3: error: 'serialize_thread_state' is not a member of 'InterfaceSupport'
   InterfaceSupport::serialize_thread_state(thread);
   ^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-misleading-indentation" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-int-in-bool-context" [enabled by default]
gmake[3]: *** [/home/aoqi/jdk/build/linux-x86_64-zero-release/hotspot/variant-zero/libjvm/objs/cppInterpreter_zero.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[2]: *** [hotspot-zero-libs] Error 1

ERROR: Build failed for target 'hotspot' in configuration 'linux-x86_64-zero-release' (exit code 2) 

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-zero_libjvm_objs_cppInterpreter_zero.o:
/home/aoqi/jdk/src/hotspot/cpu/zero/cppInterpreter_zero.cpp: In static member function 'static int CppInterpreter::native_entry(Method*, intptr_t, Thread*)':
/home/aoqi/jdk/src/hotspot/cpu/zero/cppInterpreter_zero.cpp:381:3: error: 'serialize_thread_state' is not a member of 'InterfaceSupport'
   InterfaceSupport::serialize_thread_state(thread);
   ^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-misleading-indentation" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-int-in-bool-context" [enabled by default]

* All command lines available in /home/aoqi/jdk/build/linux-x86_64-zero-release/make-support/failure-logs.
=== End of repeated output ===

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.

make[1]: *** [main] Error 1
make: *** [hotspot] Error 2