Re: [kaffe] HSQLDB and Kaffe
Fernando Lozano wrote: Hi there, Just to report HSQLDB (hsqldb.sf.net) seems to run fine under Kaffe (tried both standalone and server modes). There are only quirks with the GUI utilities, specially the DatabaseAdministrator. It runs, but the screen flickers, and sometimes I have to click on the results pane to see the result of queries. Besides, all windows get the wrong sizes, leaving part of the components clipped out. I am sending a screenshot so you can see that I mean, hope the list accepts it. Anyway it looks much nicier than the same AWT app running under Sun Java2 (both 1.4.2 and 1.5.0). :-) Hi Fernando, which version of HSQLDB did you tried ? The Debian package maintainer had problems with 1.7.3 and kaffe because of NIO locking, but someone said these problems should be solved in 1.8.0RC3. So the version would be interesting :-) Wolfgang ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Re: some regression results quick before release:
In [EMAIL PROTECTED] Riccardo wrote: Hey, darwin6, intrp, pthread: all tests fail damn, I meant that all tests pass ! I was too tired already... :) -R ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Re: some regression results quick before release:
In [EMAIL PROTECTED] Riccardo wrote: Hey, darwin6, intrp, pthread: all tests fail damn, I meant that all tests pass ! I was too tired already... :) -R ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Re: some regression results quick before release:
In [EMAIL PROTECTED] Riccardo wrote: Hey, darwin6, intrp, pthread: all tests fail damn, I meant that all tests pass ! I was too tired already... :) -R ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Re: some regression results quick before release:
In [EMAIL PROTECTED] Riccardo wrote: Hey, darwin6, intrp, pthread: all tests fail damn, I meant that all tests pass ! I was too tired already... :) -R ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] darwin5 status (yay)
Hey, not bad (if running intrp + jthreads) 2 of 147 tests failed NetworkInterfaceTest.fail ProcessTest.fail cat ProcessTest.fail Caught exception: child talked back Hi, java.lang. Exception: child talked back Hi, at ProcessTest.main (ProcessTest. java:43) -R PS: sorry for posting the previous message many times but my news mailer was acting up ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] [Patch] Xdebugging with classes without SourceFile attribute
I've had problems doing xdebugging, gdb failing at startup. Here is one session: sauternes /tmp/kaffe-utf8 KAFFE_DEBUG=gdb /usr/local/src/kaffe/install/bin/kaffe -Xxdebug -Xmx199m -Dnice.raw-traces=true -classpath classes nice.tools.testsuite.TestNice testsuite GNU gdb 6.1-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-linux...Using host libthread_db library /lib/libthread_db.so.1. (gdb) source /usr/local/src/kaffe/kaffe/d developers docs (gdb) source /usr/local/src/kaffe/kaffe/developers/gdbinit (gdb) run Starting program: /usr/local/src/kaffe/install/jre/bin/kaffe-bin -Xxdebug -Xmx199m -Dnice.raw-traces=true -classpath classes nice.tools.testsuite.TestNice testsuite [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 3806)] [New Thread 32769 (LWP 3808)] [New Thread 16386 (LWP 3809)] [New Thread 32771 (LWP 3810)] run test engine testsuite: testsuite/compiler/classes/typeParameters.testsuite Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 3806)] 0x401d3c2f in strlen () from /lib/libc.so.6 (gdb) xdb add symbol table from file xdb.o at .text_addr = 0x0 (gdb) bt #0 0x401d3c2f in strlen () from /lib/libc.so.6 #1 0x4001afee in addDebugInfo (df=0x82630cc, tag=139047576) at ../../../kaffe/kaffe/xprof/debugFile.c:564 #2 0x400837de in installMethodCode (ignore=0x0, meth=0x85bc484, code=0xbfffeaa4) at ../../../../kaffe/kaffe/kaffevm/jit3/machine.c:748 #3 0x400771c7 in translate (xmeth=0x85bc484, einfo=0xbfffeb34) at ../../../../kaffe/kaffe/kaffevm/jit3/machine.c:381 #4 0x40086392 in soft_fixup_trampoline (_data=0x0) at methodcalls.c:54 #5 0x4008660e in i386_do_fixup_trampoline () at ../../../../kaffe/config/i386/trampolines.S:41 #6 0x085c9269 in containsKey__Q34java4util7HashMapPQ34java4lang6Object () at java/lang/System.java:198 #7 0x40086602 in engine_callMethod (call=0xbfffebcc) at sysdepCallMethod.h:46 #8 0x40054733 in KaffeVM_callMethodA (meth=0x85bc484, func=0x85c9264, obj=0x0, args=0x0, ret=0xbfffebcc, promoted=0) at ../../../kaffe/kaffe/kaffevm/support.c:507 #9 0x400549bf in KaffeVM_safeCallMethodA (meth=0x85bc484, func=0x85c9264, obj=0x0, args=0x0, ret=0x0, promoted=0) at ../../../kaffe/kaffe/kaffevm/support.c:531 #10 0x40038b4b in processClass (class=0x8589934, tostate=13, einfo=0xbfffed84) at ../../../kaffe/kaffe/kaffevm/classMethod.c:554 #11 0x400862e9 in soft_fixup_trampoline (_data=0x0) at methodcalls.c:47 #12 0x4008660e in i386_do_fixup_trampoline () at ../../../../kaffe/config/i386/trampolines.S:41 #13 0x085c91a9 in containsKey__Q34java4util7HashMapPQ34java4lang6Object () at java/lang/System.java:198 #14 0x085e9c0c in cl0x83099cc.gnu.mapping.ProcedureN._003cclinit_003e () at nice/tools/testsuite/TestCase.java:328 #15 0x085a4af8 in cl0x83099cc.nice.tools.testsuite.TestCase.compilePackages ( this=0x854b3dc) at nice/tools/testsuite/TestCase.java:296 #16 0x08596c41 in __Q34java2io21ByteArrayOutputStreami () at nice/tools/testsuite/PassTestCase.java:45 #17 0x0857cd4a in cl0x83099cc.nice.tools.testsuite.TestSuite.performTests ( this=0x83d7a3c) at nice/tools/testsuite/TestSuite.java:224 #18 0x085285d8 in java.io.File.toString () at nice/tools/testsuite/TestSuite.java:85 #19 0x084f44a3 in __Q34java4util9ArrayListPQ34java4util10Collection () at nice/tools/testsuite/TestNice.java:439 #20 0x084a3230 in main__Q511cl0x83099cc4nice5tools9testsuite8TestNicePt6JArray1ZPQ34java4lang6String (args=0x84c2358) at nice/tools/testsuite/TestNice.java:216 #21 0x40086602 in engine_callMethod (call=0xbfffefc0) at sysdepCallMethod.h:46 #22 0x40054b53 in KaffeVM_callMethodV (meth=0x84a2064, func=0x8492c84, obj=0x0, args=0xb200 \001, ret=0xb028) at ../../../kaffe/kaffe/kaffevm/support.c:664 #23 0x40094b55 in KaffeJNI_CallStaticVoidMethodV (env=0x8265028, cls=0x849aab4, meth=0x84a2064, args=0xb1fc X#L\b\001) at ../../../../kaffe/kaffe/kaffevm/jni/jni-callmethod.c:1736 #24 0x40094c71 in KaffeJNI_CallStaticVoidMethod (env=0x8265028, cls=0x849aab4, meth=0x84a2064) at ../../../../kaffe/kaffe/kaffevm/jni/jni-callmethod.c:1749 #25 0x080492d1 in main2 (env=0x0, argv=0xb8c4, farg=7, argc=1) at ../../../kaffe/kaffe/kaffe/main.c:311 #26 0x080490b7 in main (argc=2, argv=0xb8c4) at ../../../kaffe/kaffe/kaffe/main.c:222 Looking at the corresponding kaffe code, it looks like the case where some user classfiles do not have a SourceFile attribute might not be handled gracefully: in the gdb session, the offending class has a 0x0 sourcefile field. Attached is a small patch that prevents failure in this case. Note that I could not
[kaffe] [patch] sequence of includes in include/jsyscall.h
The sequence of includes need to be sys/types.h and then sys/socket.h for fbsd so patch is included Index: include/jsyscall.h === RCS file: /cvs/kaffe/kaffe/include/jsyscall.h,v retrieving revision 1.18 diff -r1.18 jsyscall.h 24a25,29 #if defined(HAVE_SYS_TYPES_H) #include sys/types.h #endif /* defined(HAVE_SYS_TYPES_H) */ 37,39d41 #if defined(HAVE_SYS_TYPES_H) #include sys/types.h #endif /* defined(HAVE_SYS_TYPES_H) */ ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (jserv): Fix boehm-gc build.
PatchSet 5664 Date: 2005/04/05 12:49:12 Author: jserv Branch: HEAD Tag: (none) Log: Fix boehm-gc build. 2005-04-05 Jim Huang [EMAIL PROTECTED] * kaffe/kaffevm/boehm-gc/gc2.c (createGC), kaffe/kaffevm/boehm-gc/gc2.h: Fix boehm-gc build. Members: ChangeLog:1.3832-1.3833 kaffe/kaffevm/boehm-gc/gc2.c:1.9-1.10 kaffe/kaffevm/boehm-gc/gc2.h:1.2-1.3 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3832 kaffe/ChangeLog:1.3833 --- kaffe/ChangeLog:1.3832 Tue Apr 5 03:32:28 2005 +++ kaffe/ChangeLog Tue Apr 5 12:49:12 2005 @@ -1,3 +1,9 @@ +2005-04-05 Jim Huang [EMAIL PROTECTED] + + * kaffe/kaffevm/boehm-gc/gc2.c (createGC), + kaffe/kaffevm/boehm-gc/gc2.h: + Fix boehm-gc build. + 2005-04-05 Dalibor Topic [EMAIL PROTECTED] * README: Set version to 1.1.5. Index: kaffe/kaffe/kaffevm/boehm-gc/gc2.c diff -u kaffe/kaffe/kaffevm/boehm-gc/gc2.c:1.9 kaffe/kaffe/kaffevm/boehm-gc/gc2.c:1.10 --- kaffe/kaffe/kaffevm/boehm-gc/gc2.c:1.9 Fri Mar 11 16:41:53 2005 +++ kaffe/kaffe/kaffevm/boehm-gc/gc2.c Tue Apr 5 12:49:11 2005 @@ -583,7 +583,7 @@ { boehm_gc.collector.ops = GC_Ops; initStaticLock(gcman_lock); - initStaticLock(gcmandend_lock); + initStaticLock(gcmanend_lock); initStaticLock(finman_lock); return (boehm_gc.collector); Index: kaffe/kaffe/kaffevm/boehm-gc/gc2.h diff -u kaffe/kaffe/kaffevm/boehm-gc/gc2.h:1.2 kaffe/kaffe/kaffevm/boehm-gc/gc2.h:1.3 --- kaffe/kaffe/kaffevm/boehm-gc/gc2.h:1.2 Tue Aug 24 17:59:42 2004 +++ kaffe/kaffe/kaffevm/boehm-gc/gc2.h Tue Apr 5 12:49:12 2005 @@ -13,6 +13,7 @@ #ifndef _KAFFE_BOEHM_GC_H #define _KAFFE_BOEHM_GC_H +#include defs.h #include boehm/include/gc.h #include boehm/include/gc_mark.h ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (jserv): Adjust the sequence of including sys/types.h to fix build on FreeBSD 4.x
PatchSet 5665 Date: 2005/04/05 12:58:30 Author: jserv Branch: HEAD Tag: (none) Log: Adjust the sequence of including sys/types.h to fix build on FreeBSD 4.x 2005-04-05 Supreet Sethi [EMAIL PROTECTED] * include/jsyscall.h: Adjust the sequence of including sys/types.h to fix build on FreeBSD 4.x. Members: ChangeLog:1.3833-1.3834 include/jsyscall.h:INITIAL-1.19 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3833 kaffe/ChangeLog:1.3834 --- kaffe/ChangeLog:1.3833 Tue Apr 5 12:49:12 2005 +++ kaffe/ChangeLog Tue Apr 5 12:58:30 2005 @@ -1,3 +1,9 @@ +2005-04-05 Supreet Sethi [EMAIL PROTECTED] + + * include/jsyscall.h: + Adjust the sequence of including sys/types.h to fix build on + FreeBSD 4.x. + 2005-04-05 Jim Huang [EMAIL PROTECTED] * kaffe/kaffevm/boehm-gc/gc2.c (createGC), === Checking out kaffe/include/jsyscall.h RCS: /home/cvs/kaffe/kaffe/include/jsyscall.h,v VERS: 1.19 *** --- /dev/null Sun Aug 4 19:57:58 2002 +++ kaffe/include/jsyscall.hTue Apr 5 13:05:41 2005 @@ -0,0 +1,178 @@ +/* + * jsyscall.h + * Define the Java-to-system call interface. + * + * Copyright (c) 1996, 1997 + * Transvirtual Technologies, Inc. All rights reserved. + * + * See the file license.terms for information on usage and redistribution + * of this file. + */ + +#ifndef __jsyscall_h +#define __jsyscall_h + +#include config.h + +#if defined(HAVE_NETDB_H) +#include netdb.h +#endif /* defined(HAVE_NETDB_H) */ + +#if defined(HAVE_STDLIB_H) +#include stdlib.h +#endif /* HAVE_STDLIB_H */ + +#if defined(HAVE_SYS_TYPES_H) +#include sys/types.h +#endif /* defined(HAVE_SYS_TYPES_H) */ + + +#if defined (HAVE_SYS_SOCKET_H) +#include sys/socket.h +#endif /* defined (HAVE_SYS_SOCKET_H) */ + +#if defined(HAVE_SYS_STAT_H) +#include sys/stat.h +#endif /* defined(HAVE_SYS_STAT_H) */ + +#if defined(HAVE_SYS_TIME_H) +#include sys/time.h +#endif /* defined(HAVE_SYS_TIME_H) */ + + +#if defined(HAVE_UNISTD_H) +#include unistd.h +#endif /* HAVE_UNISTD_H */ + +/* + * Thread-safe variants of several POSIXy calls. + * + * Output values, where given, are returned by reference as the last parameter. + * All functions return zero on success, otherwise a non-zero value is + * returned which corresponds to errno. + */ +typedef struct SystemCallInterface { + + int (*_open)(const char *, int, int, int *); + int (*_read)(int, void *, size_t, ssize_t *); + int (*_write)(int, const void*, size_t, ssize_t *); + int (*_lseek)(int, off_t, int, off_t *); + int (*_close)(int); + int (*_fstat)(int, struct stat *); + int (*_stat)(const char *, struct stat *); + int (*_ftruncate)(int, off_t); + int (*_fsync)(int); + + int (*_mkdir)(const char *, int); + int (*_rmdir)(const char *); + int (*_rename)(const char *, const char *); + int (*_remove)(const char *); + + int (*_socket)(int, int, int, int *); + int (*_connect)(int, struct sockaddr *, int, int timeout); + int (*_bind)(int, struct sockaddr *, int); + int (*_listen)(int, int); + int (*_accept)(int, struct sockaddr *, int*, int, int *); + int (*_sockread)(int, void*, size_t, int, ssize_t *); + int (*_recvfrom)(int, void *, size_t, int, struct sockaddr *, int *, + int timeout, ssize_t *); + int (*_sockwrite)(int, const void *, size_t, ssize_t *); + int (*_sendto)(int, const void *, size_t, int, const struct sockaddr *, + int, ssize_t *); + int (*_setsockopt)(int, int, int, const void *, int); + int (*_getsockopt)(int, int, int, void *, int *); + int (*_getsockname)(int, struct sockaddr *, int *); + int (*_getpeername)(int, struct sockaddr *, int *); + int (*_sockclose)(int); + int (*_gethostbyname)(const char *, struct hostent **); + int (*_gethostbyaddr)(const char *, size_t, int, struct hostent **); + + int (*_select)(int, fd_set *, fd_set *, fd_set *, struct timeval *, + int*); + int (*_forkexec)(char **, char **, int[4], int*, const char *); + int (*_waitpid)(int, int *, int, int *); + int (*_kill)(int, int); + + int (*_mmap)(void **, size_t *, int, int fd, off_t *); + int (*_munmap)(void *, size_t); + int (*_msync)(void *, size_t); + + int (*_pipecreate)(int *, int *); + int (*_piperead)(int, void *, size_t, int, ssize_t *); + int (*_pipewrite)(int, const void*, size_t, int, ssize_t *); +} SystemCallInterface; + +extern SystemCallInterface Kaffe_SystemCallInterface; + +/* + * Define some convenience macros + */ + +#defineKOPEN(A,B,C,D) (*Kaffe_SystemCallInterface._open)(A,B,C,D) +#define
[kaffe] Kaffe 1.0.7 for ARM9
hi all i'm getting started with Kaffe and i would like to use it on my atmel board (RM9200DK) So, i've compiled Kaffe on my desktop computer to have kaffeh Next, i try to compile Kaffe for ARM using the following command line: - KAFFEH=/usr/local/kaffe/bin/kaffeh CC=arm-linux-gcc NM=arm-linux-nm AR=arm-linux-ar ./configure --host=arm-linux --build=i686-linux --disable-debug --disable-xprofiling --disable-feedback --disable-gcj --disable-alsatest --disable-esdtest --disable-sound --without-profiling --without-stats --disable-static --prefix=$HOME/vmkaffe --exec-prefix=$HOME/vmkaffe --without-alsa --without-esd --with-engine=intrp --without-x --with-staticlib=no --with-staticbin=no --with-staticvm=no --target=arm --enable-pure-java-math --with-includes=/usr/local/arm/3.2/include --with-libraries=/usr/local/arm/3.2/lib -with-rt-jar=/home/stage/dev/tmp/rt-precompiled.jar make make install - so, next, i've put it on my DK and when i tried to start Kaffe, i've got the following error: - /root/vmkaffe/jre/bin/kaffe-bin: error in loading shared libraries: /root/vmkaffe/jre/bin/kaffe-bin: symbol __register_frame_info, version GLIBC_2.0 not defined in file libc.so.6 with link time reference - does somebody know how i can resolve this problem? with regards katolecho ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (jim):
*** ERROR *** cvsps failed - lastCandidate was 0 ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (jim):
*** ERROR *** cvsps failed - lastCandidate was 0 ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Kaffe 1.1.5 Development Release available for download
I've made the 1.1.5 release of Kaffe available for download at: ftp://ftp.kaffe.org/pub/kaffe/v1.1.x-development/kaffe-1.1.5.tar.gz http://www.kaffe.org/ftp/pub/kaffe/v1.1.x-development/kaffe-1.1.5.tar.gz This is the next in the 1.1.x series of development releases. It has been tested, but not as thoroughly as a production release would be. It contains major improvements over 1.1.4, which was released one year ago. I anticipate that most people will have less trouble with this release, and more fun. Even though this is not a production release, it contains a large number of improvements over 1.0.7, which was released over two years ago. Don't use 1.0.7, it's ancient! We will release a new production release very soon. Here are some highlights of new things done since the last development release: * Resynced with latest GNU Classpath. * Added GNU EmbbededWindow extension from GNU Classpath. * gcjwebplugin is known to work with the extension. * Improved AWT implementations. * GNU Classpath's implementation of AWT/Swing has been merged. * New Nano-X AWT backend. * Xlib AWT backend supports xi18n wide-character display. * Dynamic switch among existing AWT implementations via command line options. * Better stack pointer / stack size handling. * JNI direct invocation fixes. * Verifier moved to its own directory. * JNI upgrades to 1.2 * New experimental Boehm-Weiser garbage collector. * Merged in JIT3 for powerpc from JanosVM. * Implemented weak references in the VM. * KJC temporarily replaced by jikes. * DNSJava, Jessie, JZLib and gjdoc merged in. * Added some internationalization support to kaffe's executable (fr, zh_TW). * Many compiler warning fixes. * Tested in Ch environment. * Fixes for NetBSD, OpenBSD, FreeBSD, Darwin. * New ports to FreeBSD on x86-64, Darwin on x86 and HP-UX on ia64. * Some successes: Resin2, JSDL, SwingWT, gcjwebplugin, ME4SE, MicroEmulator, VNCj, LwVCL, DirectFB kawt, Eclipse 3.0.1, 3.1M6. This release is dedicated to the memory of David Marston, who passed away at age 28 of cancer. David collaborated on the RISC OS Kaffe port. Bug reports, comments and patches are always welcome -- send them to the team at [EMAIL PROTECTED] Have fun! Cheers, - the Kaffe team ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe