ARM EABI and eclipse-ecj

Steven Newbury s_j_newbury@yahoo.co.uk
Mon Aug 20 16:18:00 GMT 2007


--- Andrew Haley <aph-gcc@littlepinkcloud.COM> wrote:

> Steven Newbury writes:
>  > 
>  > --- Andrew Haley <aph-gcc@littlepinkcloud.COM> wrote:
>  > 
>  > > Steven Newbury writes:
>  > >  > Hi Andrew,
>  > >  > I've built gcj for ARM EABI using all relevant patches AFAICT, simple
> test
>  > > java
>  > >  > programs are working fine both using gij and gcj.  I can't get
> eclipse-ecj
>  > > to
>  > >  > work though, it is giving me this output with -verbose :
>  > 
>  > I've found that if I use gcj as the jit:
>  >         -Dgnu.gcj.jit.compiler=$(gcj-config --gcj) \ # <- Gentoo-ism
>  >         -Dgnu.gcj.jit.cachedir=/var/tmp/jitcache/ \
>  >         -Dgnu.gcj.jit.options="-Os"
> 
>  > Then it does work.  Something is wrong with the gij interpreter not
>  > gcj itself.
> 
> OK, thanks.  That's really helpful.
> 
>  >  This is the first time I've had a javac other than jikes running on EABI.
> 
>  > Actually this is the most functional jvm I've got working, jamvm had
> problems
>  > with doubles which I couldn't get to the bottom of.  Cacao and kaffe don't
> to
>  > want to work either in various ways.
> 
> I have found one or two more bugs in libffi and fixed them on the
> branch.  It is possible that I forgot to post those patches.
> 
OK, I'd put an || instead of an && for the while loop in the unwind loop, oops.
 As far as I can see I now have everything up to date with the gcj-eabi-branch.
 Now ecj1 doesn't abort, so it is probably fixed, except gij seems to be using
inordinate amounts of memory - is this expected?  I only have 64MB and it's
going deep into swap.  


Steve


      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 



More information about the Java-patches mailing list