<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi ,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I do cross compile kaffe and run hello world prorma
on native and it run successfully. Then I do cross compile and test same program
i am getting error::</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Host side ::</FONT></DIV>
<DIV><FONT face=Arial size=2>[root@localhost bin]# ./kaffe -vmdebug INIT
hello<BR>initCollector()<BR>initCollector()
done<BR>initNativeThreads(0x40000)<BR>Detected stackSize
262144<BR>initNativeThreads(0x40000) done<BR>utf8ConstInit()<BR>utf8ConstInit()
done<BR>initClasspath()<BR>initClasspath() done, got
/home/naveen/jvm/native/jre/lib/glibj.zip:/home/naveen/jvm/native/lib/tools.jar<BR>initNative()<BR>got
lpath /home/naveen/jvm/native/jre/lib/i386:/home/naveen/jvm/native/lib and
libraryPath
/home/naveen/jvm/native/jre/lib/i386:/home/naveen/jvm/native/lib<BR>trying to
load /home/naveen/jvm/native/jre/lib/i386/libjavalang<BR>initNative()
done<BR>create names and
signatures<BR>done<BR>initBaseClasses()<BR>initTypes()<BR>initTypes()
done<BR>finishTypes()<BR>finishTypes() done<BR>initBaseClasses()
done<BR>initExceptions()<BR>initThreads()<BR>initThreads() done<BR><STRONG>Hello
#--------------->o/p</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG></STRONG></FONT> </DIV>
<DIV><FONT face=Arial size=2>my config file is ..</FONT></DIV>
<DIV><FONT face=Arial size=2> ./configure
prefix=/home/naveen/jvm/native \<BR> --enable-pure-java-math
--disable-alsa --disable-native-awt --disable-xawt-xi18n --without-x
--disable-gtk-peer --without-awt --disable-sound</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>On Target Side.</FONT></DIV>
<DIV><FONT face=Arial size=2>my configure is</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>CC=mipsel-linux-gcc NM=mipsel-linux-nm
\<BR>AR=mipsel-linux-ar AS=mipsel-linux-as LD=mipsel-linux-ld
KAFFEH=/home/naveen/jvm/kaffe-native/kaffe/kaffeh/kaffeh \<BR>./configure
--host=mipsel-linux --build=i686-linux prefix=/home/naveen/jvm/cross
\<BR> --enable-pure-java-math --disable-alsa --disable-native-awt
--disable-xawt-xi18n --without-x --with-libraries=/usr/tools/mipsel-linux/libs
--with-includes=/usr/tools/mipsel-linux/include --disable-gtk-peer
--without-awt --disable-sound</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and result is ::</FONT></DIV>
<DIV><FONT face=Arial size=2> ./kaffe -vmdebug INIT
hello<BR>initCollector()<BR>initCollector()
done<BR>initNativeThreads(0x10000)<BR>Detected stackSize
1048576<BR>initNativeThreads(0x10000) done<BR>utf8ConstInit()<BR>utf8ConstInit()
done<BR>initClasspath()<BR>initClasspath() done, got
/home/naveen/jvm/cross/jre/lib/glibj.zip:/home/naveen/jvm/cross/lib/tools.jar<BR>initNative()<BR>got
lpath /home/naveen/jvm/cross/jre/lib/mips:/home/naveen/jvm/cross/lib and
libraryPath /home/naveen/jvm/cross/jre/lib/mipsbtrying to load
/home/naveen/jvm/cross/jre/lib/mips/libjavalang<BR>initNative() done<BR>create
names and
signatures<BR>done<BR> initBaseClasses()<BR>initTypes()<BR>initTypes()
done<BR>finishTypes()<BR>finishTypes() done<BR>check initBaseClasses()
done<BR>In loop0<BR><STRONG>kaffe-bin: exception.c:106: vmExcept_setJNIFrame:
Assertion `fp != (JNIFrameAddress)0' failed.<BR></STRONG>Aborted</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>i have done one modification in </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>kaffe-cross/config/mips/common.h</FONT></DIV>
<DIV><FONT face=Arial size=2>//#ifdef _R5900<BR>//#define PS2LINUX<BR>//#undef
HAVE_MIPSII_INSTRUCTIONS<BR>//#endif <BR><STRONG>#ifdef _R3000<BR>#define
PS2LINUX<BR>#undef HAVE_MIPSII_INSTRUCTIONS<BR>#endif<BR>I have added
_R3000</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=Arial size=2></FONT></STRONG> </DIV>
<DIV><STRONG><FONT face=Arial size=2>What may be the
Reason;</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=Arial size=2></FONT></STRONG> </DIV>
<DIV><STRONG><FONT face=Arial size=2>Best Regards</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=Arial size=2>Naveen </FONT></STRONG></DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><STRONG><BR></STRONG></DIV></FONT></BODY></HTML>