[kaffe] Porting KAFFE on XScale PXA255 - Found a bug???
gerard.basler at cinerent.com
Sun Dec 21 15:57:01 PST 2003
I disabled the jit now. And configured as follows:
KAFFEH=/usr/local/kaffe/bin/kaffeh CC=arm-linux-gcc NM=arm-linux-nm
AR=arm-linux-ar ../kaffe-1.1.3/configure --host=arm-linux
--build=i686-linux --with-rt-jar=/tmp/rt.jar --enable-pure-java-math
--with-threads=unix-jthreads --without-x --prefix=/mnt/cf/kaffe
Then i tried to start the helloworld program but it crashed:
~ # kaffe helloworld
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
I've found a post concerning the same problem:
I did as told:
/mnt/cf # ./sp_offset
#define SP_OFFSET 20
After I've recompiled kaffe with the modified constant (in
/config/arm/linux/md.h) I could run the helloworld program!
I doubt that 20 is the correct value (shouldn't it be smaller).
Anyway what's the meaning of this constant?
BTW: I used gcc 3.3.2. Maybe that's the problem.
But I can't build a 2.95 toolchain. (configure is confused about version
On Thu, 2003-12-18 at 17:42, Helmer Krämer wrote:
> On Wed, 17 Dec 2003 10:34:04 +0100
> Gérard Basler <gerard.basler at cinerent.com> wrote:
> > Hi all!
> > I'm tring to run kaffe on PXA255. But without any luck so far. I've
> > found a similar post concerning PXA250.
> > http://www.kaffe.org/pipermail/kaffe/2003-November/044367.html
> > Does someone know if kaffe works now under PXA250?
> > I really need a working jvm for that cpu.
> > I am willing to put some effort in it (debugging with gdb and so on).
> > Could someone please help me a bit?
> > I don't know where to start from.
> > Is it possible to deactivate the JIT?
> I got 1.1.2 (I guess it was 1.1.2) to run on an PXA250,
> but haven't tried a newer version yet. You need to compile
> kaffe with some 2.95.x gcc if you want to use the jit,
> since newer gcc's use a different calling convention than
> kaffe's jit (if I remember the details correctly).
> kaffe mailing list
> kaffe at kaffe.org
More information about the kaffe