[kaffe] Internal error: caught an unexpected exception. 1.1.5
port to ARM - it seems it's related to --with-engine=intrp
gian paolo ciceri
gp.ciceri at acm.org
Wed Apr 6 01:44:01 PDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
gian paolo ciceri wrote:
| Hello all,
| I've just cross-compiled the new 1.1.5 on ARM (XScale PXA255,
| crosstools, gcc 2.95.3, glibc 2.1.3), but when I run the simplest "hello
| world" I take
|
| ----
| bash# /usr/local/kaffe-1.1.5-arm-X-crosstool-glibc213/bin/kaffe Hello
| Internal error: caught an unexpected exception.
| Please check your CLASSPATH and your installation.
| java/lang/NullPointerException
| ~ at java.lang.VMThrowable.fillInStackTrace(VMThrowable.java:76)
| ~ at java.lang.Throwable.fillInStackTrace(Throwable.java:498)
| ~ at java.lang.Throwable.<init>(Throwable.java:159)
| ~ at java.lang.Error.<init>(Error.java:81)
| ~ at java.lang.LinkageError.<init>(LinkageError.java:72)
| ~ at
|
java.lang.ExceptionInInitializerError.<init>(ExceptionInInitializerError.java:97)
|
| ~ at
| java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:772)
| Aborted
| ----
|
| I've found a similar issue in the ML
|
| http://www.kaffe.org/pipermail/kaffe/2004-October/100109.html
|
| (I've the root filesystem NFS-mounted, so perhaps it's a similar case)
|
| Any idea to make some further test ?
|
| TIA
| /gp
|
|
Well, I hate to answer myself, but it seems an intrp related issue,
in fact if I try building the JIT (previously I vas building with
- --with-engine=intrp)
$ ./configure --host=arm-unknown-linux-gnu --enable-pure-java-math
- --build=i686-linux --without-esd --without-kaffe-qt-awt
- --with-kaffe-x-awt --with-x --with-engine=jit
- --x-includes=X_ARM_INCLUDES --x-libraries=X_ARM_LIBS
- --without-classpath-gtk-awt
- --prefix=/usr/local/kaffe-1.1.5-JIT-arm-X-crosstool-glibc213
my test program works. Hurrah.
But why if I build the interpreter I take this error ?
Regards
/gp
_______________________________________________
kaffe mailing list
kaffe at kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
- --
gian paolo ciceri - japanman
suddenthinks, excellence through refactoring
++39 340 7218101
gp.ciceri at acm.org
gp.ciceri at suddenthinks.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFCU6Et5CXmEF0gaHgRAj3KAJ9Y+i9ObhPSgt6a7gvYgN9YVMRsdwCdGxdl
z4PdancErVgH6J2KTXti6tE=
=0k3M
-----END PGP SIGNATURE-----
--
gian paolo ciceri - japanman
suddenthinks, excellence through refactoring
++39 340 7218101
gp.ciceri at acm.org
gp.ciceri at suddenthinks.com
More information about the kaffe
mailing list