From robilad at kaffe.org Tue Oct 7 08:04:40 2008 From: robilad at kaffe.org (Dalibor Topic) Date: Tue, 07 Oct 2008 17:04:40 +0200 Subject: [kaffe] Removing GNU Classpath In-Reply-To: <20080928102309.7ja6455jkcgsksog@webmail.iol.pt> References: <20080928102309.7ja6455jkcgsksog@webmail.iol.pt> Message-ID: <48EB7A88.3090405@kaffe.org> alexe100 at iol.pt wrote: > Hi all, > I would like to port kaffe to a very very resource constraint hardware > and i am thinking to remove the dependence of the GNU Classpath and > load base classes one by one (from sum or other ones). I think I just > need Object because I will remove the dependence of String from the > main entry etc... > > Please, Any help on removing GNU Classpath lib? > Hi Alexe, you can certainly do that, but you'll need to implement some kind of VM interface for the class library you want to use in the VM. Take a look at the native code for the VM* interfaces from GNU Classpath to get a rough idea how that works, and then spend some time to understand and implement the corresponding functionality for your desired class library. cheers, dalibor topic From inaba at src.ricoh.co.jp Tue Oct 14 20:21:58 2008 From: inaba at src.ricoh.co.jp (Kiyo Inaba) Date: Wed, 15 Oct 2008 12:21:58 +0900 (JST) Subject: [kaffe] NetBSD and linux arm build image Message-ID: <200810150321.m9F3Lwm1017658@snoopy.src.ricoh.co.jp> Hi, I've put build images for NetBSD and linux arm on the kaffe server. You can get images in http://www.kaffe.org/~inaba and 'README' file in this directory tells you what files are needed to run. The executable images 'gxemul' and 'qemu-system-arm' is compiled on Fedora core 5 for convenience. If you have difficulty to make them run, you can compile them from sources available at qemu: http://ballard.org/qemu gxemul: http://www.gavare.se/gxemul When you boot login 'kaffe' (with password 'dalibor') and in 'src' directory you can see several configuration script (whose names start with 'CONFIG-') and prebuilt directories (whose names start with 'kaffe-071011-'). If you need root access, the password is same. Have fun! Kiyo From manel_boumaiza at yahoo.fr Thu Oct 16 06:42:13 2008 From: manel_boumaiza at yahoo.fr (manel boumaiza) Date: Thu, 16 Oct 2008 13:42:13 +0000 (GMT) Subject: [kaffe] illegal instruction sur mips1 Message-ID: <770519.83471.qm@web23608.mail.ird.yahoo.com> Hi, I have a processor lexra (mips) and my purpose is to run kaffe vm with this processor, i cross compiled kaffe-1.1.9 for mips and when i tried to test helloworld the jvm load the classpath then i have Illegal instruction.. Please have you any idea about this error!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://kaffe.org/pipermail/kaffe/attachments/20081016/f7a435ae/attachment.htm From manel.haoues at gmail.com Fri Oct 17 09:01:45 2008 From: manel.haoues at gmail.com (manel manel) Date: Fri, 17 Oct 2008 18:01:45 +0200 Subject: [kaffe] kaffe on lexra Message-ID: <6a34760b0810170901g301fcd94o2f829da141a66d7f@mail.gmail.com> Hi, I have a processor lexra (mips) and my purpose is to run kaffe vm with this processor, i cross compiled kaffe-1.1.9 for mips and when i tried to test helloworld the jvm load the classpath then i have Illegal instruction.. Please have you any idea about this error!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://kaffe.org/pipermail/kaffe/attachments/20081017/94783a54/attachment.htm From chawkins at bplinux.com Tue Oct 21 12:39:05 2008 From: chawkins at bplinux.com (chawkins at bplinux.com) Date: Tue, 21 Oct 2008 15:39:05 -0400 (EDT) Subject: [kaffe] compile problem In-Reply-To: <30190296.301224617709484.JavaMail.SYSTEM@BPL_workstation> Message-ID: <32369336.321224617910406.JavaMail.SYSTEM@BPL_workstation> Hello - After "./configure --with-jikes --with-classpath-prefix=/usr/SiteSearch/classpath-0.03" completes successfully, make fails with: ..... ..... gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../config -I../../../kaffe/kaffevm/systems/unix-pthreads -I../../../kaffe/kaffevm/jni -I.. -I./.. -DTRANSLATOR -DJIT3 -I../../../kaffe/xprof -I../../../kaffe/jvmpi -I../../../include -I../../../config/i386 -I../../../config/i386/linux -I/glib-2.0 -I/glib-2.0/include -I/usr/SiteSearch/kaffe-1.1.9/./kaffe/kaffevm -I/usr/SiteSearch/kaffe-1.1.9/./kaffe/kaffevm/jit3 -I/usr/SiteSearch/kaffe-1.1.9/./kaffe/kaffevm/systems/unix-pthreads -I../../../replace -I../../../config -I../../../include -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -pthread -g -O2 -MT methodcalls.lo -MD -MP -MF .deps/methodcalls.Tpo -c methodcalls.c -fPIC -DPIC -o .libs/methodcalls.o In file included from methodcalls.c:12: ../jit/methodcalls.c:15:18: glib.h: No such file or directory In file included from methodcalls.c:12: ../jit/methodcalls.c: In function `soft_fixup_trampoline': ../jit/methodcalls.c:70: warning: implicit declaration of function `g_atomic_pointer_compare_and_exchange' make[2]: *** [methodcalls.lo] Error 1 make[2]: Leaving directory `/usr/SiteSearch/kaffe-1.1.9/kaffe/kaffevm/jit3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/SiteSearch/kaffe-1.1.9/kaffe/kaffevm' make: *** [all-recursive] Error 1 I've tried some different parameters to get the compiler to look at /usr/include/glib-2.0, which does exist: [root at vps kaffe-1.1.9]# ls /usr/include/glib-2.0/ glib glib-object.h glib.h gmodule.h gobject But no luck. I am out of my depth when it comes to compiling... Please help! Thanks, Chris From Virupax.SS at Lntemsys.com Wed Oct 22 22:05:42 2008 From: Virupax.SS at Lntemsys.com (Virupax SS) Date: Thu, 23 Oct 2008 10:35:42 +0530 Subject: [kaffe] (no subject) Message-ID: Hi I have cross compiled kaffe-1.1.9 on fedora 8 for arm. On running the binary on the board i am getting the following error. bash-3.00# /usr/local/kaffe/bin/kaffe information Couldn't find or load essential class `java/lang/Object' java.lang.ClassNotFoundException java/lang/Object Aborted If i say only kaffe it works fine as below bash-3.00# /usr/local/kaffe/bin/kaffe usage: kaffe [-options] class Options are: -help Print this message -version Print version number -fullversion Print verbose version info -ss Maximum native stack size -mx Maximum heap size -ms Initial heap size -as Heap increment -classpath Set classpath -Xbootclasspath: Set bootclasspath -Xbootclasspath/a: Append path to bootclasspath -Xbootclasspath/p: Prepend path to bootclasspath -D= Set a property -verify * Verify all bytecode -verifyremote * Verify bytecode loaded from network -noverify Do not verify any bytecode -noclassgc Disable class garbage collection -verbosegc Print message during garbage collection -v, -verbose Be verbose -verbosejit Print message during JIT code generation -verbosemem Print detailed memory allocation statistics -verbosecall Print detailed call flow information -nodeadlock Disable deadlock detection -debug * Trace method calls -noasyncgc * Do not garbage collect asynchronously -cs, -checksource * Check source against class files -oss * Maximum java stack size -jar Executable is a JAR -vmdebug Internal VM debugging. Set flag=list for a list -debug-fd Descriptor to send debug info to * Option currently ignored. Compatibility options: -Xss Maximum native stack size -Xmx Maximum heap size -Xms Initial heap size -cp Set classpath Can u please tell me how to go about for this problem. Thnaks Virupax SS -------------- next part -------------- An HTML attachment was scrubbed... URL: http://kaffe.org/pipermail/kaffe/attachments/20081023/0a446e91/attachment.htm From Virupax.SS at Lntemsys.com Wed Oct 22 22:09:18 2008 From: Virupax.SS at Lntemsys.com (Virupax SS) Date: Thu, 23 Oct 2008 10:39:18 +0530 Subject: [kaffe] error on kaffe 1.1.9 execution Message-ID: Hi ( Sorry for the last post without the subject line ) I have cross compiled kaffe-1.1.9 on fedora 8 for arm. On running the binary on the board i am getting the following error. bash-3.00# /usr/local/kaffe/bin/kaffe information Couldn't find or load essential class `java/lang/Object' java.lang.ClassNotFoundException java/lang/Object Aborted If i say only kaffe it works fine as below bash-3.00# /usr/local/kaffe/bin/kaffe usage: kaffe [-options] class Options are: -help Print this message -version Print version number -fullversion Print verbose version info -ss Maximum native stack size -mx Maximum heap size -ms Initial heap size -as Heap increment -classpath Set classpath -Xbootclasspath: Set bootclasspath -Xbootclasspath/a: Append path to bootclasspath -Xbootclasspath/p: Prepend path to bootclasspath -D= Set a property -verify * Verify all bytecode -verifyremote * Verify bytecode loaded from network -noverify Do not verify any bytecode -noclassgc Disable class garbage collection -verbosegc Print message during garbage collection -v, -verbose Be verbose -verbosejit Print message during JIT code generation -verbosemem Print detailed memory allocation statistics -verbosecall Print detailed call flow information -nodeadlock Disable deadlock detection -debug * Trace method calls -noasyncgc * Do not garbage collect asynchronously -cs, -checksource * Check source against class files -oss * Maximum java stack size -jar Executable is a JAR -vmdebug Internal VM debugging. Set flag=list for a list -debug-fd Descriptor to send debug info to * Option currently ignored. Compatibility options: -Xss Maximum native stack size -Xmx Maximum heap size -Xms Initial heap size -cp Set classpath Can u please tell me how to go about for this problem. Thnaks Virupax SS -------------- next part -------------- An HTML attachment was scrubbed... URL: http://kaffe.org/pipermail/kaffe/attachments/20081023/71b6f993/attachment.htm