jdk8u build error in assembling asm_os_linux_aarch32.s

Alex Kashchenko akashche at redhat.com
Tue Mar 10 14:08:35 UTC 2020


Hi,

On 03/02/2020 10:33 PM, Choe, Jiwon wrote:
> Hello,
> 
> I'm having trouble in compiling and building aarch32-port/jdk8u.

I maintain this cross-compiling script for aarch32-port that may help:

https://github.com/ojdkbuild/contrib_jdk8u-aarch32-ci

It includes CC, CXX and --with-sys-root mentioned in other emails in 
this thread.

> 
> This was what I ran:
> 
> # bash configure --with-jvm-variants=client
> --openjdk-target=arm-linux-gnueabihf
> # make all
> 
> And I got this error message during make:
> 
> Assembling
> /home/sim32/aarch32-openjdk8u/jdk8u/hotspot/src/os_cpu/linux_aarch32/vm/asm_os_linux_aarch32.s
> /home/sim32/aarch32-openjdk8u/jdk8u/hotspot/src/os_cpu/linux_aarch32/vm/asm_os_linux_aarch32.s:
> Assembler messages:
> /home/sim32/aarch32-openjdk8u/jdk8u/hotspot/src/os_cpu/linux_aarch32/vm/asm_os_linux_aarch32.s:5:
> Error: too many memory references for `mov'
> /home/sim32/aarch32-openjdk8u/jdk8u/hotspot/src/os_cpu/linux_aarch32/vm/asm_os_linux_aarch32.s:6:
> Error: no such instruction: `bx lr'
> make[6]: *** [asm_os_linux_aarch32.o] Error 1
> make[6]: *** Waiting for unfinished jobs....
> make[5]: *** [the_vm] Error 2
> make[4]: *** [product1] Error 2
> make[3]: *** [generic_build1] Error 2
> make[2]: *** [product1] Error 2
> make[1]: ***
> [/home/sim32/aarch32-openjdk8u/jdk8u/build/linux-aarch32-normal-client-release/hotspot/_hotspot.timestamp]
> Error 2
> make: *** [hotspot-only] Error 2
> 
> Could anyone help in resolving this issue? Thanks in advance!
> 
> -Jiwon
> 


-- 
-Alex



More information about the aarch32-port-dev mailing list