OpenJDK-8: Crypto performance is very slow on ARMv7
Srinivasa Rao Ragolu
sragolu at mvista.com
Tue Jan 31 12:42:27 UTC 2017
Hi Andrew,
I got below compilation errors when I comment (PACKAGECONFIG_append_arm = "
zero" )
I am using 15 months ago source code ie: hotspot
--> d7b01fb81aa8(changeset). I hope it has jit compiler support. And I am
building from aarch32-port.
Errors:
| +
/home/srinivas/cham-project-new/montavista/bin/../tools/arm-gnu//bin/arm-montavista-linux-gnueabi-g++
-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mtune=cortex-a9
--sysroot=/home/srinivas/cham-project-new/ericsson-project/tmp/sysroots/marvell-a385-cham
-DLINUX -D_GNU_SOURCE -DIA32 -DPRODUCT
-I/home/srinivas/cham-project-new/ericsson-project/tmp/work/cortexa9hf-vfp-montavista-linux-gnueabi/openjdk-8/72b05-r0/jdk8u-e8bed1496ff2/hotspot/src/share/vm/prims
-I/home/srinivas/cham-project-new/ericsson-project/tmp/work/cortexa9hf-vfp-montavista-linux-gnueabi/openjdk-8/72b05-r0/jdk8u-e8bed1496ff2/hotspot/src/share/vm
-I/home/srinivas/cham-project-new/ericsson-project/tmp/work/cortexa9hf-vfp-montavista-linux-gnueabi/openjdk-8/72b05-r0/jdk8u-e8bed1496ff2/hotspot/src/share/vm/precompiled
-I/home/srinivas/cham-project-new/ericsson-project/tmp/work/cortexa9hf-vfp-montavista-linux-gnueabi/openjdk-8/72b05-r0/jdk8u-e8bed1496ff2/hotspot/src/cpu/x86/vm
-I/home/srinivas/cham-project-new/ericsson-project/tmp/work/cortexa9hf-vfp-montavista-linux-gnueabi/openjdk-8/72b05-r0/jdk8u-e8bed1496ff2/hotspot/src/os_cpu/linux_x86/vm
-I/home/srinivas/cham-project-new/ericsson-project/tmp/work/cortexa9hf-vfp-montavista-linux-gnueabi/openjdk-8/72b05-r0/jdk8u-e8bed1496ff2/hotspot/src/os/linux/vm
-I/home/srinivas/cham-project-new/ericsson-project/tmp/work/cortexa9hf-vfp-montavista-linux-gnueabi/openjdk-8/72b05-r0/jdk8u-e8bed1496ff2/hotspot/src/os/posix/vm
-I../generated '-DHOTSPOT_RELEASE_VERSION="25.66-b00"'
'-DHOTSPOT_BUILD_TARGET="product"' '-DHOTSPOT_BUILD_USER="srinivas"'
'-DHOTSPOT_LIB_ARCH="arm"' '-DHOTSPOT_VM_DISTRO="OpenJDK"' -O2 -pipe -g
-feliminate-unused-debug-types -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86
-DTARGET_ARCH_MODEL_x86_32 -DTARGET_OS_ARCH_linux_x86
-DTARGET_OS_ARCH_MODEL_linux_x86_32 -DTARGET_COMPILER_gcc -DCOMPILER1
-DDONT_USE_PRECOMPILED_HEADER -fno-rtti -fno-exceptions -D_REENTRANT
-fcheck-new -fvisibility=hidden -m32 -march=i586 -pipe -fno-strict-aliasing
-g -fno-omit-frame-pointer -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86
-DTARGET_ARCH_MODEL_x86_32 -DTARGET_OS_ARCH_linux_x86
-DTARGET_OS_ARCH_MODEL_linux_x86_32 -DTARGET_COMPILER_gcc -DCOMPILER1
-DDONT_USE_PRECOMPILED_HEADER -fno-rtti -fno-exceptions -D_REENTRANT
-fcheck-new -fvisibility=hidden -m32 -march=i586 -pipe -fno-strict-aliasing
-g -fno-omit-frame-pointer -O3 -DVM_LITTLE_ENDIAN -Wno-cpp -Werror
-Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -c
-MMD -MP -MF ../generated/dependencies/adaptiveSizePolicy.o.d -fpch-deps -o
adaptiveSizePolicy.o
/home/srinivas/cham-project-new/ericsson-project/tmp/work/cortexa9hf-vfp-montavista-linux-gnueabi/openjdk-8/72b05-r0/jdk8u-e8bed1496ff2/hotspot/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp
| arm-montavista-linux-gnueabi-g++: error: unrecognized command line option
'-m32'
| arm-montavista-linux-gnueabi-g++: error: unrecognized argument in option
'-march=i586'
| arm-montavista-linux-gnueabi-g++: note: valid arguments to '-march=' are:
armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6
armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m
armv7-r armv7e-m ep9312 iwmmxt iwmmxt2 native
| arm-montavista-linux-gnueabi-g++: error: unrecognized command line option
'-m32'
| arm-montavista-linux-gnueabi-g++: error: unrecognized argument in option
'-march=i586'
| arm-montavista-linux-gnueabi-g++: note: valid arguments to '-march=' are:
armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6
armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m
armv7-r armv7e-m ep9312 iwmmxt iwmmxt2 native
| make[6]: *** [adaptiveSizePolicy.o] Error 1
How to resolve this issue? Please provide your inputs.
Thanks,
Srinivas.
On Mon, Jan 30, 2017 at 4:34 PM, Andrew Haley <aph at redhat.com> wrote:
> On 30/01/17 10:48, Srinivasa Rao Ragolu wrote:
> > Any clue on, how to proceed further?
>
> Download the latest source code. Try to build it. Tell us what the build
> errors are.
>
> Andrew.
>
>
More information about the aarch32-port-dev
mailing list