jdk8u build error in assembling asm_os_linux_aarch32.s

Sergey Nazarkin snazarkin at azul.com
Tue Mar 3 10:12:06 UTC 2020


Hi Choe,

looks like configure sets CC to host gcc version. You can override setting with "CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++” or setup correct PATH var.


Sergey Nazarkin




> On Mar 3, 2020, at 01:33, Choe, Jiwon <jiwon_choe at brown.edu> wrote:
> 
> Hello,
> 
> I'm having trouble in compiling and building aarch32-port/jdk8u.
> 
> 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



More information about the aarch32-port-dev mailing list