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

Open only linux-x86 builds using Jib fails when building "minimal" jvm

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 9
    • 9
    • infrastructure
    • None
    • b122
    • x86
    • linux

      When enabling building of the minimal jvm for the Jib profile linux-x86, the change also applied to the open only profile for that platform. The minimal jvm is currently not compiling in that configuration:

      In file included from /opt/jprt/T/P1/135924.erik/s/hotspot/src/share/vm/classfile/classLoader.cpp:29:0:
      /opt/jprt/T/P1/135924.erik/s/hotspot/src/share/vm/classfile/classLoaderExt.hpp: In member function 'instanceKlassHandle ClassLoaderExt::Context::record_result(Symbol*, ClassPathEntry*, s2, instanceKlassHandle, Thread*)':
      /opt/jprt/T/P1/135924.erik/s/hotspot/src/share/vm/classfile/classLoaderExt.hpp:58:33: error: 'classloader_type' is not a member of 'ClassLoader'
                 s2 classloader_type = ClassLoader::classloader_type(
                                       ^
      make[4]: *** [/opt/jprt/T/P1/135924.erik/s/build/linux-x86-open/hotspot/variant-minimal/libjvm/objs/classLoader.o] Error 1
      make[3]: *** [variant-minimal-libs] Error 2
      make[3]: *** Waiting for unfinished jobs....
      make[2]: *** [hotspot] Error 1

      I don't know if it's supposed to be compiling or not, but our internal reason for building this platform is for the reference implementation build and I doubt we need to build minimal for that. The short term fix should then be to disable building of minimal in this profile.

            erikj Erik Joelsson
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: