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

Building jvm with AOT but without JVMCI should fail at configure time

XMLWordPrintable

    • b22

        From Martin Buchholz (see JDK-8206113)
        "If I try instead
         --with-jvm-features=-graal,-jvmci
        I get
        /home/martin/ws/jdk11/src/hotspot/share/utilities/macros.hpp:277:4: error: #error "Must have JVMCI for AOT"

        ---

        If I try instead
         --with-jvm-features=-graal,-aot,-jvmci
        the build succeeds, but attempts to run jtreg fail with:


        java.lang.NullPointerException
        Error: failed to get JDK properties for /home/martin/ws/jdk11/build/linux-x86_64-normal-server-release/images/jdk/bin/java -enablesystemassertions -Djava.library.path=/home/martin/ws/jdk11/build/linux-x86_64-normal-server-release/images/jdk/../test/jdk/jtreg/native; exit code 1

        ---

        All of these configure variants should Just Work.
        "

        From Vladimir
        "
        Yes, it should be config error.
        We seems missing check HOTSPOT_CHECK_JVM_FEATURE(jvmci) in autoconf/hotspot.m4 when setting ENABLE_AOT.
        "

              kvn Vladimir Kozlov
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: