Re: [kaffe] strange failure on OpenBSD/sparc
Riccardo wrote: Compiling on OpenbSD/Sparc the latest kaffe (it was not a clean build though since the last one) I get this strange failure: from ../../config/md.h:1, from ../../../kaffe/kaffe/kaffevm/mem/gc-mem.h:17, from ../../../kaffe/kaffe/kaffevm/mem/gc-incremental.c: 21, from ../../../kaffe/kaffe/kaffevm/gc.c:15: /usr/include/sys/resource.h:56: field `ru_utime' has incomplete type /usr/include/sys/resource.h:57: field `ru_stime' has incomplete type Here is the responsible error. It seems to come from buggy header. We have to include something else in config/sparc/openbsd2/md.h ... grep ru_utime /usr/include/*.h /usr/include/sys/*.h ? (I guess we may find it in #include sys/time.h) Cheers, Guilhem. I wonder what is happening here. GCC problems? Linker ? something is going crazy probably. Of course the amount of warnings for a single file are amazing! -Riccardo ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] test_getrlimits results
Hello, on OpenBSD/68k: frodo:multix {123} ./a.out cur=0 max=4194304 infinity=2147483647 on Irix 6.5 cur=67108864 max=536870912 infinity=-1 Cheers, -Riccardo ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Re: strange failure on OpenBSD/sparc
grep ru_utime /usr/include/*.h /usr/include/sys/*.h ? (I guess we may find it in #include sys/time.h) mallorn:guilhem {107} grep ru_utime /usr/include/*.h /usr/include/sys/*. h /usr/include/sys/resource.h:struct timeval ru_utime;/* user time used */ Cheers, Riccardo ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Re: strange failure on OpenBSD/sparc
Riccardo wrote: grep ru_utime /usr/include/*.h /usr/include/sys/*.h ? (I guess we may find it in #include sys/time.h) mallorn:guilhem {107} grep ru_utime /usr/include/*.h /usr/include/sys/*. h /usr/include/sys/resource.h:struct timeval ru_utime;/* user time used */ Cheers, Riccardo Argh ! I've made a mistake it was 'struct timeval' that I was looking for actually (as the type is incomplete). timeval is surely in #include sys/time.h Cheers, Guilhem. ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] test_getrlimits results
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Riccardo wrote: | Hello, Hi Riccardo ! | | on OpenBSD/68k: | frodo:multix {123} ./a.out | cur=0 max=4194304 | infinity=2147483647 | Ok, here we keep max. | on Irix 6.5 | cur=67108864 max=536870912 | infinity=-1 | We will keep cur here. Thanks, Guilhem. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAi7tjWRk4qbNiTwgRAgkrAJ9Q5y6Wmzd0/njfka8Wf7j6HXhEXgCfRUqz ICEsIvd/EIZkiyLqckWsw0w= =PwuX -END PGP SIGNATURE- ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (guilhem): Added a missing include on openbsd/sparc.
PatchSet 4692 Date: 2004/04/25 13:29:14 Author: guilhem Branch: HEAD Tag: (none) Log: Added a missing include on openbsd/sparc. * config/sparc/openbsd2/md.h: Added #include sys/time.h because sys/resource.h has an undefined struct on openbsd. Members: ChangeLog:1.2268-1.2269 config/sparc/openbsd2/md.h:1.6-1.7 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.2268 kaffe/ChangeLog:1.2269 --- kaffe/ChangeLog:1.2268 Sat Apr 24 19:48:09 2004 +++ kaffe/ChangeLog Sun Apr 25 13:29:14 2004 @@ -1,5 +1,10 @@ 2004-04-24 Guilhem Lavaux [EMAIL PROTECTED] + * config/sparc/openbsd2/md.h: Added #include sys/time.h + because sys/resource.h has an undefined struct on openbsd. + +2004-04-24 Guilhem Lavaux [EMAIL PROTECTED] + * config/sparc/openbsd2/md.h, kaffe/kaffevm/systems/unix-jthreads/signal.c: New macro STACK_STRUCT. On OpenBSD2 define it as Index: kaffe/config/sparc/openbsd2/md.h diff -u kaffe/config/sparc/openbsd2/md.h:1.6 kaffe/config/sparc/openbsd2/md.h:1.7 --- kaffe/config/sparc/openbsd2/md.h:1.6Sat Apr 24 19:48:10 2004 +++ kaffe/config/sparc/openbsd2/md.hSun Apr 25 13:29:21 2004 @@ -14,6 +14,9 @@ #include sparc/common.h #include sparc/threads.h +#if defined(HAVE_SYS_TIME_H) +#include sys/time.h +#endif #if defined(HAVE_SYS_RESOURCE_H) #include sys/resource.h #endif ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Feature freeze this weekend and upcoming release
Hi, Just a friendly reminder - I'd like to try to branch and hopefully release 1.1.5 next Sunday. So today, as planned, I'd like to call for a feature freeze -- so please hold off on checking in anything that's going to require additional testing until after the release branch has been made next weekend. I'd also like to ask for people to try building and testing the latest code on as many platforms and in as many configurations as possible over the next week. Cheers, - Jim ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] OpenBSD/sparc failure (illegal instruction)
Differently from other sparc platforms which fail during jar.tar assembly, OpenBSD/sparc fails immediatly: /bin/sh ./rebuildLib @essential.files Compiling classes from @essential.files using /home/multix/kaffe-cvs/ openbsd-sparc/kaffe/kaffe/kaffe-bin -verbosegc -mx 256M at.dms.kjc.Main Illegal instruction (core dumped) -Riccardo ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] jar.tar assmling faiilure on sparc strangeness
Hello, NetBSD and Solaris fail both during jar.tar assembly, both at the same place. This is suspect. But I made another discovery today. On Solaris/UltraSparc, reissuing make will complete the build. since all classes are already compiled, it will assembly the jar.tar archive and this time without apparent problems. This is even more strange! This showed also that more than the usual regression tests fail. CLTestConc.failNetworkInterfaceTest.fail ThreadState.fail DoubleCvt.fail TestSerializable2.fail GCTest.failTestUnlock.fail I'll post a tar on my site with the contents. Cheers, Riccardo ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] CVS kaffe (kaz): kaffe/kaffevm/locks.c
+ == Ito Kazumitsu [EMAIL PROTECTED] writes: + My last patch to libraries/clib/net/PlainSocketImpl.c could + solve the sockets remain unclosed problem without modifying + GNU Classpath's java.net.Socket. Something has been done in GNU Classpath: http://mail.gnu.org/archive/html/commit-classpath/2004-04/msg00176.html But I think my patch to libraries/clib/net/PlainSocketImpl.c still makes sense. ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Performance considerably worsened
Hi, Guilhem. : == Guilhem Lavaux [EMAIL PROTECTED] writes: : On Sat, 2004-04-24 at 03:14, Ito Kazumitsu wrote: Don't you feel the worsening of performance of kaffe these days? : Could you tell me if it concerns only the base classes initialization : (try to run kaffe with -vmdebug INIT and see if it seems to run faster : or slower) because it may due to the stack detection. There are other OS : dependent solutions (which are a lot faster !) to detect stack : boundaries and I will have to implement them. Here is the result. bash-2.05b$ uname -a FreeBSD ph.maczuka.gcd.org 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 bash-2.05b$ time /disk/kaz/work/kaffe-inst/bin/kaffe -vmdebug INIT A initCollector() initCollector() done initNativeThreads(0x8000) Detected stackSize 67108864 Stops for a while at this point. Runs smoothly after this. initNativeThreads(0x8000) done utf8ConstInit() utf8ConstInit() done initClasspath() initClasspath() done, got /disk/kaz/work/kaffe-inst/jre/lib/microsoft.jar:/disk/kaz/work/kaffe-inst/jre/lib/servlet.jar:/disk/kaz/work/kaffe-inst/jre/lib/pjava.jar:/disk/kaz/work/kaffe-inst/jre/lib/comm.jar:/disk/kaz/work/kaffe-inst/jre/lib/rt.jar:/disk/kaz/work/kaffe-inst/lib/kjc.jar:/disk/kaz/work/kaffe-inst/lib/gjdoc.jar initNative() got lpath /disk/kaz/work/kaffe-inst/jre/lib/i386:/disk/kaz/work/kaffe-inst/lib:/usr/local/lib and libraryPath /disk/kaz/work/kaffe-inst/jre/lib/i386:/disk/kaz/work/kaffe-inst/lib:/usr/local/lib initNative() done create names and signatures done initTypes() initTypes() done initBaseClasses() initBaseClasses() done finishTypes() finishTypes() done initExceptions() initThreads() initThreads() done real0m34.284s user0m3.068s sys 0m2.128s ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe