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

jdk build failed for "--with-jvm-variants=minimal"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 11
    • Fix Version/s: 11-pool
    • Component/s: hotspot
    • Labels:

      Description

      /git/jdk/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/jfrJvmtiAgent.o: In function `JfrJvmtiAgent::retransform_classes(JNIEnv_*, _jobjectArray*, JavaThread*)':
      /git/jdk/./open/src/hotspot/share/prims/jvmtiUtil.hpp:50: undefined reference to `JvmtiUtil::_error_names'
      /git/jdk/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/jfrJvmtiAgent.o: In function `JfrJvmtiAgent::create()':
      /git/jdk/./open/src/hotspot/share/prims/jvmtiEnvBase.hpp:76: undefined reference to `JvmtiEnvBase::_phase'
      collect2: error: ld returned 1 exit status
      make[3]: *** [/git/jdk/build/linux-x86_64-server-release/support/modules_libs/java.base/server/libjvm.so] Error 1
      lib/CompileJvm.gmk:141: recipe for target /git/jdk/build/linux-x86_64-server-release/support/modules_libs/java.base/server/libjvm.so' failed
      make[2]: *** [hotspot-server-libs] Error 2
      make/Main.gmk:255: recipe for target 'hotspot-server-libs' failed

      ERROR: Build failed for target 'default (exploded-image)' in configuration 'linux-x86_64-server-release' (exit code 2)

      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link:
      /git/jdk/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/jfrJvmtiAgent.o: In function `JfrJvmtiAgent::retransform_classes(JNIEnv_*, _jobjectArray*, JavaThread*)':
      /git/jdk/./open/src/hotspot/share/prims/jvmtiUtil.hpp:50: undefined reference to `JvmtiUtil::_error_names'
      /git/jdk/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/jfrJvmtiAgent.o: In function `JfrJvmtiAgent::create()':
      /git/jdk/./open/src/hotspot/share/prims/jvmtiEnvBase.hpp:76: undefined reference to `JvmtiEnvBase::_phase'
      collect2: error: ld returned 1 exit status

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

      === Make failed targets repeated here ===
      lib/CompileJvm.gmk:141: recipe for target '/git/jdk/build/linux-x86_64-server-release/support/modules_libs/java.base/server/libjvm.so' failed
      make/Main.gmk:255: recipe for target 'hotspot-server-libs' failed
      === End of repeated output ===

      Hint: Try searching the build log for the name of the first failed target.
      Hint: See doc/building.html#troubleshooting for assistance.

      /git/jdk/open/make/Init.gmk:310: recipe for target 'main' failed
      make[1]: *** [main] Error 2
      /git/jdk/open/make/Init.gmk:186: recipe for target 'default' failed
      make: *** [default] Error 2

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fmatte Fairoz Matte
              Reporter:
              fmatte Fairoz Matte
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: