Build broken on linux-sparc64

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Fri Sep 28 14:35:56 UTC 2018


Hello!

Just did a test build after a longer hiatus on linux-sparc64 and ran into this:

=== Output from failing command(s) repeated here ===
/usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_g1CollectedHeap.o:\n" 
* For target hotspot_variant-server_libjvm_objs_g1CollectedHeap.o:
(/bin/grep -v -e "^Note: including file:" <  /srv/openjdk/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_g1CollectedHeap.o.log || true) | /usr/bin/head -n 12 
/srv/openjdk/jdk/src/hotspot/share/gc/g1/g1CollectedHeap.cpp: In member function ‘bool G1ParEvacuateFollowersClosure::offer_termination()’:
/srv/openjdk/jdk/src/hotspot/share/gc/g1/g1CollectedHeap.cpp:3177:106: error: no matching function for call to ‘EventGCPhaseParallel::commit(uint, uint, const char*)’
   event.commit(GCId::current(), pss->worker_id(), G1GCPhaseTimes::phase_name(G1GCPhaseTimes::Termination));
                                                                                                          ^
In file included from /srv/openjdk/jdk/src/hotspot/share/jfr/jfrEvents.hpp:32,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp:30,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1Policy.hpp:29,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1ParScanThreadState.hpp:32,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:28,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:31,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:32,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:31,
if test `/usr/bin/wc -l < /srv/openjdk/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_g1CollectedHeap.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi 
   ... (rest of output omitted)
/usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_g1GCPhaseTimes.o:\n" 
* For target hotspot_variant-server_libjvm_objs_g1GCPhaseTimes.o:
(/bin/grep -v -e "^Note: including file:" <  /srv/openjdk/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_g1GCPhaseTimes.o.log || true) | /usr/bin/head -n 12 
/srv/openjdk/jdk/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp: In destructor ‘virtual G1GCParPhaseTimesTracker::~G1GCParPhaseTimesTracker()’:
/srv/openjdk/jdk/src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp:544:82: error: no matching function for call to ‘EventGCPhaseParallel::commit(uint, uint&, const char*)’
     _event.commit(GCId::current(), _worker_id, G1GCPhaseTimes::phase_name(_phase));
                                                                                  ^
In file included from /srv/openjdk/jdk/src/hotspot/share/jfr/jfrEvents.hpp:32,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp:30,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1Policy.hpp:29,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1ParScanThreadState.hpp:32,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp:28,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1OopClosures.inline.hpp:31,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp:32,
                 from /srv/openjdk/jdk/src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp:31,
if test `/usr/bin/wc -l < /srv/openjdk/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_g1GCPhaseTimes.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi 
   ... (rest of output omitted)
/usr/bin/printf "* For target jdk_modules_java.base__the.java.base_batch:\n" 
* For target jdk_modules_java.base__the.java.base_batch:
(/bin/grep -v -e "^Note: including file:" <  /srv/openjdk/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/jdk_modules_java.base__the.java.base_batch.log || true) | /usr/bin/head -n 12 
if test `/usr/bin/wc -l < /srv/openjdk/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/jdk_modules_java.base__the.java.base_batch.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi 
/usr/bin/printf "\n* All command lines available in /srv/openjdk/jdk/build/linux-sparcv9-server-release/make-support/failure-logs.\n" 

* All command lines available in /srv/openjdk/jdk/build/linux-sparcv9-server-release/make-support/failure-logs.
/usr/bin/printf "=== End of repeated output ===\n"  
=== End of repeated output ===

The issue does not show on linux-x86_64, so it must be linux-sparc64-specific.

I assume that the internal interface for the G1 changed and needs to be updated
for linux-sparc64. I'm just pointing this here already, so in case someone wants
to give some pointers. I will look into fixing the issue later.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the hotspot-dev mailing list