Building Portola JDK11 for AMR64 arch (original) (raw)
denusdv denusdv at gmail.com
Sat Oct 20 12:21:46 UTC 2018
- Previous message (by thread): RFR: JDK-8210958 Rename "make run-test" to "make test"
- Next message (by thread): Building Portola JDK11 for AMR64 arch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all
My purpose it to build JDK 11 Portola for ARM64 arch, I'm using x86 as a build arch,
- The boot SDK is built from the same source.
- The cross compile toolchain is gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu
- The build is done in Alpine OS with glibc on it.
My configure command looks
./configure --openjdk-target=aarch64-oe-linux
--with-boot-jdk=/work/jdk11/build/linux-x86_64-normal-server-release/jdk
--with-devkit=/tools/aarch64-toolchain/gcc-linaro-7.3.1-2
018.05-x86_64_aarch64-linux-gnu --disable-warnings-as-errors
--disable-sjavac
The configure output has only one warning
WARNING: using cross tools not prefixed with host triplet
which I can't resolve.
now when I try to run the make command
I'm getting the following error
/Compiling 3 files for BUILD_VM_COMPILER_MATCH_PROCESSOR
Compiling 5 files for BUILD_VM_COMPILER_NODEINFO_PROCESSOR
Compiling 3 files for BUILD_VM_COMPILER_OPTIONS_PROCESSOR
Compiling 14 files for BUILD_VM_COMPILER_REPLACEMENTS_PROCESSOR
Compiling 3 files for BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR
Compiling 188 files for BUILD_jdk.rmic.interim
Compiling 162 files for BUILD_TOOLS_JDK
/work/jdk11/src/hotspot/os_cpu/linux_aarch64/copy_linux_aarch64.inline.hpp:
Assembler messages:
/work/jdk11/src/hotspot/os_cpu/linux_aarch64/copy_linux_aarch64.inline.hpp:116:
Error: no such instruction: prfm pldl1strm,[%rdi,' /work/jdk11/src/hotspot/os_cpu/linux_aarch64/copy_linux_aarch64.inline.hpp:118: Error: no such instruction:
adr %rax,0f'
/work/jdk11/src/hotspot/os_cpu/linux_aarch64/copy_linux_aarch64.inline.hpp:118:
Error: number of operands mismatch for add' /work/jdk11/src/hotspot/os_cpu/linux_aarch64/copy_linux_aarch64.inline.hpp:125: Error: no such instruction:
prfm pldl1strm,[%rdi,'
/work/jdk11/src/hotspot/os_cpu/linux_aarch64/copy_linux_aarch64.inline.hpp:127:
Error: no such instruction: adr %rax,0f' /work/jdk11/src/hotspot/os_cpu/linux_aarch64/copy_linux_aarch64.inline.hpp:127: Error: number of operands mismatch for
add'
make[3]: *** [lib/CompileJvm.gmk:156:
/work/jdk11/build/linux-aarch64-normal-server-release/hotspot/variant-server/libjvm/objs/accessBackend.o]
Error 1
make[2]: *** [make/Main.gmk:257: hotspot-server-libs] Error 2
make[2]: *** Waiting for unfinished jobs....
/
I know it's related to the cross compile process, pls help me to fix it.
-- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Build-Infrastructure-f75522.html
- Previous message (by thread): RFR: JDK-8210958 Rename "make run-test" to "make test"
- Next message (by thread): Building Portola JDK11 for AMR64 arch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]