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

VM build without C1 fails after JDK-8313372

XMLWordPrintable

    • 22
    • b12
    • generic
    • linux

      --------------------------------------
      how to reproduce:

      ./configure --with-jvm-features=-compiler1 --with-debug-level=release
      make images JOBS=32

      --------------------------------------
      here shows the snippet of error log

      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link:
      /usr/bin/ld: ~/tmp/build-release/hotspot/variant-server/libjvm/objs/jvmciCompilerToVMInit.o: in function `CompilerToVM::initialize_intrinsics(JVMCIEnv*)':
      make/hotspot/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:252: undefined reference to `Compiler::is_intrinsic_supported(vmIntrinsicID)'
      /usr/bin/ld: make/hotspot/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:252: undefined reference to `Compiler::is_intrinsic_supported(vmIntrinsicID)'
      /usr/bin/ld: make/hotspot/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:252: undefined reference to `Compiler::is_intrinsic_supported(vmIntrinsicID)'
      /usr/bin/ld: make/hotspot/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:252: undefined reference to `Compiler::is_intrinsic_supported(vmIntrinsicID)'
      /usr/bin/ld: make/hotspot/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:252: undefined reference to `Compiler::is_intrinsic_supported(vmIntrinsicID)'
      /usr/bin/ld: ~/tmp/build-release/hotspot/variant-server/libjvm/objs/jvmciCompilerToVMInit.o:make/hotspot/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:252: more undefined references to `Compiler::is_intrinsic_supported(vmIntrinsicID)' follow
      collect2: error: ld returned 1 exit status

      * All command lines available in ~/tmp/build-release/make-support/failure-logs.
      === End of repeated output ===


      --------------------------------------
      Note that VM build without C2 would fail either after JDK-8313372.
      But the VM build failed early due to JDK-8313530

            pxie Peng Xie
            haosun Hao Sun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: