[s390x] build failure without c1 & c2 compiler

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 27
    • Affects Version/s: None
    • Component/s: hotspot
    • b09
    • s390x
    • linux

      s390 build failed when configuration set with --with-jvm-features=-compiler1,-compiler2.

      Log:

      Building target 'images' in configuration 'linux-s390x-server-fastdebug'
      Creating support/modules_libs/java.base/jrt-fs.jar
      Updating support/modules_libs/java.base/server/libjvm.so due to 1 file(s)
      /home/amit/jdk/src/hotspot/cpu/s390/gc/g1/g1BarrierSetAssembler_s390.cpp: In member function ‘void G1BarrierSetAssembler::g1_write_barrier_post(MacroAssembler*, DecoratorSet, Register, Register, Register, Register, Register)’:
      /home/amit/jdk/src/hotspot/cpu/s390/gc/g1/g1BarrierSetAssembler_s390.cpp:421:3: error: ‘generate_post_barrier’ was not declared in this scope
        421 | generate_post_barrier(masm, Rstore_addr, Rnew_val, Z_thread, Rtmp1, Rtmp2, done, !not_null);
            | ^~~~~~~~~~~~~~~~~~~~~
      gmake[3]: *** [lib/CompileJvm.gmk:182: /home/amit/jdk/build/linux-s390x-server-fastdebug/hotspot/variant-server/libjvm/objs/g1BarrierSetAssembler_s390.o] Error 1
      gmake[3]: *** Waiting for unfinished jobs....
      gmake[2]: *** [make/Main.gmk:242: hotspot-server-libs] Error 2

      ERROR: Build failed for target 'images' in configuration 'linux-s390x-server-fastdebug' (exit code 2)

      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-server_libjvm_objs_g1BarrierSetAssembler_s390.o:
      /home/amit/jdk/src/hotspot/cpu/s390/gc/g1/g1BarrierSetAssembler_s390.cpp: In member function ‘void G1BarrierSetAssembler::g1_write_barrier_post(MacroAssembler*, DecoratorSet, Register, Register, Register, Register, Register)’:
      /home/amit/jdk/src/hotspot/cpu/s390/gc/g1/g1BarrierSetAssembler_s390.cpp:421:3: error: ‘generate_post_barrier’ was not declared in this scope
        421 | generate_post_barrier(masm, Rstore_addr, Rnew_val, Z_thread, Rtmp1, Rtmp2, done, !not_null);
            | ^~~~~~~~~~~~~~~~~~~~~

      * All command lines available in /home/amit/jdk/build/linux-s390x-server-fastdebug/make-support/failure-logs.
      === End of repeated output ===

      No indication of failed target found.
      HELP: Try searching the build log for '] Error'.
      HELP: Run 'make doctor' to diagnose build problems.

      make[1]: *** [/home/amit/jdk/make/Init.gmk:151: main] Error 2
      make: *** [/home/amit/jdk/make/PreInit.gmk:159: images] Error 2

            Assignee:
            Amit Kumar
            Reporter:
            Amit Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: