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

Troubles configuring graal tests

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 11
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
    • Understanding:
      Cause Known

      Description

      When I provide no graal flags to configure, a null build of test-image gives me unwanted duplicate messages:

       $ make test-image
      Building target 'test-image' in configuration 'linux-x86_64-normal-server-release'
      Skip building of Graal unit tests because 3rd party libraries directory is not specified
      Skip building of Graal unit tests because 3rd party libraries directory is not specified

      Probably make should be silent, and any failures about detecting the graal test libraries should be moved to the configure step where it is customary to have such ... "Checking for ..."

      ---

      Even configuring without graal does not change this

      --with-jvm-features=-graal

      should disable all graal-relted output, but does not.

      ---

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                epavlova Ekaterina Pavlova
                Reporter:
                martin Martin Buchholz
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: