-
Bug
-
Resolution: Fixed
-
P3
-
11
-
b08
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.
$ 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.
- relates to
-
JDK-8206135 Building jvm with AOT but without JVMCI should fail at configure time
-
- Resolved
-
-
JDK-8206117 failed to get JDK properties for JVM w/o JVMCI
-
- Resolved
-
-
JDK-8205207 Port Graal unit tests under jtreg
-
- Resolved
-