RFR: JDK-8165946: buildjdk logic is incomplete when separate sysroots needed
gary.adams at oracle.com
Tue Sep 13 12:19:15 UTC 2016
When the buildjdk logic was added to the jdk9 build system, it did not
cover the use cases required in the mobile/dev builds. We have been
this issue using a prebuilt macosx buildjdk with the --with-build-jdk
This is an awkward workaround, because the buildjdk had to be new enough
to match the
requirements of the repos being built. e.g. jdk9 b132 included some
newer command line
option in the jmod and jlink command build step.
This fix is a more permanent solution adding a --with-build-sysroot
option to allow
an explicit reference to the sysroot to use on the build system. A
similar call already exists
when --with-devkit and --with-build-devkit are used.
This is an interim fix in the mobile/dev repos. Many of the platform
specific checks will need to
be addressed before they can be targeted for the mainstream repos.
Here's an example of how this would be used for an ios-arm64 build :
More information about the build-dev