[kaffe] Latest version failed with 'without-x' configuration.
Hi all, I noticed that latest CVS head failed with --enable-pure-java-math --disable-sound --without-x --disable-static This configuration option is my preference because it takes smallest time for build (it is VERY important for my old mac ;->). The config reports checking for X... disabled checking QTDIR... configure: error: *** QTDIR must be defined, or --with-qtdir option given but, I think checking QTDIR even though X was disabled has no sense. Kiyo ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Re: Re: m68k/jit3 can print "Hello World!"
Hi Dalibor, You wrote: >It would be interesting to see if the difference comes from the time >spent jitting the code, or from differences in generated code, dealing >with registers, etc. I also am so interested why it happens. But (as you know), I have a business trip next week, and the analysis may be able to do after that. My feeling is both parts may be slower than jit, and I am afraid it should be same for other 'register-rich' CPUes. I know that jit3 is faster than jit for ia32, but how about arm? After my trip, I plan to make spart-jit3 port and mips-jit port to compare the performance. Or, shall I make jit/jit3 for arm work? ;-) Kiyo P.S. And of course, I am so interested to see the performance of jit4 for some non-trivial CPUes (including sh3 and m68k). ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Re: Plans (updated)
Hi Jim, You said, > 2) Release 1.1.5 (when it passes regression tests) Is it possible to add patches targeted to Release_1_1_5_Branch? I would like to make 1.1.5 workable with m68k/{linux,netbsd}/{intrp,jit,jit3} Of course this has not been passed with all regressions but at least better than current Release_1_1_5_Branch . Or shall I wait for 1.1.6? Kiyo ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] A question about "JNI_OnLoad"
About the question, plz refer to http://www.mail-archive.com/[EMAIL PROTECTED]/msg06677.html and a similar question, http://www.mail-archive.com/[EMAIL PROTECTED]/msg06811.html No one knows what happened?? I think there is something wrong with its implementation. I noticed there once a similar discuss about it relating to "java-genome". Saw --http://www.eyou.com --Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢...ÒÚÓÊδ¾¡ --http://vip.eyou.com --¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Sound on XSCALE (no mixer supporting this type of line...)
Hi, I checked the config.log and it shows the following: configure:46526: checking for snd_ctl_open in -lasound configure:46556: arm-linux-gcc -o conftest -O0 -Wall -Wstrict-prototypes -fsigne d-char -I/opt/arm-linux/lib/include -DNDEBUG -L/opt/arm-linux/lib/lib conftest.c -lasound -L/opt/arm-linux/lib/ lib -lasound -lm -ldl -lpthread -L/opt/arm-linux /lib >&5 conftest.c:194: warning: function declaration isn't a prototype conftest.c:197: warning: function declaration isn't a prototype /opt/arm-linux/lib/lib/libasound.so: undefined reference to `pthread_cond_ [EMAIL PROTECTED]' /opt/arm-linux/lib/lib/libasound.so: undefined reference to `pthread_cond_ [EMAIL PROTECTED]' /opt/arm-linux/lib/lib/libasound.so: undefined reference to `pthread_cond_ [EMAIL PROTECTED]' /opt/arm-linux/lib/lib/libasound.so: undefined reference to `pthread_cond_ [EMAIL PROTECTED]' collect2: ld returned 1 exit status configure:46562: $? = 1 configure: failed program was: | /* confdefs.h. */ I have no idea how to fix it. Regards Asutosh === - Original Message - From: Matthias Pfisterer <[EMAIL PROTECTED]> Date: Fri, 30 Jul 2004 15:43:31 +0200 To: asutosh gopinath <[EMAIL PROTECTED]> Subject: Re: [kaffe] Sound on XSCALE (no mixer supporting this type of line...) > Hi, > > using ALSA 1.0.5 sould work. The libraries are searched for in the > standard library paths (/usr/lib, /usr/local/lib, ... depending on your > linker configuration). > > Please check the file config.log for the reason why exactly the test fails. > > Matthias > > > asutosh gopinath wrote: > > Hi, > > Configure gives following output for ALSA ( I did not notice it before !) > > > > checking for ALSA CFLAGS... -I/usr/local/arm-linux/lib/include > > checking for ALSA LDFLAGS... -L/usr/local/arm-linux/lib/lib -lasound -lm -ldl - > > lpthread > > checking for libasound headers version >= 1.0.1... found. > > checking for snd_ctl_open in -lasound... no > > Useable version of ALSA not found. > > > > Where ( path/to/alsa) is it trying to find the usable version? > > I have installed libasound2 (1.0.5-1) from debian.org > > > >>From where can i get "usable" version of ALSA. > > > > Regards > > Asutosh -- ___ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] configure shows error messages
Today's configure shows the following two messages. ./configure: line 27350: test: no: integer expression expected ./configure: line 53725: test: =: unary operator expected I forced configure to pass by changing if test x"$ac_cv_gnu_library_version" != x"no" -a "$ac_cv_gnu_library_version" -le "2002"; then ... fi to if test x"$ac_cv_gnu_library_version" != x"no"; then if "$ac_cv_gnu_library_version" -le "2002"; then ... fi fi and if test $ac_cv_lib_gmp_mpz_get_d = no; then if test $ac_cv_lib_gmp___gmpz_get_d = no; then to if test "$ac_cv_lib_gmp_mpz_get_d" = no; then if test "$ac_cv_lib_gmp___gmpz_get_d" = no; then ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (dalibor): Cleaned up sysdepCallMethod handling on i386
PatchSet 5033 Date: 2004/07/30 22:37:47 Author: dalibor Branch: HEAD Tag: (none) Log: Cleaned up sysdepCallMethod handling on i386 2004-06-23 Michael Franz <[EMAIL PROTECTED]> * config/i386/common.h, config/i386/beos/md.h, config/i386/bsdi/md.h, config/i386/cygwin32/md.h, config/i386/dgux/md.h, config/i386/freebsd2/md.h, config/i386/gnu/md.h, config/i386/linux/md.h, config/i386/netbsd1/md.h, config/i386/nextstep3/md.h, config/i386/openbsd2/md.h, config/i386/oskit/md.h, config/i386/qnx/md.h, config/i386/sco3.2v5/md.h, config/i386/solaris2/md.h, config/i386/univel_svr4/md.h: Cleaned up sysdepCallMethod.h handling. Members: ChangeLog:1.2591->1.2592 config/i386/common.h:1.17->1.18 config/i386/beos/md.h:1.11->1.12 config/i386/bsdi/md.h:1.9->1.10 config/i386/cygwin32/md.h:1.4->1.5 config/i386/dgux/md.h:1.8->1.9 config/i386/freebsd2/md.h:1.15->1.16 config/i386/gnu/md.h:1.9->1.10 config/i386/linux/md.h:1.15->1.16 config/i386/netbsd1/md.h:1.8->1.9 config/i386/nextstep3/md.h:1.9->1.10 config/i386/openbsd2/md.h:1.10->1.11 config/i386/oskit/md.h:1.10->1.11 config/i386/qnx/md.h:1.11->1.12 config/i386/sco3.2v5/md.h:1.9->1.10 config/i386/solaris2/md.h:1.9->1.10 config/i386/univel_svr4/md.h:1.11->1.12 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.2591 kaffe/ChangeLog:1.2592 --- kaffe/ChangeLog:1.2591 Fri Jul 30 15:13:34 2004 +++ kaffe/ChangeLog Fri Jul 30 22:37:47 2004 @@ -1,3 +1,23 @@ +2004-06-23 Michael Franz <[EMAIL PROTECTED]> + +* config/i386/common.h, +config/i386/beos/md.h, +config/i386/bsdi/md.h, +config/i386/cygwin32/md.h, +config/i386/dgux/md.h, +config/i386/freebsd2/md.h, +config/i386/gnu/md.h, +config/i386/linux/md.h, +config/i386/netbsd1/md.h, +config/i386/nextstep3/md.h, +config/i386/openbsd2/md.h, +config/i386/oskit/md.h, +config/i386/qnx/md.h, +config/i386/sco3.2v5/md.h, +config/i386/solaris2/md.h, +config/i386/univel_svr4/md.h: + Cleaned up sysdepCallMethod.h handling. + 2004-07-30 Helmer Kraemer <[EMAIL PROTECTED]> * kaffe/kaffevm/jit3/registers.c (move_register): fixed passing of Index: kaffe/config/i386/common.h diff -u kaffe/config/i386/common.h:1.17 kaffe/config/i386/common.h:1.18 --- kaffe/config/i386/common.h:1.17 Thu Dec 11 17:56:20 2003 +++ kaffe/config/i386/common.h Fri Jul 30 22:37:50 2004 @@ -15,6 +15,10 @@ #ifndef __i386_h #define __i386_h +#if defined(NEED_sysdepCallMethod) +#include "sysdepCallMethod.h" +#endif /* defined(NEED_sysdepCallMethod) */ + /* The 386 never aligns to more than a 4 byte boundary. */ #defineALIGNMENT_OF_SIZE(S)((S) < 4 ? (S) : 4) Index: kaffe/config/i386/beos/md.h diff -u kaffe/config/i386/beos/md.h:1.11 kaffe/config/i386/beos/md.h:1.12 --- kaffe/config/i386/beos/md.h:1.11Mon Jun 7 19:14:15 2004 +++ kaffe/config/i386/beos/md.h Fri Jul 30 22:37:51 2004 @@ -16,7 +16,6 @@ #define __i386_beos_md_h #include "i386/common.h" -#include "i386/sysdepCallMethod.h" #include "i386/threads.h" #if defined(HAVE_SYS_RESOURCE_H) #include Index: kaffe/config/i386/bsdi/md.h diff -u kaffe/config/i386/bsdi/md.h:1.9 kaffe/config/i386/bsdi/md.h:1.10 --- kaffe/config/i386/bsdi/md.h:1.9 Mon Jun 7 19:14:16 2004 +++ kaffe/config/i386/bsdi/md.h Fri Jul 30 22:37:51 2004 @@ -16,7 +16,6 @@ #define __i386_bsdi_md_h #include "i386/common.h" -#include "i386/sysdepCallMethod.h" #include "i386/threads.h" #if defined(HAVE_SYS_RESOURCE_H) Index: kaffe/config/i386/cygwin32/md.h diff -u kaffe/config/i386/cygwin32/md.h:1.4 kaffe/config/i386/cygwin32/md.h:1.5 --- kaffe/config/i386/cygwin32/md.h:1.4 Sat Dec 27 21:15:54 2003 +++ kaffe/config/i386/cygwin32/md.h Fri Jul 30 22:37:51 2004 @@ -19,7 +19,6 @@ /* Thread handling */ /**/ #include "i386/common.h" -#include "i386/sysdepCallMethod.h" #include "i386/threads.h" /* Redefine the stack pointer offset */ Index: kaffe/config/i386/dgux/md.h diff -u kaffe/config/i386/dgux/md.h:1.8 kaffe/config/i386/dgux/md.h:1.9 --- kaffe/config/i386/dgux/md.h:1.8 Mon Jun 7 19:14:16 2004 +++ kaffe/config/i386/dgux/md.h Fri Jul 30 22:37:52 2004 @@ -16,7 +16,6 @@ #define __i386_dgux_md_h #include "i386/common.h" -#include "i386/sysdepCallMethod.h" #include "i386/threads.h" #if defined(HAVE_SYS_RESOURCE_H) Index: kaffe/config/i386/freebsd2/md.h diff -u kaffe/config/i386/freebsd2/md.h:1.15 kaffe/config/i386/freebsd2/md.h:1.16 --- kaffe/config/i386/freebsd2/md.h:1.15Wed Jul 14 10:07:32 2004 +++ kaffe/config/i386/freebsd2/md.h Fri Jul 30 22:37:53 2004 @@ -16,7 +16,6 @@ #define __i386_freebsd2_md_h #include "i386/common.h" -#include "i386/sysdepCallMe
[kaffe] CVS kaffe (dalibor): Hello World works on m68k-jit3
PatchSet 5028 Date: 2004/07/30 11:22:32 Author: dalibor Branch: HEAD Tag: (none) Log: Hello World works on m68k-jit3 2004-07-30 Kiyo Inaba <[EMAIL PROTECTED]> * kaffe/kaffevm/jit3/machine.c: Remove unneeded (and incorrect) code emitted. This mod if suggested by Helmer. * config/m68k/jit3-icode.h, config/m68k/jit3-m68k.def: Comment out cmpr_xRC definition. It emits an unimplemented machine code for 68030. Members: ChangeLog:1.2586->1.2587 config/m68k/jit3-icode.h:1.2->1.3 config/m68k/jit3-m68k.def:1.8->1.9 kaffe/kaffevm/jit3/machine.c:1.54->1.55 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.2586 kaffe/ChangeLog:1.2587 --- kaffe/ChangeLog:1.2586 Fri Jul 30 11:05:58 2004 +++ kaffe/ChangeLog Fri Jul 30 11:22:32 2004 @@ -1,3 +1,14 @@ +2004-07-30 Kiyo Inaba <[EMAIL PROTECTED]> + + * kaffe/kaffevm/jit3/machine.c: + Remove unneeded (and incorrect) code emitted. + This mod if suggested by Helmer. + + * config/m68k/jit3-icode.h, + config/m68k/jit3-m68k.def: + Comment out cmpr_xRC definition. It emits an unimplemented + machine code for 68030. + 2004-07-29 Guilhem Lavaux <[EMAIL PROTECTED]> * libraries/javalib/Klasses.jar.bootstrap: Regenerated. Index: kaffe/config/m68k/jit3-icode.h diff -u kaffe/config/m68k/jit3-icode.h:1.2 kaffe/config/m68k/jit3-icode.h:1.3 --- kaffe/config/m68k/jit3-icode.h:1.2 Sun Jun 17 16:39:10 2001 +++ kaffe/config/m68k/jit3-icode.h Fri Jul 30 11:22:44 2004 @@ -137,14 +137,14 @@ #define HAVE_add_ref_const addr_RRC #define HAVE_sub_ref_const subr_RRC -#define HAVE_cmp_ref_const cmpr_xRC +#undef HAVE_cmp_ref_const #define HAVE_pusharg_ref_const pushr_xCC #define HAVE_load_offset_ref loadr_RRC #define HAVE_store_offset_ref storer_xRRC #define HAVE_add_ref_const_rangecheck(v) (1) #define HAVE_sub_ref_const_rangecheck(v) (1) -#define HAVE_cmp_ref_const_rangecheck(v) (1) +#undef HAVE_cmp_ref_const_rangecheck(v) #define HAVE_pusharg_ref_const_rangecheck(v) (1) #define HAVE_load_offset_ref_rangecheck(v) m68k_s16_rangecheck(v) #define HAVE_store_offset_ref_rangecheck(v)m68k_s16_rangecheck(v) Index: kaffe/config/m68k/jit3-m68k.def diff -u kaffe/config/m68k/jit3-m68k.def:1.8 kaffe/config/m68k/jit3-m68k.def:1.9 --- kaffe/config/m68k/jit3-m68k.def:1.8 Tue Jul 13 14:17:04 2004 +++ kaffe/config/m68k/jit3-m68k.def Fri Jul 30 11:22:45 2004 @@ -1921,6 +1921,12 @@ op_cmpl_dd(r2, r1); } +#if 0 +/* + * Since this function generates an unimplemented instruction, and + * tentatively commented out. + */ + define_insn(cmp_ref_const, cmpr_xRC) { int v = const_int(2); @@ -1933,6 +1939,7 @@ op_tst_a(r); } } +#endif define_insn(cmp_ref, cmpr_xRR) { Index: kaffe/kaffe/kaffevm/jit3/machine.c diff -u kaffe/kaffe/kaffevm/jit3/machine.c:1.54 kaffe/kaffe/kaffevm/jit3/machine.c:1.55 --- kaffe/kaffe/kaffevm/jit3/machine.c:1.54 Sat Jul 17 07:57:29 2004 +++ kaffe/kaffe/kaffevm/jit3/machine.c Fri Jul 30 11:22:46 2004 @@ -832,17 +832,6 @@ if ((m & 1) != 0) { assert(!isGlobal(t->u[i].slot)); slot_kill_readonce(t->u[i].slot); - /* -* If this sequence is in an exception -* handler we need to spill the slot -* in case its used in a subsequent -* basic block. -*/ - if( t->jflags.ANY ) - { - spillAndUpdate(t->u[i].slot, - true); - } slot_invalidate(t->u[i].slot); } } ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] jit3 move_register
> "Dalibor" == Dalibor Topic <[EMAIL PROTECTED]> writes: Dalibor> Casey Marshall wrote: >> You are definitely correct: this was the source of many of my >> problems on mipsel. Your change looks better than what I had, and I >> may be able to test this out on mipsel soon. Dalibor> Hi Casey, Dalibor> If you've got a spare moment, it'd be great if you could Dalibor> resubmit your mipsel patches again, as they somehow got Dalibor> dumped under a lot of other stuff in my TODO list, and now I Dalibor> have problems figuring out what to apply. I think Helmer's patch is better. I'm not sure if it solves every instance of this problem (but I believe it does), but it is better than what I had. -- Casey Marshall || [EMAIL PROTECTED] ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (dalibor): Hello World works on m68k-jit3
PatchSet 5028 Date: 2004/07/30 11:22:32 Author: dalibor Branch: HEAD Tag: (none) Log: Hello World works on m68k-jit3 2004-07-30 Kiyo Inaba <[EMAIL PROTECTED]> * kaffe/kaffevm/jit3/machine.c: Remove unneeded (and incorrect) code emitted. This mod if suggested by Helmer. * config/m68k/jit3-icode.h, config/m68k/jit3-m68k.def: Comment out cmpr_xRC definition. It emits an unimplemented machine code for 68030. Members: ChangeLog:1.2586->1.2587 config/m68k/jit3-icode.h:1.2->1.3 config/m68k/jit3-m68k.def:1.8->1.9 kaffe/kaffevm/jit3/machine.c:1.54->1.55 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.2586 kaffe/ChangeLog:1.2587 --- kaffe/ChangeLog:1.2586 Fri Jul 30 11:05:58 2004 +++ kaffe/ChangeLog Fri Jul 30 11:22:32 2004 @@ -1,3 +1,14 @@ +2004-07-30 Kiyo Inaba <[EMAIL PROTECTED]> + + * kaffe/kaffevm/jit3/machine.c: + Remove unneeded (and incorrect) code emitted. + This mod if suggested by Helmer. + + * config/m68k/jit3-icode.h, + config/m68k/jit3-m68k.def: + Comment out cmpr_xRC definition. It emits an unimplemented + machine code for 68030. + 2004-07-29 Guilhem Lavaux <[EMAIL PROTECTED]> * libraries/javalib/Klasses.jar.bootstrap: Regenerated. Index: kaffe/config/m68k/jit3-icode.h diff -u kaffe/config/m68k/jit3-icode.h:1.2 kaffe/config/m68k/jit3-icode.h:1.3 --- kaffe/config/m68k/jit3-icode.h:1.2 Sun Jun 17 16:39:10 2001 +++ kaffe/config/m68k/jit3-icode.h Fri Jul 30 11:22:44 2004 @@ -137,14 +137,14 @@ #define HAVE_add_ref_const addr_RRC #define HAVE_sub_ref_const subr_RRC -#define HAVE_cmp_ref_const cmpr_xRC +#undef HAVE_cmp_ref_const #define HAVE_pusharg_ref_const pushr_xCC #define HAVE_load_offset_ref loadr_RRC #define HAVE_store_offset_ref storer_xRRC #define HAVE_add_ref_const_rangecheck(v) (1) #define HAVE_sub_ref_const_rangecheck(v) (1) -#define HAVE_cmp_ref_const_rangecheck(v) (1) +#undef HAVE_cmp_ref_const_rangecheck(v) #define HAVE_pusharg_ref_const_rangecheck(v) (1) #define HAVE_load_offset_ref_rangecheck(v) m68k_s16_rangecheck(v) #define HAVE_store_offset_ref_rangecheck(v)m68k_s16_rangecheck(v) Index: kaffe/config/m68k/jit3-m68k.def diff -u kaffe/config/m68k/jit3-m68k.def:1.8 kaffe/config/m68k/jit3-m68k.def:1.9 --- kaffe/config/m68k/jit3-m68k.def:1.8 Tue Jul 13 14:17:04 2004 +++ kaffe/config/m68k/jit3-m68k.def Fri Jul 30 11:22:45 2004 @@ -1921,6 +1921,12 @@ op_cmpl_dd(r2, r1); } +#if 0 +/* + * Since this function generates an unimplemented instruction, and + * tentatively commented out. + */ + define_insn(cmp_ref_const, cmpr_xRC) { int v = const_int(2); @@ -1933,6 +1939,7 @@ op_tst_a(r); } } +#endif define_insn(cmp_ref, cmpr_xRR) { Index: kaffe/kaffe/kaffevm/jit3/machine.c diff -u kaffe/kaffe/kaffevm/jit3/machine.c:1.54 kaffe/kaffe/kaffevm/jit3/machine.c:1.55 --- kaffe/kaffe/kaffevm/jit3/machine.c:1.54 Sat Jul 17 07:57:29 2004 +++ kaffe/kaffe/kaffevm/jit3/machine.c Fri Jul 30 11:22:46 2004 @@ -832,17 +832,6 @@ if ((m & 1) != 0) { assert(!isGlobal(t->u[i].slot)); slot_kill_readonce(t->u[i].slot); - /* -* If this sequence is in an exception -* handler we need to spill the slot -* in case its used in a subsequent -* basic block. -*/ - if( t->jflags.ANY ) - { - spillAndUpdate(t->u[i].slot, - true); - } slot_invalidate(t->u[i].slot); } } ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Plans (updated)
Dalibor Topic wrote: Guilhem Lavaux wrote: Hi, Here are my updated plans, in order of priority: time for me to update my plans, too ;) Me too! (I've been somewhat quiet) 1) Regression testing (almost there) 2) Release 1.1.5 (when it passes regression tests) 3) Upgrade server hardware Cheers, - Jim ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (guilhem): Removed setupSigAltStack from unix-pthreads.
PatchSet 5031 Date: 2004/07/30 15:01:37 Author: guilhem Branch: HEAD Tag: (none) Log: Removed setupSigAltStack from unix-pthreads. * kaffe/kaffevm/systems/unix-pthreads/signal.c (setupSigAltStack, detectStackBoundaries): Removed setupSigAltStack for unix-pthreads as its use is unsafe on most architectures. Members: ChangeLog:1.2589->1.2590 kaffe/kaffevm/systems/unix-pthreads/signal.c:1.11->1.12 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.2589 kaffe/ChangeLog:1.2590 --- kaffe/ChangeLog:1.2589 Fri Jul 30 13:57:47 2004 +++ kaffe/ChangeLog Fri Jul 30 15:01:37 2004 @@ -5,6 +5,12 @@ 2004-07-30 Guilhem Lavaux <[EMAIL PROTECTED]> + * kaffe/kaffevm/systems/unix-pthreads/signal.c + (setupSigAltStack, detectStackBoundaries): Removed setupSigAltStack + for unix-pthreads as its use is unsafe on most architectures. + +2004-07-30 Guilhem Lavaux <[EMAIL PROTECTED]> + * libraries/java/lang/Thread.java: Reverted to original file from GNU Classpath. Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.11 kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.12 --- kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.11 Sun Jul 11 17:44:55 2004 +++ kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c Fri Jul 30 15:02:01 2004 @@ -340,33 +340,6 @@ } -#if defined(HAVE_SIGALTSTACK) && defined(SA_ONSTACK) -static void -setupSigAltStack(void) -{ -STACK_STRUCT newstack; - - /* -* Signals has to have their own stack so we can solve -* stack problems. -*/ - newstack.ss_size = THREADSTACKSIZE; - newstack.ss_flags = 0; - newstack.ss_sp = KMALLOC(newstack.ss_size); - if (sigaltstack(&newstack, NULL) < 0) - { - dprintf("Unexpected error calling sigaltstack: %s\n", - SYS_ERROR(errno)); - EXIT(1); - } -} -#else -static void -setupSigAltStack(void) -{ -} -#endif - /* -- * STACK BOUNDARY DETECTORS * -- @@ -385,8 +358,6 @@ stackPointer = mdGetStackBase(); - setupSigAltStack(); - jtid->stackMin = stackPointer; jtid->stackMax = (char *)jtid->stackMin + mainThreadStackSize; jtid->stackCur = jtid->stackMax; @@ -404,8 +375,6 @@ { void *stackPointer; - setupSigAltStack(); - stackPointer = mdGetStackEnd(); jtid->stackMax = stackPointer; @@ -443,8 +412,6 @@ { static volatile char *guessPointer; void *handler_segv, *handler_bus; - - setupSigAltStack(); #if defined(SIGSEGV) handler_segv = registerSyncSignalHandler(SIGSEGV, stackOverflowDetector); ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] jit3 move_register
Casey Marshall wrote: You are definitely correct: this was the source of many of my problems on mipsel. Your change looks better than what I had, and I may be able to test this out on mipsel soon. Hi Casey, If you've got a spare moment, it'd be great if you could resubmit your mipsel patches again, as they somehow got dumped under a lot of other stuff in my TODO list, and now I have problems figuring out what to apply. cheers, dalibor topic ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (hkraemer): fixed passing of register ids in move_register
PatchSet 5032 Date: 2004/07/30 15:13:34 Author: hkraemer Branch: HEAD Tag: (none) Log: fixed passing of register ids in move_register Members: ChangeLog:1.2590->1.2591 kaffe/kaffevm/jit3/registers.c:1.15->1.16 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.2590 kaffe/ChangeLog:1.2591 --- kaffe/ChangeLog:1.2590 Fri Jul 30 15:01:37 2004 +++ kaffe/ChangeLog Fri Jul 30 15:13:34 2004 @@ -1,5 +1,10 @@ 2004-07-30 Helmer Kraemer <[EMAIL PROTECTED]> + * kaffe/kaffevm/jit3/registers.c (move_register): fixed passing of + register ids to the backend + +2004-07-30 Helmer Kraemer <[EMAIL PROTECTED]> + * kaffe/kaffevm/kaffe.def (GETSTATIC): treat static final fields of initialized classes as constants Index: kaffe/kaffe/kaffevm/jit3/registers.c diff -u kaffe/kaffe/kaffevm/jit3/registers.c:1.15 kaffe/kaffe/kaffevm/jit3/registers.c:1.16 --- kaffe/kaffe/kaffevm/jit3/registers.c:1.15 Tue Jul 6 15:57:15 2004 +++ kaffe/kaffe/kaffevm/jit3/registers.cFri Jul 30 15:13:36 2004 @@ -42,7 +42,7 @@ */ kregs reginfo[] = { REGISTER_SET - { /* BAD */ 0, 0, 0, 0, 0, 0 } + { /* BAD */ 0, 0, 0, 0, 0, 0, 0 } }; /** @@ -210,35 +210,35 @@ { #if defined(HAVE_move_register_long) if (reginfo[toreg].type & Rlong) { - HAVE_move_register_long(toreg, fromreg); + HAVE_move_register_long(reginfo[toreg].regno, reginfo[fromreg].regno); return (1); } else #endif #if defined(HAVE_move_register_int) if (reginfo[toreg].type & (Rint|Rsubint)) { - HAVE_move_register_int(toreg, fromreg); + HAVE_move_register_int(reginfo[toreg].regno, reginfo[fromreg].regno); return (1); } else #endif #if defined(HAVE_move_register_ref) if (reginfo[toreg].type & Rref) { - HAVE_move_register_ref(toreg, fromreg); + HAVE_move_register_ref(reginfo[toreg].regno, reginfo[fromreg].regno); return (1); } else #endif #if defined(HAVE_move_register_double) if (reginfo[toreg].type & Rdouble) { - HAVE_move_register_double(toreg, fromreg); + HAVE_move_register_double(reginfo[toreg].regno, reginfo[fromreg].regno); return (1); } else #endif #if defined(HAVE_move_register_float) if (reginfo[toreg].type & Rfloat) { - HAVE_move_register_float(toreg, fromreg); + HAVE_move_register_float(reginfo[toreg].regno, reginfo[fromreg].regno); return (1); } else ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (hkraemer): tweak for GETSTATIC with static final fields
PatchSet 5030 Date: 2004/07/30 13:57:47 Author: hkraemer Branch: HEAD Tag: (none) Log: tweak for GETSTATIC with static final fields Members: ChangeLog:1.2588->1.2589 kaffe/kaffevm/kaffe.def:1.32->1.33 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.2588 kaffe/ChangeLog:1.2589 --- kaffe/ChangeLog:1.2588 Fri Jul 30 11:52:25 2004 +++ kaffe/ChangeLog Fri Jul 30 13:57:47 2004 @@ -1,3 +1,8 @@ +2004-07-30 Helmer Kraemer <[EMAIL PROTECTED]> + + * kaffe/kaffevm/kaffe.def (GETSTATIC): treat static final fields of + initialized classes as constants + 2004-07-30 Guilhem Lavaux <[EMAIL PROTECTED]> * libraries/java/lang/Thread.java: Reverted to original file from Index: kaffe/kaffe/kaffevm/kaffe.def diff -u kaffe/kaffe/kaffevm/kaffe.def:1.32 kaffe/kaffe/kaffevm/kaffe.def:1.33 --- kaffe/kaffe/kaffevm/kaffe.def:1.32 Sun Jul 25 16:33:49 2004 +++ kaffe/kaffe/kaffevm/kaffe.def Fri Jul 30 13:57:34 2004 @@ -2182,6 +2182,9 @@ softcall_initialise_class(c); \ } +#define FIELD_IS_CONSTANT() \ + field_class()->state==CSTATE_COMPLETE && (field_field()->accflags&ACC_FINAL)!=0 + define_insn(GETSTATIC) { /* @@ -2251,42 +2254,75 @@ getting data in the right type of register. */ else if (!FIELD_ISPRIM(field_field())) { push(1); - load_addr_ref(stack(0), FIELD_ADDRESS(field_field())); + if (FIELD_IS_CONSTANT()) { + move_ref_const(stack(0), *(jobject *)FIELD_ADDRESS(field_field())); + } else { + load_addr_ref(stack(0), FIELD_ADDRESS(field_field())); + } } else switch (CLASS_PRIM_SIG(FIELD_TYPE(field_field( { case 'I': push(1); - load_addr_int(stack(0), FIELD_ADDRESS(field_field())); + if (FIELD_IS_CONSTANT()) { + move_int_const(stack(0), *(jint *)FIELD_ADDRESS(field_field())); + } else { + load_addr_int(stack(0), FIELD_ADDRESS(field_field())); + } break; case 'S': push(1); - load_addr_short(stack(0), FIELD_ADDRESS(field_field())); + if (FIELD_IS_CONSTANT()) { + move_int_const(stack(0), *(jint *)FIELD_ADDRESS(field_field())); + } else { + load_addr_short(stack(0), FIELD_ADDRESS(field_field())); + } break; case 'B': case 'Z': push(1); - load_addr_byte(stack(0), FIELD_ADDRESS(field_field())); + if (FIELD_IS_CONSTANT()) { + move_int_const (stack(0), *(jbyte *)FIELD_ADDRESS(field_field())); + } else { + load_addr_byte(stack(0), FIELD_ADDRESS(field_field())); + } break; case 'C': push(1); - load_addr_char(stack(0), FIELD_ADDRESS(field_field())); + if (FIELD_IS_CONSTANT()) { + move_int_const(stack(0), *(jchar *)FIELD_ADDRESS(field_field())); + } else { + load_addr_char(stack(0), FIELD_ADDRESS(field_field())); + } break; case 'F': push(1); - load_addr_float(stack(0), FIELD_ADDRESS(field_field())); + if (FIELD_IS_CONSTANT()) { + move_float_const(stack(0), *(jfloat *)FIELD_ADDRESS(field_field())); + } else { + load_addr_float(stack(0), FIELD_ADDRESS(field_field())); + } break; case 'J': push(2); - load_addr_long(stack_long(0), FIELD_ADDRESS(field_field())); + if (FIELD_IS_CONSTANT()) { + move_long_const(stack(0), *(jlong *)FIELD_ADDRESS(field_field())); + } else { + load_addr_long(stack_long(0), FIELD_ADDRESS(field_field())); + } break; case 'D': push(2); - load_addr_double(stack_double(0), FIELD_ADDRESS(field_field())); + if (FIELD_IS_CONSTANT()) { + move_double_const(stack(0), *(jdouble *)FIELD_ADDRESS(field_field())); + } else { + load_addr_double(stack_double(0), FIELD_ADDRESS(field_field())); + } break; default: ABORT(); } } +#undef FIELD_IS_CONSTANT define_insn(PUTSTATIC) { ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Sound on XSCALE (no mixer supporting this type of line...)
Hi, using ALSA 1.0.5 sould work. The libraries are searched for in the standard library paths (/usr/lib, /usr/local/lib, ... depending on your linker configuration). Please check the file config.log for the reason why exactly the test fails. Matthias asutosh gopinath wrote: Hi, Configure gives following output for ALSA ( I did not notice it before !) checking for ALSA CFLAGS... -I/usr/local/arm-linux/lib/include checking for ALSA LDFLAGS... -L/usr/local/arm-linux/lib/lib -lasound -lm -ldl - lpthread checking for libasound headers version >= 1.0.1... found. checking for snd_ctl_open in -lasound... no Useable version of ALSA not found. Where ( path/to/alsa) is it trying to find the usable version? I have installed libasound2 (1.0.5-1) from debian.org From where can i get "usable" version of ALSA. Regards Asutosh - Original Message - From: Matthias Pfisterer <[EMAIL PROTECTED]> Date: Fri, 30 Jul 2004 09:03:45 +0200 To: asutosh gopinath <[EMAIL PROTECTED]> Subject: Re: [kaffe] Sound on XSCALE (no mixer supporting this type of line...) Hi, - it may be a bug in your program. Either provide the source code of your test program, or check with AudioPlayer from the Java Sound Resources (URL below). - are you shure that the your installation is correct? How did you test it? Make sure there are Mixers at all. Run 'DumpJSInfo --mixers' (see http://www.jsresources.org/examples/DumpJSInfo.html). Matthias -- Matthias Pfisterer [EMAIL PROTECTED] Reuchlinstrasse 28 phone ++49-711-62 87 12 D-70176 Stuttgart (in Deutschland 0711-62 87 12) GERMANY Work like you don't need the money. Love like you've never been hurt. Dance like nobody is watching. Java Sound Resources (examples, FAQ, applications): http://www.jsresources.org/ Tritonus, the open source implementation of the Java Sound API: http://www.tritonus.org/ -- ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (guilhem): Reverted a patch against GNU Classpath.
PatchSet 5029 Date: 2004/07/30 11:52:25 Author: guilhem Branch: HEAD Tag: (none) Log: Reverted a patch against GNU Classpath. * libraries/java/lang/Thread.java: Reverted to original file from GNU Classpath. * libraries/java/lang/Runtime.java (addShutdownHook): Use getThreadGroup() == null instead of hasDied() which has the same meaning. Members: ChangeLog:1.2587->1.2588 libraries/javalib/java/lang/Runtime.java:1.29->1.30 libraries/javalib/java/lang/Thread.java:1.48->1.49 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.2587 kaffe/ChangeLog:1.2588 --- kaffe/ChangeLog:1.2587 Fri Jul 30 11:22:32 2004 +++ kaffe/ChangeLog Fri Jul 30 11:52:25 2004 @@ -1,3 +1,12 @@ +2004-07-30 Guilhem Lavaux <[EMAIL PROTECTED]> + + * libraries/java/lang/Thread.java: Reverted to original file from + GNU Classpath. + + * libraries/java/lang/Runtime.java + (addShutdownHook): Use getThreadGroup() == null instead of hasDied() + which has the same meaning. + 2004-07-30 Kiyo Inaba <[EMAIL PROTECTED]> * kaffe/kaffevm/jit3/machine.c: Index: kaffe/libraries/javalib/java/lang/Runtime.java diff -u kaffe/libraries/javalib/java/lang/Runtime.java:1.29 kaffe/libraries/javalib/java/lang/Runtime.java:1.30 --- kaffe/libraries/javalib/java/lang/Runtime.java:1.29 Thu Jul 29 14:25:17 2004 +++ kaffe/libraries/javalib/java/lang/Runtime.java Fri Jul 30 11:52:27 2004 @@ -272,7 +272,7 @@ if (VMShuttingDown) throw new IllegalStateException("VM is shutting down."); } - if (hook.isAlive() || hook.isInterrupted() || hook.hasDied()) + if (hook.isAlive() || hook.isInterrupted() || hook.getThreadGroup() == null) throw new IllegalArgumentException("Thread has already been started once."); synchronized( shutdownHooks ) { Index: kaffe/libraries/javalib/java/lang/Thread.java diff -u kaffe/libraries/javalib/java/lang/Thread.java:1.48 kaffe/libraries/javalib/java/lang/Thread.java:1.49 --- kaffe/libraries/javalib/java/lang/Thread.java:1.48 Thu Jul 29 14:25:17 2004 +++ kaffe/libraries/javalib/java/lang/Thread.java Fri Jul 30 11:52:27 2004 @@ -130,9 +130,6 @@ /** The next thread number to use. */ private static int numAnonymousThreadsCreated; - /** True if the thread has already been started */ - private boolean alreadyStarted; - /** * Allocates a new Thread object. This constructor has * the same effect as Thread(null, null, @@ -971,14 +968,5 @@ { group.removeThread(this); vmThread = null; -alreadyStarted = true; - } - - /** - * Returns true if the thread had already been started once. - */ - final boolean hasDied() - { -return alreadyStarted; } } ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Sound on XSCALE (no mixer supporting this type of line...)
Hi, Configure gives following output for ALSA ( I did not notice it before !) checking for ALSA CFLAGS... -I/usr/local/arm-linux/lib/include checking for ALSA LDFLAGS... -L/usr/local/arm-linux/lib/lib -lasound -lm -ldl - lpthread checking for libasound headers version >= 1.0.1... found. checking for snd_ctl_open in -lasound... no Useable version of ALSA not found. Where ( path/to/alsa) is it trying to find the usable version? I have installed libasound2 (1.0.5-1) from debian.org >From where can i get "usable" version of ALSA. Regards Asutosh - Original Message - From: Matthias Pfisterer <[EMAIL PROTECTED]> Date: Fri, 30 Jul 2004 09:03:45 +0200 To: asutosh gopinath <[EMAIL PROTECTED]> Subject: Re: [kaffe] Sound on XSCALE (no mixer supporting this type of line...) > Hi, > > - it may be a bug in your program. Either provide the source code of > your test program, or check with AudioPlayer from the Java Sound > Resources (URL below). > > - are you shure that the your installation is correct? How did you test > it? Make sure there are Mixers at all. Run 'DumpJSInfo --mixers' (see > http://www.jsresources.org/examples/DumpJSInfo.html). > > Matthias -- ___ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Re: m68k/jit3 can print "Hello World!"
Kiyo Inaba wrote: The regression test was finished. m68k/jit3 failed 44 tests. There are enough room to improve, but big progress, I think. Dalibor, could you put my patch attached into the CVS? Great! Thanks you very much, and sorry for the delay. The switch to automake 1.9 took more time than I expected as I needed to clean up some things. cheers, dalibor topic ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Re: m68k/jit3 can print "Hello World!"
Kiyo Inaba wrote: Hi again, I made a mistake. The function which causes SEGV is ResourceBundle.tryBundle BTW, I compared the performance between jit and jit3 for m68k. This was once discussed in this ML for several years (...) ago, but I think there were no conclusion. Simple test to use HelloWorldApp.class with jit $ time $JAVA HelloWorldApp Hello World! 59.19 real51.03 user 7.34 sys And with jit3 $ time $JAVA HelloWorldApp Hello World! 66.18 real58.06 user 7.23 sys Of course it may vary between test case, and I hope I will report more results in the future. But at least for this simple case, jit3 is slower than jit on m68k/netbsd. This is same result with m68k/linux last time. It would be interesting to see if the difference comes from the time spent jitting the code, or from differences in generated code, dealing with registers, etc. cheers, dalibor topic ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] FileOutputStream Error because of QT-AWT??
Hello everyone, We have been trying kaffe on our PXA255 platform for a few days, and we could run a plain text "Helloworld" successfully before we start qtopia. But if we start qtopia, (we use the cmd "/etc/rc.d/init.d/qtopia start"), we couldn't get the ball rolling!! From the msg we found there is something wrong with "FileOutputStream" class. ___ kaffe -vmdebug "RESERROR,VMCLASSLOADER" -cp $PWD Helloworld aaa bbb ___ +++And we got+++ (Sorry for the too long message) --- Calling internal class loader for startup class java/lang/Object 0xc1018 entering process class java/lang/Object 1->8 0xc1018 leaving process class java/lang/Object -> success Calling internal class loader for startup class java/io/Serializable 0xc1018 entering process class java/io/Serializable 1->8 0xc1018 leaving process class java/io/Serializable -> success Calling internal class loader for startup class java/lang/Cloneable 0xc1018 entering process class java/lang/Cloneable 1->8 0xc1018 leaving process class java/lang/Cloneable -> success Calling internal class loader for startup class java/lang/Class 0xc1018 entering process class java/lang/Class 1->8 0xc1018 leaving process class java/lang/Class -> success Calling internal class loader for startup class java/lang/String 0xc1018 entering process class java/lang/String 1->8 Calling internal class loader for java/lang/Comparable 0xc1018 entering process class java/lang/Comparable 1->8 0xc1018 leaving process class java/lang/Comparable -> success Calling internal class loader for java/lang/CharSequence 0xc1018 entering process class java/lang/CharSequence 1->8 0xc1018 leaving process class java/lang/CharSequence -> success 0xc1018 leaving process class java/lang/String -> success Calling internal class loader for startup class java/lang/System 0xc1018 entering process class java/lang/System 1->8 0xc1018 leaving process class java/lang/System -> success Calling internal class loader for startup class java/lang/Void 0xc1018 entering process class java/lang/Void 1->8 0xc1018 leaving process class java/lang/Void -> success Calling internal class loader for startup class java/lang/Boolean 0xc1018 entering process class java/lang/Boolean 1->8 0xc1018 leaving process class java/lang/Boolean -> success Calling internal class loader for startup class java/lang/Byte 0xc1018 entering process class java/lang/Byte 1->8 Calling internal class loader for java/lang/Number 0xc1018 entering process class java/lang/Number 1->8 0xc1018 leaving process class java/lang/Number -> success 0xc1018 leaving process class java/lang/Byte -> success Calling internal class loader for startup class java/lang/Character 0xc1018 entering process class java/lang/Character 1->8 0xc1018 leaving process class java/lang/Character -> success Calling internal class loader for startup class java/lang/Short 0xc1018 entering process class java/lang/Short 1->8 0xc1018 leaving process class java/lang/Short -> success Calling internal class loader for startup class java/lang/Integer 0xc1018 entering process class java/lang/Integer 1->8 0xc1018 leaving process class java/lang/Integer -> success Calling internal class loader for startup class java/lang/Long 0xc1018 entering process class java/lang/Long 1->8 0xc1018 leaving process class java/lang/Long -> success Calling internal class loader for startup class java/lang/Float 0xc1018 entering process class java/lang/Float 1->8 0xc1018 leaving process class java/lang/Float -> success Calling internal class loader for startup class java/lang/Double 0xc1018 entering process class java/lang/Double 1->8 0xc1018 leaving process class java/lang/Double -> success Calling internal class loader for startup class kaffe/util/Ptr 0xc1018 entering process class kaffe/util/Ptr 1->8 0xc1018 leaving process class kaffe/util/Ptr -> success Calling internal class loader for startup class java/lang/ClassLoader 0xc1018 entering process class java/lang/ClassLoader 1->8 0xc1018 leaving process class java/lang/ClassLoader -> success Calling internal class loader for startup class kaffe/lang/AppClassLoader 0xc1018 entering process class kaffe/lang/AppClassLoader 1->8 Calling internal class loader for java/net/URLClassLoader 0xc1018 entering process class java/net/URLClassLoader 1->8 Calling internal class loader for java/security/SecureClassLoader 0xc1018 entering process class java/security/SecureClassLoader 1->8 0xc1018 leaving process class java/security/SecureClassLoader -> success 0xc1018 leaving process class java/net/URLClassLoader -> success 0xc1018 leaving process class kaffe/lang/AppClassLoader -> success Calling internal class loader for startup class java/lang/Thr
Re: [kaffe] Sound on XSCALE (no mixer supporting this type of line...)
Hi, - it may be a bug in your program. Either provide the source code of your test program, or check with AudioPlayer from the Java Sound Resources (URL below). - are you shure that the your installation is correct? How did you test it? Make sure there are Mixers at all. Run 'DumpJSInfo --mixers' (see http://www.jsresources.org/examples/DumpJSInfo.html). Matthias asutosh gopinath wrote: Hi, I have configured kaffe-1.1.4 using ALSA. when i try to run a sond application.. [EMAIL PROTECTED] bin# ./java MyAudio croak.wav java.lang.IllegalArgumentException: no mixer supporting this type of line: javax [EMAIL PROTECTED] javax.sound.sampled.Sour ceDataLine]formats: PCM_SIGNED, 1 channel(s), 16 bit samples, 2 byte frames, 8000.0 Hz, 8000.0 frame s/second, little endian minBufferSize=-1 maxBufferSize=-1 at javax.sound.sampled.AudioSystem.getLine (AudioSystem.java:415) at MyAudio.main (MyAudio.java:80) Why it is not finding the mixer! Asutosh -- Matthias Pfisterer [EMAIL PROTECTED] Reuchlinstrasse 28 phone ++49-711-62 87 12 D-70176 Stuttgart (in Deutschland 0711-62 87 12) GERMANY Work like you don't need the money. Love like you've never been hurt. Dance like nobody is watching. Java Sound Resources (examples, FAQ, applications): http://www.jsresources.org/ Tritonus, the open source implementation of the Java Sound API: http://www.tritonus.org/ -- ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe