ARM EABI and eclipse-ecj

Andrew Haley aph-gcc@littlepinkcloud.COM
Mon Aug 20 16:26:00 GMT 2007


Steven Newbury writes:
 > 
 > --- 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.  

I found an unwinder bug that I'm working on.  It might cause the
behaviour you describe.

Andrew.



More information about the Java-patches mailing list