JDK-8141138 : Zero fails to build
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2015-11-02
  • Updated: 2015-11-29
  • Resolved: 2015-11-02
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 9
9 b94Fixed
Related Reports
Blocks :  
Description
Recent changes introduced a couple of Zero build problems:

1)
hotspot/src/cpu/zero/vm/relocInfo_zero.cpp:63:77: error: no ���void poll_return_Relocation::fix_relocation_after_move(const CodeBuffer*, CodeBuffer*)��� member function declared in class ���poll_return_Relocation���
                                                        CodeBuffer*       dst) {
                                                                             ^
hotspot/make/linux/makefiles/rules.make:156: recipe for target 'relocInfo_zero.o' failed
gmake[8]: *** [relocInfo_zero.o] Error 1

2)
hotspot/src/cpu/zero/vm/compiledIC_zero.cpp:63:9: error: prototype for ���u_char* CompiledStaticCall::emit_to_interp_stub(CodeBuffer&)��� does not match any in class ���CompiledStaticCall���
 address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
         ^
In file included from [...]/hotspot/src/cpu/zero/vm/compiledIC_zero.cpp:28:0:
[...]/hotspot/src/share/vm/code/compiledIC.hpp:309:18: error: candidate is: static u_char* CompiledStaticCall::emit_to_interp_stub(CodeBuffer&, address)
   static address emit_to_interp_stub(CodeBuffer &cbuf, address mark = NULL);
                  ^
hotspot/make/linux/makefiles/rules.make:156: recipe for target 'compiledIC_zero.o' failed

3)
hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp: In static member function ���static void BytecodeInterpreter::run(interpreterState)���:
hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp:2193:33: error: ���k_entry��� was not declared in this scope
               result->set_klass(k_entry);
                                 ^
hotspot/make/linux/makefiles/rules.make:156: recipe for target 'bytecodeInterpreter.o' failed
gmake[8]: *** [bytecodeInterpreter.o] Error 1
Comments
Review thread: http://mail.openjdk.java.net/pipermail/hotspot-dev/2015-November/020410.html
02-11-2015

Some additional info: 1) seems to have been introduced by the patch for JDK-8136421 where poll_return_Relocation::fix_relocation_after_move got removed. 2) seems to have been introduced by the patch for JDK-8136421 where the signature of CompiledStaticCall::emit_to_interp_stub() got changed. 3) seems to be related to the fix of JDK-8139163 where k_entry got removed.
02-11-2015