JDK-8203288 : PPC64 and s390 fail to build after JDK-8199712 (Flight Recorder)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 11
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • CPU: ppc,s390x
  • Submitted: 2018-05-16
  • Updated: 2018-05-30
  • Resolved: 2018-05-17
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 11
11 b15Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
ppc64el:

/home/shade/jdk-jdk/src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.cpp: In member function 'bool JfrGetCallTrace::get_topframe(void*, frame&)':
/home/shade/jdk-jdk/src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.cpp:99:17: error: 'class JavaThread' has no member named 'pd_get_top_frame_for_profiling'; did you mean 'pd_get_top_frame_for_signal_handler'?
   if (!_thread->pd_get_top_frame_for_profiling(&topframe, ucontext, _in_java)) {
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/shade/jdk-jdk/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp:36:0:
/home/shade/jdk-jdk/src/hotspot/share/jfr/utilities/jfrBigEndian.hpp:108:4: warning: #warning "Unconfigured platform" [-Wcpp]
   #warning "Unconfigured platform"
    ^~~~~~~
lib/CompileJvm.gmk:149: recipe for target '/home/shade/jdk-jdk/build/linux-ppc64le-normal-server-fastdebug/hotspot/variant-server/libjvm/objs/jfrCallTrace.o' failed

Comments
Initially assigning to Volker, please reassign as you see fit. I think it requires a few trivial changes, but it needs to be tested. I can only build ppc64el, and so have a opportunity to fix it incorrectly.
16-05-2018