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

Minimal VM should build cleanly on 64-bit platforms

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b14

      Backports

        Description


        This is due to jvm.cfg being regenerated only for 32-bit VMs, so the jlink fails with:

        Building targets 'clean-hotspot images' in configuration 'linux-x86_64-normal-minimal-release'
        Cleaning hotspot build artifacts ... done
        Compiling 2 files for BUILD_JVMTI_TOOLS
        Updating support/modules_libs/java.base/minimal/libjvm.so due to 470 file(s)
        Creating hotspot/variant-minimal/libjvm/gtest/libjvm.so from 76 file(s)
        Creating hotspot/variant-minimal/libjvm/gtest/gtestLauncher from 1 file(s)
        Error: missing `server' JVM at `/home/shade/trunks/jdk-jdk/build/linux-x86_64-normal-minimal-release/jdk/lib/server/libjvm.so'.
        Please install or use the JRE or JDK that contains these missing components.

        While Minimal VM is targeted to 32-bit only, it makes some sense to allow it to build cleanly on 64-bit too.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: