Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8200103

Shenandoah: make does not work on armbian stretch 32bit

XMLWordPrintable

    • gc
    • x86
    • linux

      FULL PRODUCT VERSION :
      Boot jdk used:

      openjdk version "10-internal" 2018-03-20
      OpenJDK Runtime Environment (build 10-internal+0-adhoc.a.jdk10)
      OpenJDK Server VM (build 10-internal+0-adhoc.a.jdk10, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Linux aHC1a 4.9.61-odroidxu4 #2 SMP PREEMPT Wed Nov 22 16:34:23 CET 2017 armv7l GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      Following instructions for java 10 at:

      https://wiki.openjdk.java.net/display/shenandoah/Main

      Neither make nor make images work.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Follow instructions for java 10 at:

      https://wiki.openjdk.java.net/display/shenandoah/Main

      type "make" return

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      no error
      ACTUAL -
      make fails

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      cat hotspot_variant-server_libjvm_objs_shenandoahVerifier.o.cmdline
      /usr/bin/g++ -I/home/a/shenandoah/build/linux-arm-normal-server-release/hotspot/variant-server/libjvm/objs/precompiled -std=gnu++98 -D_GNU_SOURCE -D_REENTRANT -fcheck-new -fno-delete-null-pointer-checks -fno-lifetime-dse -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DSUPPORTS_CLOCK_MONOTONIC -DLINUX -pipe -fPIC -fno-rtti -fno-exceptions -fvisibility=hidden -fno-strict-aliasing -fno-omit-frame-pointer -DVM_LITTLE_ENDIAN -Wpointer-arith -Wsign-compare -Wunused-function -Wunused-value -Woverloaded-virtual -Wno-format-zero-length -Wtype-limits -Wuninitialized -Wreturn-type -Wundef -Wformat=2 -DARM -fsigned-char -DPRODUCT -DTARGET_ARCH_arm -DINCLUDE_SUFFIX_OS=_linux -DINCLUDE_SUFFIX_CPU=_arm -DINCLUDE_SUFFIX_COMPILER=_gcc -DTARGET_COMPILER_gcc -DARM32 -DHOTSPOT_LIB_ARCH='"arm"' -DCOMPILER1 -DCOMPILER2 -DDTRACE_ENABLED -DINCLUDE_JVMCI=0 -DSUPPORT_BARRIER_ON_PRIMITIVES -I/home/a/shenandoah/src/hotspot/share -I/home/a/shenandoah/src/hotspot/os/linux -I/home/a/shenandoah/src/hotspot/os/posix -I/home/a/shenandoah/src/hotspot/cpu/arm -I/home/a/shenandoah/src/hotspot/os_cpu/linux_arm -I/home/a/shenandoah/build/linux-arm-normal-server-release/hotspot/variant-server/gensrc -I/home/a/shenandoah/src/hotspot/share/precompiled -I/home/a/shenandoah/src/hotspot/share/include -I/home/a/shenandoah/src/hotspot/os/posix/include -I/home/a/shenandoah/src/java.base/share/native/include -I/home/a/shenandoah/src/java.base/unix/native/include -I/home/a/shenandoah/src/java.base/share/native/libjimage -g -O3 -DTHIS_FILE='"shenandoahVerifier.cpp"' -c -MMD -MF /home/a/shenandoah/build/linux-arm-normal-server-release/hotspot/variant-server/libjvm/objs/shenandoahVerifier.d -o /home/a/shenandoah/build/linux-arm-normal-server-release/hotspot/variant-server/libjvm/objs/shenandoahVerifier.o /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp

      cat hotspot_variant-server_libjvm_objs_shenandoahVerifier.o.log
      In file included from /home/a/shenandoah/src/hotspot/share/asm/macroAssembler.hpp:31:0,
                       from /home/a/shenandoah/src/hotspot/cpu/arm/nativeInst_arm.hpp:28,
                       from /home/a/shenandoah/src/hotspot/share/code/nativeInst.hpp:30,
                       from /home/a/shenandoah/src/hotspot/share/code/compiledMethod.inline.hpp:29,
                       from /home/a/shenandoah/src/hotspot/share/runtime/frame.inline.hpp:28,
                       from /home/a/shenandoah/src/hotspot/share/prims/methodHandles.hpp:30,
                       from /home/a/shenandoah/src/hotspot/share/ci/ciMethod.hpp:33,
                       from /home/a/shenandoah/src/hotspot/share/code/debugInfoRec.hpp:30,
                       from /home/a/shenandoah/src/hotspot/share/ci/ciEnv.hpp:31,
                       from /home/a/shenandoah/src/hotspot/share/ci/ciUtilities.hpp:28,
                       from /home/a/shenandoah/src/hotspot/share/ci/ciNullObject.hpp:30,
                       from /home/a/shenandoah/src/hotspot/share/ci/ciConstant.hpp:29,
                       from /home/a/shenandoah/src/hotspot/share/ci/ciArray.hpp:29,
                       from /home/a/shenandoah/src/hotspot/share/precompiled/precompiled.hpp:35:
      /home/a/shenandoah/src/hotspot/cpu/arm/macroAssembler_arm.hpp:348:42: error: expected identifier before string constant
       #define verify_oop(reg) _verify_oop(reg, "broken oop " #reg, __FILE__, __LINE__)
                                                ^
      /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:84:8: note: in expansion of macro ‘verify_oop’
         void verify_oop(oop obj) {
              ^~~~~~~~~~
      /home/a/shenandoah/src/hotspot/cpu/arm/macroAssembler_arm.hpp:348:42: error: expected ‘,’ or ‘...’ before string constant
       #define verify_oop(reg) _verify_oop(reg, "broken oop " #reg, __FILE__, __LINE__)
                                                ^
      /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:84:8: note: in expansion of macro ‘verify_oop’
         void verify_oop(oop obj) {
              ^~~~~~~~~~
      /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp: In member function ‘void ShenandoahVerifyOopClosure::verify_oop_at(T*, oop)’:
      /home/a/shenandoah/src/hotspot/cpu/arm/macroAssembler_arm.hpp:348:80: error: no matching function for call to ‘ShenandoahVerifyOopClosure::_verify_oop(oopDesc*&, const char [15], const char [74], int)’
       #define verify_oop(reg) _verify_oop(reg, "broken oop " #reg, __FILE__, __LINE__)
                                                                                      ^
      /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:270:5: note: in expansion of macro ‘verify_oop’
           verify_oop(obj);
           ^~~~~~~~~~
      /home/a/shenandoah/src/hotspot/cpu/arm/macroAssembler_arm.hpp:348:25: note: candidate: void ShenandoahVerifyOopClosure::_verify_oop(oop, int)
       #define verify_oop(reg) _verify_oop(reg, "broken oop " #reg, __FILE__, __LINE__)
                               ^
      /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:84:8: note: in expansion of macro ‘verify_oop’
         void verify_oop(oop obj) {
              ^~~~~~~~~~
      /home/a/shenandoah/src/hotspot/cpu/arm/macroAssembler_arm.hpp:348:25: note: candidate expects 2 arguments, 4 provided
       #define verify_oop(reg) _verify_oop(reg, "broken oop " #reg, __FILE__, __LINE__)
                               ^
      /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:84:8: note: in expansion of macro ‘verify_oop’
         void verify_oop(oop obj) {
              ^~~~~~~~~~
      /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp: In member function ‘void ShenandoahVerifyOopClosure::verify_oop_standalone(oop)’:
      /home/a/shenandoah/src/hotspot/cpu/arm/macroAssembler_arm.hpp:348:80: error: no matching function for call to ‘ShenandoahVerifyOopClosure::_verify_oop(oopDesc*&, const char [15], const char [74], int)’
       #define verify_oop(reg) _verify_oop(reg, "broken oop " #reg, __FILE__, __LINE__)
                                                                                      ^
      /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:282:5: note: in expansion of macro ‘verify_oop’
           verify_oop(obj);
           ^~~~~~~~~~
      /home/a/shenandoah/src/hotspot/cpu/arm/macroAssembler_arm.hpp:348:25: note: candidate: void ShenandoahVerifyOopClosure::_verify_oop(oop, int)
       #define verify_oop(reg) _verify_oop(reg, "broken oop " #reg, __FILE__, __LINE__)
                               ^
      /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:84:8: note: in expansion of macro ‘verify_oop’
         void verify_oop(oop obj) {
              ^~~~~~~~~~
      /home/a/shenandoah/src/hotspot/cpu/arm/macroAssembler_arm.hpp:348:25: note: candidate expects 2 arguments, 4 provided
       #define verify_oop(reg) _verify_oop(reg, "broken oop " #reg, __FILE__, __LINE__)
                               ^
      /home/a/shenandoah/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp:84:8: note: in expansion of macro ‘verify_oop’
         void verify_oop(oop obj) {
              ^~~~~~~~~~


      REPRODUCIBILITY :
      This bug can be reproduced always.

            shade Aleksey Shipilev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: