Kaffe requires -g

2000-02-24 Thread Patrick Tullmann
Building kaffe requires that the '-g' flag be passed to gcc. Otherwise, you get a very broken executable. This is a long-standing problem... though I can't find any metion of it in the mailing list archive... I could have sworn this came up in the past. Something to do with sysdepCallMethod

Re: Kaffe requires -g

2000-02-24 Thread Archie Cobbs
Patrick Tullmann writes: Building kaffe requires that the '-g' flag be passed to gcc. Otherwise, you get a very broken executable. Why is that? -g just includes debugging info in a separate section. The executable code should be the same (eg., strip the -g object and you get the same object

Re: Test case for the problem in Kaffe

2000-02-24 Thread Archie Cobbs
Alexandre Oliva writes: Should I upgrade kaffe then with the latest libtool CVS? I missed the rest of the conversation (was it in a mailing list whose folder I didn't open yet?) but, if that fixes a bug, it's probably a good idea. OK, done.. -Archie

[Kaffe] assert in kaffevm/mem/gc-mem.c (core dump)

2000-02-24 Thread Moses DeJong
Has anyone run into this error before? I keep getting it while running javac on my Red Hat 5.2 system. When I just run java or jar it does not crash. Kaffe: ../../../kaffe/kaffevm/mem/gc-mem.c:315: gc_heap_malloc: Assertion `blk-free != 0' failed. Abort (core dumped) (gdb) list 311

Re: Bug in the kaffe-script?

2000-02-24 Thread Stefan Hellkvist
Thanks Godmar, Now I see the problem here. The classes in the java directory were taken from the Sun JDK1.2. The reason for this was that they did not exist before in Kaffe. The reason it fails in Kaffe is simply because it calls a native function which doesn't exist in Kaffe. I didn't see

[Kaffe] Minor comment patch for regression tests

2000-02-24 Thread Moses DeJong
Here is a quick patch to fix the spelling of my name in some of the regression tests. Wed Feb 23 13:02:40 CET 2000 Moses DeJong [EMAIL PROTECTED] * test/regression/BeanBug.java: * test/regression/MethodBug.java: Fixed spelling of authors name in regression test.

sysdepCallMethod for embedded linux PowerPC

2000-02-24 Thread Chuck Rohs
Hi, I'm trying to get a VM running on our embedded PowerPC 823e (on Linux). I was wondering if anyone has been down this path with Kaffe and/or has an implementation of the sysdepCallMethod for PowerPC. Thanks. Chuck

Re: sysdepCallMethod for embedded linux PowerPC

2000-02-24 Thread Pavel Roskin
Hello, Chuck! I'm trying to get a VM running on our embedded PowerPC 823e (on Linux). I was wondering if anyone has been down this path with Kaffe and/or has an implementation of the sysdepCallMethod for PowerPC. The CVS version of Kaffe can be configured to use libffi. Get libffi from