Building Portola JDK11 for AMR64 arch (original) (raw)
Mikael Vidstedt mikael.vidstedt at oracle.com
Fri Oct 26 18:21:26 UTC 2018
- Previous message (by thread): Building Portola JDK11 for AMR64 arch
- Next message (by thread): RFR(XXS) 8212877: Restore JTREG_VERBOSE value for mach5 testing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Oct 26, 2018, at 3:47 AM, Aleksey Shipilev <shade at redhat.com> wrote:
On 10/26/2018 10:36 AM, Andrew Haley wrote: On 10/26/2018 09:00 AM, Mikael Vidstedt wrote:
./configure --openjdk-target=aarch64-oe-linux --with-boot-jdk=/work/jdk11/build/linux-x8664-normal-server-release/jdk --with-devkit=/tools/aarch64-toolchain/gcc-linaro-7.3.1-2 018.05-x8664aarch64-linux-gnu --disable-warnings-as-errors --disable-sjavac
You need a sysroot in order to cross compile. It should be populated with the target libraries and headers. Portola is definitely cross-compilable from x8664: https://builds.shipilev.net/openjdk-portola/openjdk-portola-b4-jdk-12+15-linux-aarch64-fastdebug.configure.log https://builds.shipilev.net/openjdk-portola/openjdk-portola-b4-jdk-12+15-linux-aarch64-fastdebug.build.log It uses sysroot generated as per instruction: http://hg.openjdk.java.net/jdk/jdk/raw-file/tip/doc/building.html#creating-and-using-sysroots-with-qemu-deboostrap <http://hg.openjdk.java.net/jdk/jdk/raw-file/tip/doc/building.html#creating-and-using-sysroots-with-qemu-deboostrap>
Thanks for confirming, Aleksey!
Cheers, Mikael
- Previous message (by thread): Building Portola JDK11 for AMR64 arch
- Next message (by thread): RFR(XXS) 8212877: Restore JTREG_VERBOSE value for mach5 testing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]