This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARM EABI and eclipse-ecj


--- 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/ 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]