jdk8u build error in assembling asm_os_linux_aarch32.s

Choe, Jiwon jiwon_choe at brown.edu
Mon Mar 9 21:41:26 UTC 2020


Hi Sergey,

Thank you so much for your help. I have been configuring again using this
command:
bash configure --with-jvm-variants=client
--openjdk-target=arm-linux-gnueabihf CC=arm-linux-gnueabihf-gcc
CXX=arm-linux-gnueabihf-g++

Now, this fails with an error message saying that it could not find X11
libraries. I'm thinking that this is fixable by specifying the X11 library
path using the --with-x option, but nothing seems to work (I tried
/usr/bin/X11, /etc/X11, /usr/include/X11, /usr/share/X11, which all appear
when I do 'whereis X11'). Am I not specifying the correct path to X11
libraries?

It will be great if anyone could point me in the right direction. Thank you
in advance!

-Jiwon

On Tue, Mar 3, 2020 at 5:12 AM Sergey Nazarkin <snazarkin at azul.com> wrote:

> 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