-
Enhancement
-
Resolution: Fixed
-
P3
-
8
-
None
-
b95
-
linux
Official compiler and OS versions for building OracleJDK are being evaluated. A wanted feature is to be able to separate compiler version from OS version for the linux build, as is already the case for all other platforms. This could be achieved by creating portable self contained compiler bundles. Support for such devkits already exist in the OpenJDK configure scripts, but since it's rarely used, there are a couple of issues with it that needs to be fixed.
Also, build scripts for creating the devkits will be provided.
A devkit like this solves several problems:
1. We need to build on an older OS to create binaries compatible with both old and new versions of OSes, but we also want to use modern compilers not likely to be available on an older OS.
2. For developers it's easier to get a working build environment on a new system since most dependencies will be in the devkit. It also makes it easier to use the official compiler and libraries for developer builds.
3. Support for cross compilation is included. The x86_64 package supports the -m32 flag and will function correctly when the jdk configure script is fed with --with-target-bits=32. The i686 package contains a full x86_64 cross toolchain.
Binary bundles of the devkits will be placed in /java/devtools and be made available to jprt.
Also, build scripts for creating the devkits will be provided.
A devkit like this solves several problems:
1. We need to build on an older OS to create binaries compatible with both old and new versions of OSes, but we also want to use modern compilers not likely to be available on an older OS.
2. For developers it's easier to get a working build environment on a new system since most dependencies will be in the devkit. It also makes it easier to use the official compiler and libraries for developer builds.
3. Support for cross compilation is included. The x86_64 package supports the -m32 flag and will function correctly when the jdk configure script is fed with --with-target-bits=32. The i686 package contains a full x86_64 cross toolchain.
Binary bundles of the devkits will be placed in /java/devtools and be made available to jprt.