> 2 aug. 2018 kl. 14:07 skrev Andrew Haley <a...@redhat.com>: > >> On 08/02/2018 07:35 AM, David Holmes wrote: >> In theory yes - in practice I don't know if anyone has tried it. How >> would you do a native build using the ARM64 sources rather than the >> aarch64 sources? > > It's fine. I used: > > sh ./configure --with-native-debug-symbols=internal > --disable-warnings-as-errors --disable-hotspot-gtest --enable-dtrace=no > --with-jtreg=/home/aph/jtreg > --with-boot-jdk=/local/jdk10-pristine/build/linux-aarch64-normal-server-release/images/jdk/ > --enable-precompiled-headers --with-debug-level=release > --with-jvm-features=-aot,-jvmci > > ... but the important part is to disable aot and jvmci.
I think what David meant was that it's unclear if it's possible to build the ARM64 port natively, i.e. using --with-cpu-port=arm64, instead of the default --with-cpu-port=aarch64. /Magnus > > -- > Andrew Haley > Java Platform Lead Engineer > Red Hat UK Ltd. <https://www.redhat.com> > EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671