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

Building ZGC without compiler2 fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • gc
    • b22

      Above configuration gives:

      .../jdk/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp: In function ‘bool is_c2_compilation()’:
      .../jdk/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp:366:30: error: incomplete type ‘ciEnv’ used in nested name specifier
        366 | CompileTask* task = ciEnv::current()->task();
            | ^~~~~~~
      gmake[3]: *** [lib/CompileJvm.gmk:170: .../jdk/build/linux-x86_64-server-slowdebug/hotspot/variant-server/libjvm/objs/zBarrierSetAssembler_x86.o] Error 1
      gmake[3]: *** Waiting for unfinished jobs....
      gmake[2]: *** [make/Main.gmk:245: hotspot-server-libs] Error 2
      gmake[2]: *** Waiting for unfinished jobs....

      ERROR: Build failed for targets 'clean images' in configuration 'linux-x86_64-server-slowdebug' (exit code 2)
      Stopping javac server

      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-server_libjvm_objs_zBarrierSetAssembler_x86.o:
      .../jdk/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp: In function ‘bool is_c2_compilation()’:
      .../jdk/src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp:366:30: error: incomplete type ‘ciEnv’ used in nested name specifier
        366 | CompileTask* task = ciEnv::current()->task();
            | ^~~~~~~

      * All command lines available in .../jdk/build/linux-x86_64-server-slowdebug/make-support/failure-logs.
      === End of repeated output ===

      No indication of failed target found.
      HELP: Try searching the build log for '] Error'.

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: