Hello,<br><br>I successfully cross-compiled Kaffe 1.1.6 for the ARM9 (kernel 2.6.24 gcc 4.1.2) architecture in order to use Tomcat. It took me several days but now almost everything is OK! My only problem is taht I'm not able to run a simple Hello World (Kaffe abort with a java/lang/StackOverflowError). I know that there are other posts on the list but nothing helped me.<br>
<br># java -classpath . HelloWorld<br>Internal error: caught an unexpected exception.<br>Please check your CLASSPATH and your installation.<br>java/lang/StackOverflowError<br>This error may occur because the stack size is not sufficient.<br>
Try to increase the stack size using 'ulimit -s' or with the '-ss'<br>option on kaffe.<br>Aborted<br><br><br># java -fullversion<br>java full version "kaffe-1.4.2"<br><br>kaffe VM "1.1.6"<br>
<br>Copyright (c) 1996-2005 Kaffe.org project contributors (please see<br> the source code for a full list of contributors). All rights reserved.<br>Portions Copyright (c) 1996-2002 Transvirtual Technologies, Inc.<br><br>
The Kaffe virtual machine is free software, licensed under the terms of<br>the GNU General Public License. Kaffe.org is a an independent, free software<br>community project, not directly affiliated with Transvirtual Technologies,<br>
Inc. Kaffe is a Trademark of Transvirtual Technologies, Inc. Kaffe comes<br>with ABSOLUTELY NO WARRANTY.<br><br>Engine: Interpreter Version: 1.1.6 Java Version: 1.4<br>Heap defaults: minimum size: 5 MB, maximum size: unlimited<br>
Stack default size: 64 KB<br>Configuration/Compilation options:<br>) Compile date : Wed Apr 30 16:17:59 CEST 2008<br> Compile host : linux-ek0j<br> Install prefix : /usr/local/kaffe-arm<br> Thread system : unix-pthreads<br>
Garbage Collector: kaffe-gc<br> CC : arm-v4t-linux-gnueabi-gcc<br> CFLAGS : -g -O2 -Wall -W -Wextra -fsigned-char -fno-omit-frame-pointer -pthread -DENABLE_BINRELOC<br> LDFLAGS :<br> ChangeLog head : 2005-09-20 Dalibor Topic <<a href="mailto:robilad@kaffe.org">robilad@kaffe.org</a>> <br>
<br>Has anybody an idea?<br><br>Thanks a lot in advance,<br><br>Arnaud<br>