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

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

XMLWordPrintable

      /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

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

              Created:
              Updated:
              Resolved: