[kaffe] Kaffe on XScale

Jari Korva jpkorva at iki.fi
Mon Oct 25 23:58:04 PDT 2004


Hi,

I checked out a fresh copy from cvs yesterday, and the things started
rolling on my armv5b! Thanks for your help!!

I run regression tests and the following tests failed (most notably
floating point):

BadFloatTest.fail    DoubleComp.fail  DoubleNeg.fail    GCTest.fail
DateFormatTest.fail  DoubleCvt.fail   DoublePrint.fail
TestMessageFormat.fail

You can get more detailed results from:

http://princess.willab.fi:8111/~jko/kaffe-armv5b-regression2.tar.gz

I used following configuration:

# ./configure CFLAGS=-I/opt/cross/armv5b-linux/include
--prefix=/wrk/ipaq/u/jko/test --build=i686-linux
--host=armv5b-softfloat-linux --enable-xscale
--without-x --disable-alsatest --disable-esdtest --disable-sound
--enable-pure-java-math --with-jikes=/opt/local/bin/jikes
--without-classpath-gtk-awt --without-kaffe-qt-awt --without-kaffe-x-awt
--with-threads=unix-pthreads --with-engine=intrp --with-staticbin
--enable-debug --enable-xdebugging

And compiler:

# armv5b-softfloat-linux-gcc -v
Reading specs from
/opt/cross/armv5b-linux/lib/gcc/armv5b-softfloat-linux/3.4.1/specs
Configured with:
/wrk2/j/arm-linux/crosstool-0.28-rc32/build/armv5b-softfloat-linux/gcc-3.4.1-glibc-2.3.2/gcc-3.4.1/configure
--target=armv5b-softfloat-linux --host=i686-host_pc-linux-gnu
--prefix=/opt/cross/armv5b-linux-3.4.0 --with-float=soft --with-cpu=xscale
--enable-cxx-flags=-mcpu=xscale
--with-headers=/opt/cross/armv5b-linux/armv5b-softfloat-linux/include
--with-local-prefix=/opt/cross/armv5b-linux/armv5b-softfloat-linux
--disable-nls --enable-threads=posix --enable-symvers=gnu
--enable-__cxa_atexit --enable-languages=c,c++,java --enable-shared
--enable-c99 --enable-long-long
Thread model: posix
gcc version 3.4.1

On this platform:

# uname -a
Linux Moxa 2.4.18_mvl30-ixdp425 #605 Thu Apr 15 17:36:30 CST 2004 armv5teb
unknown

Cheers,
  Jari

On Wed, 20 Oct 2004, Dalibor Topic wrote:

> Hi Jari,
>
> Jari Korva wrote:
> > Then I tried adding a debug call to static block of System.java. Even that
> > doesn't work:
> >
> > /wrk/ipaq/u/jko/test/bin/java -cp test.jar hello
> > Internal error: caught an unexpected exception.
> > Please check your CLASSPATH and your installation.
> > java/lang/NullPointerException
> >         at java.lang.System.debug(System.java:native)
> >         at java.lang.System.<clinit>(System.java:43)
> >         at java.lang.ClassLoader.<init>(ClassLoader.java:115)
> >         at java.lang.ClassLoader.<init>(ClassLoader.java:111)
> >         at
> > java.security.SecureClassLoader.<init>(SecureClassLoader.java:60)
> >         at java.net.URLClassLoader.<init>(URLClassLoader.java:544)
> >         at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:237)
> >         at kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:35)
> >
> > Is JNI broken on armv5b?
>
> If the interpreter works, then probably no. The only difference between
> interpreter and jit wrt JNI is the setting of the exception handler in
> kaffe/kaffevm/jni/jni_i.h as far as I know.
>
> cheers,
> dalibor topic
>



More information about the kaffe mailing list