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
$ 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
- relates to
-
JDK-8222231 Clean up interfaceSupport.inline.hpp duplicated code
- Resolved