Closed fjeremic closed 5 years ago
@keithc-ca
See also #6994.
Since DDR is supported and enabled for zLinux, it seems strange the DDR tests cannot compile.
It appears TEST_JDK_HOME
was improperly specified as
/java/openj9-openjdk-jdk11/build/linux-s390x-normal-server-release/jdk
when it should have been
/java/openj9-openjdk-jdk11/build/linux-s390x-normal-server-release/images/jdk
The former does not support DDR while the latter should (if it was enabled at configuration time).
The former does not support DDR while the latter should (if it was enabled at configuration time).
Why doesn't DDR work for the build in /jdk
?
I've just tested with:
/java/openj9-openjdk-jdk11/build/linux-s390x-normal-server-release/images/jdk
And everything is working as expected. Interesting caveat. I'd also like to understand why /jdk
does not work.
Why doesn't DDR work for the build in
/jdk
?
I was under the impression that /jdk
(as opposed to /images/jdk
) was not expected to be a full JDK - it only needed to be capable enough to build /images/jdk
, etc. Given that belief, I never arranged for DDR artifacts to be present in /jdk
. The comment [1] suggests otherwise. Let's repurpose this issue to fix that.
[1] https://github.com/ibmruntimes/openj9-openjdk-jdk11/blob/openj9/make/Main.gmk#L951
Fixed via the three PRs linked above; closing.
Using the JDK11 Dockerfile and adding the test dependencies needed to build and execute tests by running the following commands:
Then trying to build the tests:
The test compilation fails at this point:
It seems like the same errors encountered in #3366. Removing the
DDR_Test
directory and runningmake compile
works around the problem.