[kaffe] now what?

2004-03-09 Thread Mark and Janice Juszczec
Hi folks

Well, my kaffe port to the Helio pda (mipsel, r3912 cpu) has hit a stumbling 
block and I'm a little stumped.

When trying to execute a class file, findInJar.c (I think) does a readdir() 
on some directory.  readdir() is crashing with a signal 10.

I can't figure out why ;-(

I've tried multiple versions of glibc.

No one on the linux-mips list can duplicate the problem.  I wonder if it has 
something to do with my file system being read only?

Anyway, here are the options I could come up with:

1.  Contact the glibc developers and ask them some specific questions.  
Unfortunately, the most appropriate mechanism they have (per their website) 
is their bug tracker.  If at all possible, I'd like to talk to someone with 
knowledge of glibc.  Does anyone know how to get ahold of those guys?
2.  Scrap glibc for uClibc.  Will kaffe compile/run with uClibc?
3.  Figure out how Pocketlinux did this.  Can someone tell me how to get to 
the Pocketlinux source out of CVS?
4.  Hack kaffe.  I really don't want to do this.
5.  Scrap kaffe.  Don't worry, after this many years option number 4 is much 
much more appealing.

Does anyone have any other ideas?

Mark

_
Store more e-mails with MSN Hotmail Extra Storage – 4 plans to choose from! 
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] re:CVS kaffe (dalibor): Moved compiler regression tests into their own directory

2004-01-29 Thread Mark and Janice Juszczec


Hi folks

Are these tests for kjc or the build environment used to create kaffe?

Mark

_
Scope out the new MSN Plus Internet Software — optimizes dial-up to the max! 
  http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] dynamically linked kaffe on mipsel

2004-01-10 Thread Mark and Janice Juszczec
Atsushi

Thanks for the information.  If you are using any of the following software, 
can you tell me their versions:

linux kernel
binutils
glibc
gcc
busybox
Thanks

Mark


From: Atsushi Nemoto <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [kaffe] dynamically linked kaffe on mipsel
Date: Sat, 10 Jan 2004 23:10:08 +0900 (JST)
>>>>> On Thu, 08 Jan 2004 20:53:56 +0000, "Mark and Janice Juszczec" 
<[EMAIL PROTECTED]> said:

juszczec> Does anyone know if the mipsel kaffe can run with shared
juszczec> objects?  A few months ago it couldn't, but I don't remember
juszczec> if that was changed.
I have tried kaffe 1.1.2 (and 1.1.3) on Debian(woody)/mipsel with
intrp engine.  No problemn with shared objects.
---
Atsushi Nemoto
_
Check out the new MSN 9 Dial-up — fast & reliable Internet access with prime 
features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] dynamically linked kaffe on mipsel

2004-01-08 Thread Mark and Janice Juszczec
Hi folks

Does anyone know if the mipsel kaffe can run with shared objects?  A few 
months ago it couldn't, but I don't remember if that was changed.

Mark

_



___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] kaffe debug output

2004-01-04 Thread Mark and Janice Juszczec
Hi folks

A few days ago I sent the output of running kaffe with -vmdebug ALL to the 
list.  Dalibor wondered why calls to initCollector()
were missing and suggested I use the CVS snapshot.  Below is the output from 
-vmdebug ALL with CVS code from 01/02/04.

initCollector() calls are present.

Why is it trying to add Klasses.jar to the classpath?  Wasn't it replaced by 
rt.jar?
Also, the 2nd to last line mentions freelist 0.  Is this ok?

Does it makes sense to double check the alloc'd/free'd amounts of memory?

Mark

/usr/local/kaffeCVSsnapshot010204/jre/bin # ./kaffe-bin -ss 1M -ms 1M -mx 2M 
-as 1M -vmdebug ALL FirstClass
You cannot debug the JIT in interpreter mode
pagealloc(1052672) => 0x1001d000
1052672 unused bytes in heap addr range
gc_system_alloc: 1052672 byte at 0x10015628

gc_primitive_free: freeing block 0x10015628 (101000 bytes, 101)
gc_primitive_free: added 0x101000 bytes @ 0x10015628 to freelist 20 @ 
0x1000d3c8

gc_primitive_alloc: got to allocate 0x4000 bytes
gc_primitive_alloc: found best_fit 0x10015628 diff 0xfd000 (0x101000 - 
0x4000)
gc_primitive_alloc: splitted remaining 0xfd000 bytes @ 0x100156c8
gc_primitive_alloc: 0x4000 bytes from freelist @ 0x10015628
initCollector()
initCollector() done
initNativeThreads(0x10)

gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x100156c8 diff 0xfc000 (0xfd000 - 
0x1000)
gc_primitive_alloc: splitted remaining 0xfc000 bytes @ 0x100156f0
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x100156c8
gc_heap_malloc: small block 40 at 0x100156c8 free 0x100210c8

gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x100156f0 diff 0xfb000 (0xfc000 - 
0x1000)
gc_primitive_alloc: splitted remaining 0xfb000 bytes @ 0x10015718
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x100156f0
gc_heap_malloc: small block 16 at 0x100156f0 free 0x100221c8

gc_primitive_alloc: got to allocate 0x3000 bytes
gc_primitive_alloc: found best_fit 0x10015718 diff 0xf8000 (0xfb000 - 
0x3000)
gc_primitive_alloc: splitted remaining 0xf8000 bytes @ 0x10015790
gc_primitive_alloc: 0x3000 bytes from freelist @ 0x10015718
gc_heap_malloc: large block 8200 at 0x10023008

gc_primitive_alloc: got to allocate 0x2000 bytes
gc_primitive_alloc: found best_fit 0x10015790 diff 0xf6000 (0xf8000 - 
0x2000)
gc_primitive_alloc: splitted remaining 0xf6000 bytes @ 0x100157e0
gc_primitive_alloc: 0x2000 bytes from freelist @ 0x10015790

gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x100157e0 diff 0xf5000 (0xf6000 - 
0x1000)
gc_primitive_alloc: splitted remaining 0xf5000 bytes @ 0x10015808
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x100157e0
gc_heap_malloc: small block 56 at 0x100157e0 free 0x10028090
gc_heap_malloc: freelist 56 at 0x100157e0 free 0x100280c8

gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x10015808 diff 0xf4000 (0xf5000 - 
0x1000)
gc_primitive_alloc: splitted remaining 0xf4000 bytes @ 0x10015830
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x10015808

allocating new thread, stack base 0x10029160-0x10029160
resumeThread 0x10029018
initNativeThreads(0x10) done
utf8ConstInit()
gc_heap_malloc: freelist 36 at 0x100156c8 free 0x100210f0
gc_primitive_alloc: got to allocate 0x2000 bytes
gc_primitive_alloc: found best_fit 0x10015830 diff 0xf2000 (0xf4000 - 
0x2000)
gc_primitive_alloc: splitted remaining 0xf2000 bytes @ 0x10015880
gc_primitive_alloc: 0x2000 bytes from freelist @ 0x10015830
gc_heap_malloc: large block 4104 at 0x1002a008
utf8ConstInit() done
initClasspath()
insertClasspath(): '.' append

gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x10015880 diff 0xf1000 (0xf2000 - 
0x1000)
gc_primitive_alloc: splitted remaining 0xf1000 bytes @ 0x100158a8
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x10015880
gc_heap_malloc: small block 26 at 0x10015880 free 0x1002c0f0

gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x100158a8 diff 0xf (0xf1000 - 
0x1000)
gc_primitive_alloc: splitted remaining 0xf bytes @ 0x100158d0
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x100158a8
gc_heap_malloc: small block 62 at 0x100158a8 free 0x1002d080
insertClasspath(): '/usr/local/kaffeCVSsnapshot010204/jre/lib/Klasses.jar' 
append

gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x100158d0 diff 0xef000 (0xf - 
0x1000)
gc_primitive_alloc: splitted remaining 0xef000 bytes @ 0x100158f8
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x100158d0
gc_heap_malloc: small block 78 at 0x100158d0 free 0x1002e068
gc_heap_free: memory 0x1002d080 size 64

gc_primitive_free: freeing block 0x100158a8 (1000 bytes, 1)
gc_primitive_free: added 0x1000 bytes @ 0x100158a8 to freelist 0 @ 
0x1000d378
/usr/local/kaffeCVSsnapshot010204/jre/bin # Process '-/bin/sh' (pid 6) 
exited.

_
Wor

Re: [kaffe] SIGSEGV running kaffe

2004-01-02 Thread Mark and Janice Juszczec
Dalibor

Happy New Year!

I've got to research how to start gdbserver after boot with no command 
prompt.  Any suggestions?
Have you tried asking on the gdb mailing list?

No.  I asked on the linux-mips list.  After I wrote this I began to suspect 
the problem was the automatic console busybox starts up on the serial port.  
The linux-mips folks confirmed this and I've got to try to turn off the 
busybox serial console .

Could you retry with kaffe from current CVS? The lack of initCollector() 
for one in your output strikes me as very weird. That's one of the first 
things to happen when kaffe is initialised, see baseClasses.c for details.

Will do.  Result report to follow shortly.

Mark

_
Working moms: Find helpful tips here on managing kids, home, work —  and 
yourself.   http://special.msn.com/msnbc/workingmom.armx

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] SIGSEGV running kaffe

2003-12-29 Thread Mark and Janice Juszczec
Kevin, et al

Are you trying to use the JIT?  So far as I know, the JIT3 engine is still
broken for MIPS/mipsel, and generates code which ends up dereferencing
uninitialized pointers embedded in internal data structures.
No.  I configured kaffe using --with-engine=intrp

Mark

_
Tired of slow downloads? Compare online deals from your local high-speed 
providers now.  https://broadband.msn.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] SIGSEGV running kaffe

2003-12-29 Thread Mark and Janice Juszczec
Hi folks

A little update on my tracking down the cause of the SIGSEGV when kaffe 
tries to run a class on my mipsel-linux pda.

I've temporarily ruled out using gdbserver.  I've only got 1 serial port and 
its running a shell.  I've got to research how to start gdbserver after boot 
with no command prompt.  Any suggestions?

In the meantime, I ran:

/bin # kaffe-bin -ss 1M -ms 1M -mx 2M -as 1M -cp /bin -vmdebug ALL 
FirstClass

and got the output below.

Any suggestions about what I'm looking for?  A cursory glance at the 
alloc/malloc information doesn't make the problem jump out at me.  I was 
hoping it would be as simple as trying to malloc something at 
0xf or some other such screwy address.  Alas, fate has not been 
so kind.

Mark

You cannot debug the JIT in interpreter mode
pagealloc(1048576) => 0x1001d000
1048576 unused bytes in heap addr range
gc_system_alloc: 1048576 byte at 0x10014d48
gc_primitive_free: Prepending (1048576,0x10014d48) beginning of freelist
gc_primitive_alloc: 4096 bytes from freelist @ 0x10014d48
gc_heap_malloc: small block 56 at 0x10014d48 free 0x1001d090
gc_primitive_alloc: 16384 bytes from freelist @ 0x10014d70
gc_heap_malloc: freelist 56 at 0x10014d48 free 0x1001d0c8
gc_primitive_alloc: 4096 bytes from freelist @ 0x10014e10
gc_heap_malloc: small block 328 at 0x10014e10 free 0x10022010
allocating new thread, stack base 0x10022148-0x10022148
resumeThread 0x10022018
disable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_primitive_alloc: 4096 bytes from freelist @ 0x10014e38
gc_heap_malloc: small block 36 at 0x10014e38 free 0x100230c8
enable stop for thread  0x10022018
disable stop for thread  0x10022018
enable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_primitive_alloc: 8192 bytes from freelist @ 0x10014e60
gc_heap_malloc: large block 4104 at 0x10024008
enable stop for thread  0x10022018
disable stop for thread  0x10022018
enable stop for thread  0x10022018
enable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_primitive_alloc: 4096 bytes from freelist @ 0x10014eb0
gc_heap_malloc: small block 13 at 0x10014eb0 free 0x100261c8
enable stop for thread  0x10022018
disable stop for thread  0x10022018
enable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_heap_malloc: freelist 40 at 0x10014e38 free 0x100230f0
enable stop for thread  0x10022018
disable stop for thread  0x10022018
enable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_heap_malloc: freelist 40 at 0x10014e38 free 0x10023118
enable stop for thread  0x10022018
disable stop for thread  0x10022018
enable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_heap_malloc: freelist 16 at 0x10014eb0 free 0x100261d8
enable stop for thread  0x10022018
disable stop for thread  0x10022018
_
Enjoy a special introductory offer for dial-up Internet access — limited 
time only! http://join.msn.com/?page=dept/dialup

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] debugging kaffe on mipsel

2003-12-12 Thread Mark and Janice Juszczec


Hi folks

This question is directed at all of you folks who've used gdb and gdbserver. 
 Its kaffe related-I'm still trying to track down my SIGSEGV.

If I tell gdb/gdbserver to talk to each other over the serial port, I can't 
debug with gdb and be connected to my pda via minicom.  Or can gdb/gdbserver 
recognize what is coming over the line as being to/from them?

Mark

_
Don’t worry if your Inbox will max out while you are enjoying the holidays.  
Get MSN Extra Storage!  http://join.msn.com/?PAGE=features/es

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


RE: MIPS remote debugging support (Was: Re: [kaffe] mipsel SIGSEGV)

2003-12-09 Thread Mark and Janice Juszczec
Dalibor and all

Greetings from frosty NE Ohio.

Dalibor wrote:

Its odd that the html doc you reference says I should be able to do:

target r3900  to use "Densan DVE-R3900 ROM monitor for Toshiba R3900 
Mips."

because when I do help targets from gdb (configured with 
--target=mips-idt-ecoff) r3900 is not in the list.
That sounds like a good question for the gdb mailing list ;)

Consider it on its way.

the other choice may be to use the gdbserver program on the mipsel


I tried this.  After stripping, gdbserver is too big to put on the Helio 
with kaffe, rt.jar, the kernel, etc.

I might have enough space.  I'm getting some decompression error messages 
from the kernel at boot time.  It could be my kernel isn't accessing all 
available memory.  I'll throw du on and see how much space it says it has.


I guess there are two more possibilities:

a) using kgdb to debug the kernel. Probably quite slow, if it works at all. 
You need a kernel that's compiled with kgdb support.

Do you mean track back to kaffe from where the kernel generates the SIGSEGV?

b) Adding support for gdb stubs for mips to kaffe. There is a mips-stub.c 
in the linux kernel sources [1] and there is some documentation on using 
remote stubs [2].

We are thinking alike ;-)  This is the next step in my plan.  Over the 
weekend, I dug out mips-stub.c (ok, in my kernel source its called 
gdb-stub.c).   I've been researching what gdb required stuff is present, is 
missing and so on.

Do any of the kaffe mips users have mipsel appropriate debugging stubs lying 
around. that I can look at?  I can't believe I'm the first guy to do this.

Mark

_
Cell phone ‘switch’ rules are taking effect — find out more here. 
http://special.msn.com/msnbc/consumeradvocate.armx

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] mipsel SIGSEGV

2003-12-07 Thread Mark and Janice Juszczec



I'm not familiar with uisng gdb over wire, but judging by 
http://sources.redhat.com/gdb/onlinedocs/gdb_19.html#SEC174 you need to 
make sure your GDB on the PC was configured and built with 
`--target=mips-idt-ecoff'.

Yes, it was.  Its odd that the html doc you reference says I should be able 
to do:

target r3900  to use "Densan DVE-R3900 ROM monitor for Toshiba R3900 
Mips."

because when I do help targets from gdb (configured with 
--target=mips-idt-ecoff) r3900 is not in the list.




the other choice may be to use the gdbserver program on the mipsel
I tried this.  After stripping, gdbserver is too big to put on the Helio 
with kaffe, rt.jar, the kernel, etc.

board to connect to gdb, but I'm not very familiar with that, really. I 
hope someof our mips hackers can chip in.

I do too.  A web search to find out what I have to do to make the target 
r3900 valid has given me no useful information.

Mark

cheers,
dalibor topic
_
Cell phone ‘switch’ rules are taking effect — find out more here. 
http://special.msn.com/msnbc/consumeradvocate.armx

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] mipsel SIGSEGV

2003-12-06 Thread Mark and Janice Juszczec
Hello

A few weeks ago I wrote about the SIGSEGV when executing a class with Kaffe 
built for mipsel.

I've tried cross debugging with gdb (from i386 connecting to mipsel) with 
little success.  The latest problem is:

(gdb) target mips /dev/ttyUSB0
Expected "", got "": FAIL
Expected "", got "": FAIL
Expected "", got "": FAIL
Failed to initialize.
Ending remote MIPS debugging.
You can't do that without a process to debug.
Is anyone familiar enough with gdb to tell me what's missing?  I know kaffe 
should probably be compiled with the appropriate gdb -stubs.h & .c files; 
but I don't understand what's going wrong with the initialization.

Mark

_
Shop online for kids’ toys by age group, price range, and toy category at 
MSN Shopping. No waiting for a clerk to help you! http://shopping.msn.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] SIGSEGV on kaffe mipsel

2003-11-30 Thread Mark and Janice Juszczec
Hi folks

In an effort to track down my SIGSEGV, I recompiled kaffe for mipsel with 
--enable-debug.  When I run on my Helio pda, I get the output at the end of 
the email.

Its late on Sunday and I wanted to post it before I signed off and forgot.  
I'll do some analysis on it tomorrow.

On a related subject, I need advice about debugging kaffe remotely.  I'd 
like to run gdb on my i386 laptop, run kaffe on my mipsel pda and debug 
mipsel kaffe from my laptop.  Can anyone point me to READMEs, FAQs or HOWTOs 
on the web?

Thanks

Mark



# kaffe-bin -vmdebug ALL FirstClass
You cannot debug the JIT in interpreter mode
pagealloc(5242880) => (nil)
gc_system_alloc: 5242880 byte at (nil)
pagealloc(1048576) => 0x10016000
1048576 unused bytes in heap addr range
gc_system_alloc: 1048576 byte at 0x2aaab008
gc_primitive_free: Prepending (1048576,0x2aaab008) beginning of freelist
gc_primitive_alloc: 4096 bytes from freelist @ 0x2aaab008
gc_heap_malloc: small block 56 at 0x2aaab008 free 0x10016090
gc_primitive_alloc: 16384 bytes from freelist @ 0x2aaab030
gc_heap_malloc: freelist 56 at 0x2aaab008 free 0x100160c8
gc_primitive_alloc: 4096 bytes from freelist @ 0x2aaab0d0
gc_heap_malloc: small block 328 at 0x2aaab0d0 free 0x1001b010
allocating new thread, stack base 0x1001b148-0x1001b148
resumeThread 0x1001b018
disable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_primitive_alloc: 4096 bytes from freelist @ 0x2aaab0f8
gc_heap_malloc: small block 36 at 0x2aaab0f8 free 0x1001c0c8
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_primitive_alloc: 8192 bytes from freelist @ 0x2aaab120
gc_heap_malloc: large block 4104 at 0x1001d008
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_primitive_alloc: 4096 bytes from freelist @ 0x2aaab170
gc_heap_malloc: small block 13 at 0x2aaab170 free 0x1001f1c8
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_heap_malloc: freelist 40 at 0x2aaab0f8 free 0x1001c0f0
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_heap_malloc: freelist 40 at 0x2aaab0f8 free 0x1001c118
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_heap_malloc: freelist 16 at 0x2aaab170 free 0x1001f1d8
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_primitive_alloc: 4096 bytes from freelist @ 0x2aaab198
gc_heap_malloc: small block 26 at 0x2aaab198 free 0x100200f0
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_heap_malloc: freelist 26 at 0x2aaab198 free 0x10020110
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_heap_malloc: freelist 14 at 0x2aaab170 free 0x1001f1e8
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_primitive_alloc: 4096 bytes from freelist @ 0x2aaab1c0
gc_heap_malloc: small block 18 at 0x2aaab1c0 free 0x10021140
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_primitive_alloc: 4096 bytes from freelist @ 0x2aaab1e8
gc_heap_malloc: small block 1032 at 0x2aaab1e8 free 0x10022008
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_heap_free: memory 0x10022008 size 2016
disable stop for thread  0x1001b018
gc_primitive_free: Merging (4096,0x2aaab1e8) beginning of freelist
enable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_heap_malloc: freelist 52 at 0x2aaab008 free 0x10016100
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_heap_free: memory 0x10016100 size 56
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_heap_free: memory 0x1001f1e8 size 16
disable stop for thread  0x1001b018
enable stop for thread  0x1001b018
enable stop for thread  0x1001b018
disable stop for thread  0x1001b018
gc_heap_free: memory 0x10021140 size 24
disable stop for thread  0x1001b018
gc_primitive_free: Merging (4096,0x2aaab1c0) beginning of freelist
enable stop for thread  0x1001b018
enable stop for thread  0x1

[kaffe] good initial stack/heap size in embedded environment

2003-11-18 Thread Mark and Janice Juszczec
Hi folks

I've gotten kaffe compiled and installed on my Helio.

I'm getting a SIGSEGV when I try to use kaffe to execute a class file.

I've tracked it down to kaffe/kaffevm/itypes.c

It happens among the calls to initPrimClass in initTypes().  I don't get the 
signal in the same place-each time I run a different number of initPrimClass 
calls succeed.

It got me wondering if kaffe is trying to reserve too much stack or heap.  
The Helio has 8Mb RAM and 2Mb flash.  Can I use the default stack/heap size 
(what is the default size?) or should I specify one at the command line?  If 
I've got to feed sizes in at the command line, what are reasonable values?

Mark

_
Say “goodbye” to busy signals and slow downloads with a high-speed Internet 
connection! Prices start at less than $1 a day average.  
https://broadband.msn.com (Prices may vary by service area.)

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] libnative error

2003-11-11 Thread Mark and Janice Juszczec
Hi folks

I'm trying to shrink my 1.8Mb libnative.a so I can fit it on a pda.

I fooled with the Makefile and did a strip on all the .o files.  Everything 
links up fine but when I try to run a little sample program I get:

$ java FirstClass
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/UnsatisfiedLinkError: Failed to locate native function:   
java/lang/Throwable.fillInStackTrace()Ljava/lang/Throwable;
   at java.lang.Throwable.(Throwable.java:37)
   at java.lang.Error.(Error.java:69)
   at java.lang.VirtualMachineError.(VirtualMachineError.java:17)
   at java.lang.StackOverflowError.(StackOverflowError.java:17)

Is stripping .o's forbidden for some reason.

BTW, I generated the stripped libnative for i386.  The target platform is 
mipsel.  Am I running into some kind of i386ism that won't bother me on 
mipsel?

Mark

_
Concerned that messages may bounce because your Hotmail account is over 
limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] cannot find libnative

2003-11-08 Thread Mark and Janice Juszczec


Hi folks

For the last couple of years I've been trying to create a version of kaffe 
for use on my mipsel based Helio pda.  It been an on again, off again 
project.

Well, its on again.

I've taken three paths.  The first is working with a copy of the 
Transvirtual pocketlinux kaffe source I found buried on some ftp site on the 
net a few months ago.  The second path is trying to use the v1.1.0 release 
of kaffe.  The third is using a prebuilt version I got from Transvirtual's 
pocketlinux website several years ago.

What started as an attempt to create a java PIM for myself has turned into 
"I'd really like to be able to create my own mipsel version of kaffe."  I'll 
use the prebuilt version only when I get tired of hacking the kaffe source.  
I haven't gotten tired of it yet.

Anyway,  as of today, the status is:

1.  The Transvirtual pocketlinux kaffe source will compile for mipsel and I 
can include/exclude the features I want.  It also has the Transvirtual 
framebuffer awt implementation.  However, it won't run.  I've tracked the 
problem to a call to kaffevm/systems/unix-jthreads/internal.c  A call to 
readdir(DIR* dir) crashes with a signal 11 and I can't figure out why.

2.  The kaffe v1.1.0 release also compiles for mipsel.  I can also 
include/exclude the features I want.  When it runs, it complains about not 
being able to find libnative.  Based on a quick read of the mailing list 
archive and a look at the generated code, it looks like (even when compiled 
statically) there are a series of libraries kaffe needs at run time.  The 
libnative.a in question is about 2mb.  The pda won't hold that much.

So I've got 2 choices.  Continue to work with the Transvirtual source, solve 
the readdir problem and any others that come up.

Or, use kaffe v1.1.0 and figure out how to compile the required libraries 
into the kaffe executable.  Then merge the Transvirtual framebuffer awt code 
into kaffe v1.1.0 or v1.2.0 or whichever version y'all want.

I think option 2 is the way to go.  kaffe v1.x is actively developed and 
supported.  Can someone tell me if there is a way merge the libraries kaffe 
needs at run time into the static binary?  Can anyone give me any hints as 
to merging in a new awt implementation?

Mark

_
Frustrated with dial-up? Get high-speed for as low as $26.95.  
https://broadband.msn.com (Prices may vary by service area.)

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] pocketlinux and kaffe

2003-09-15 Thread Mark and Janice Juszczec
Hi folks

Does anyone have an archive of the old pocketlinux mailing list?

Mark

_
Try MSN Messenger 6.0 with integrated webcam functionality! 
http://www.msnmessenger-download.com/tracking/reach_webcam

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Re: Mark fixed JNI c++ build problems, fixing building with Qt-awt as well

2003-08-26 Thread Mark and Janice Juszczec


Hi folks

Is this going to go into the kaffe-1.1.0 branch that's been ported to mips?

BTW, does anyone have any experience cross compiling qt embedded?

Mark

_
Get MSN 8 and enjoy automatic e-mail virus protection.  
http://join.msn.com/?page=features/virus

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] compile problem: mipsel+qt

2003-08-16 Thread Mark and Janice Juszczec
Hi folks

I tried sending this a few days ago.  I think it may have gotten lost in the 
blackout that the US had.  My apologies if I double post.

I'm trying to use the Qt based awt for kaffe-1.1.0 on mipsel-linux.

I compile a statically linked qt just fine.

But when its time to compile kaffe, I get:

mipsel-linux-gcc -g -O2 -fno-omit-frame-pointer -o kaffe-bin -static main.o 
vers
ion.o .libs/kaffe-binS.o -Wl,--export-dynamic  
-L/usr/local/src/qthelio/qt-embed
ded-free-3.0.5/lib 
-L/usr/local/src/mipsCrossToolchainOld/mipsel-gcc/mipsel-linu
x/libstdc++-v3/src 
-L/usr/local/src/mipsCrossToolchainOld/mipsel-gcc/mipsel-linu
x/libstdc++-v3/src/.libs 
-L/usr/local/src/mipsCrossToolchainOld/mipsel-gcc/gcc -
L/usr/local/mipsel-linux/bin -L/usr/local/mipsel-linux/lib 
../../libraries/clib/
native/.libs/libnative.a ../../libraries/clib/net/.libs/libnet.a 
../../libraries
/clib/io/.libs/libio.a ../../libraries/clib/zip/.libs/libzip.a 
../../libraries/c
lib/management/.libs/libmanagement.a 
../../libraries/clib/security/.libs/libsecu
rity.a ../../libraries/clib/awt/qt/.libs/libawt.a 
/usr/local/mipsel-linux/lib/li
bstdc++.a -L/usr/local/lib/gcc-lib/mipsel-linux/3.0.1 
-L/usr/local/lib/gcc-lib/m
ipsel-linux/3.0.1/../../../../mipsel-linux/lib -lc -lgcc_s -lgcc 
../kaffevm/.lib
s/libkaffevm.a -lm ../../libltdl/.libs/libltdlc.a -ldl -lqte
/usr/local/lib/gcc-lib/mipsel-linux/3.0.1/../../../../mipsel-linux/bin/ld: 
canno
t find -lgcc_s
collect2: ld returned 1 exit status
rm -f .libs/kaffe-binS.o
make[2]: *** [kaffe-bin] Error 1
make[2]: Leaving directory `/usr/local/src/kaffe-1.1.0/helio/kaffe/kaffe'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/kaffe-1.1.0/helio/kaffe'
make: *** [all-recursive] Error 1

From what I understand libgcc_s is some kind  of shared library for 
gcc.
But my configure line was:
../configure --host=mipsel-linux --prefix=/usr/local/kaffe-mipsel 
--enable-static --enable-shared=no --with-engine=intrp --disable-debug 
--disable-xprofiling --disable-xdebugging --disable-feedback 
--without-profiling --without-stats --disable-gcj --with-staticbin 
--with-staticlib --with-staticvm --with-awt=qt

Any ideas how to get rid of the problem?

Failing that, is the old pocketlinux fgl awt backend available somewhere?

Mark

_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] static vm on mipsel

2003-08-14 Thread Mark and Janice Juszczec
Hi folks

I've compiled kaffe for mipsel and wound up with a dynamically linked 
kaffe-bin.  One of the FAQs says to give configure --with-staticvm and it 
will link statically.

I did, but got a dynamically linked kaffa-bin again.

Is there any way to force it to build statically?

Mark

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Sun's javac and compiling rt.jar without debugging symbols

2003-08-14 Thread Mark and Janice Juszczec
Hi folks

I made kaffe-1.1.0 for i386.

Now I'm making kaffe-1.1.0 for mipsel (still playing with that Helio)

Per the FAQ.embedded, I do:

export -n JAVA
export -n JAVAC
export -n CLASSPATH
export JAVAC="/usr/java/jdk1.3.1_08/bin/javac -g:none"
make Klasses
I get a bunch of errors (41 to be exact) like:

./java/io/ObjectStreamClass.java:791: cannot resolve symbol
symbol  : method initCause  (java.io.IOException)
location: class java.io.StreamCorruptedException
   sce.initCause(e);
  ^
./java/io/ObjectStreamClass.java:825: cannot resolve symbol
symbol  : method initCause  (java.io.IOException)
location: class java.io.StreamCorruptedException
   sce.initCause(e1);
  ^
./java/io/ObjectStreamClass.java:830: cannot resolve symbol
symbol  : method initCause  (java.lang.ClassNotFoundException)
location: class java.io.StreamCorruptedException
   sce.initCause(e2);
Figuring its looking for stuff in my i386 kaffe rt.jar, I do:

export JAVAC="/usr/java/jdk1.3.1_08/bin/javac -g:none -classpath 
/usr/local/kaffe/jre/lib/rt.jar"

and get errors like (83 of them):

java/lang/AssertionError.java:80: cannot resolve symbol
symbol  : method initCause  (java.lang.Throwable)
location: class java.lang.AssertionError
 initCause((Throwable) msg);
 ^
java/lang/reflect/Proxy.java:341: cannot resolve symbol
symbol  : method getCause  ()
location: class java.lang.reflect.InvocationTargetException
   throw (NullPointerException) e.getCause();
So out of desperation, I tried:

export JAVAC="/usr/java/jdk1.3.1_08/bin/javac -g:none -classpath 
/usr/local/kaffe/jre/lib/rt.jar:/usr/local/kaffe/lib/kjc.jar"
make Klasses

and got the same thing.

So, the question is, what do I have to do to strip all debugging information 
out of rt.jar?

Mark

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Sun's javac and compiling rt.jar without debugging symbols

2003-08-11 Thread Mark and Janice Juszczec
Hi folks

I replied to Rob and forgot to cc the list.

I asked if kjc was kaffe's compiler.  I thought I read its symbol stripping 
feature hasn't been enabled.

I also asked if jikes did debugging symbol stripping.

And I thanked him for the tip on 1.1.1

Mark



From: Rob Gonzalez <[EMAIL PROTECTED]>
To: Mark and Janice Juszczec <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [kaffe] Sun's javac and compiling rt.jar without debugging 
symbols
Date: Fri, 08 Aug 2003 21:46:51 -0400 (EDT)

Hi Mark,

Try using KJC (kjc.jar is included in kaffe 1.1.x) or jikes 1.18 instead
of Sun's javac, but include kaffe's rt.jar in the classpath.
Also, I would use 1.1.1 instead of 1.1.0 as there's been a lot of
improvement between the two development releases.
Cheers,
Rob

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] static vm on mipsel

2003-08-07 Thread Mark and Janice Juszczec
Tim

I tried this.  Sorry, I should have been more clear.



From: Timothy Stack <[EMAIL PROTECTED]>
>
> Is there any way to force it to build statically?
Try --with-staticvm AND --with-statclib

> Mark

tim
Mark

_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Re: Kaffe and MIPS CPUs

2003-07-08 Thread Mark and Janice Juszczec

Hello all

Since there have been some posts about Kaffe and MIPS, I thought I'd let 
everyone know what I'm up to.  A side project a work has me trying to 
compile Kaffe v1.0.7 to run on a Helio pda.  It runs
a 75MHz Philips R3912 little endian mips processor.

In order to get the hang of cross compiling something as large and involved 
as Kaffe, I decided to start by compiling v1.0.5.  Its runs on MIPS, since I 
downloaded the binary and libraries from kaffe.org.

I build the cross co
** Message from InterScan E-Mail VirusWall NT **

** WARNING! Attached file Default.rdp.exe contains:

 PE_BUGBEAR.B-O virus

   Attempted to clean the file but it is not cleanable.
   It has been deleted.
* End of message ***



[kaffe] Re: GNU Classpath java.util.zip patch - To Merge Or Not To Merge

2002-12-28 Thread Mark and Janice Juszczec
Hello all,

Dalibor wrote:


What conclusions should we draw? Here are mine:

* pro:
- fixes large bunch of cygwin problems
- works without much slowdown on i386-linux-jit3

* contra:
- delays program startup on arm-linux-jit by at least
30 seconds.
- delays program startup on arm-linux-intrp by more
than a minute.
- uses more memory than native zip solution, between
2~6 MB.

...snip...


If you're an embedded or cygwin developer/user, I'd
like to hear your opinion.



Won't hurt anything on x86.

I can't use it for my mipsel-linux pda.  Even 2Mb is way to much memory for 
me to sacrifice.

Bear in mind I'm on a Helio, a lower end pda from a few years ago.  I'm not 
sure what current platforms have available.

Mark

_
The new MSN 8: smart spam protection and 3 months FREE*.  
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Embedded use (Zip libs, Qt etc.)

2002-12-17 Thread Mark and Janice Juszczec

Dalibor wrote:


What's the status of the kaffe.org tree non that
platform (mipsel-linux) using --with-engine=intrp  ?
Does it compile/build at all? Or does it just crash
every regression test ;) ?



I haven't tried it since the beginning of the year.  It didn't compile back 
then.  I think I sent mail to the list.

Since then Kevin et. al. have been working on mips patches.  Maybe over the 
next 2 weeks I can download the latest Kaffe source, patch it and try to 
build.

What  version of gcc do you recommend - 2.96 or 3.0.1?

Mark
Mark

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Embedded use (Zip libs, Qt etc.)

2002-12-16 Thread Mark and Janice Juszczec
Pocketlinux' Kaffe was and still is one of the most complete and best 
embedded
solutions. For that reason I'd like to see Kaffe.org's version try to
reach its full potential in this avenue.

Pocketlinux Kaffe is still, AFAIK, the only Java virtual machine for the 
Helio with its little endian mips processor.  I'm going to go out on a limb 
and say its the only one for the mips architecture.  Its the only game in 
town if you are not a mips guru and can't port J2ME and still want to use 
Java.

IMNSHO, this is Kaffe's strength.

Mark



_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe