Re: Kaffe requires -g

2000-02-24 Thread Alexandre Oliva
On Feb 24, 2000, Patrick Tullmann <[EMAIL PROTECTED]> wrote: > -O1 fails Which platform? Which compiler? What is the symptom? -- Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy GuaranĂ¡ Cygnus Solutions, a Red Hat companyaoliva@{redhat, cygnus}.com Free Software Deve

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 ___

Re: Kaffe requires -g

2000-02-24 Thread Archie Cobbs
Patrick Tullmann writes: > So, the problem really is (and I just tried compiling Kaffe 3 > different ways to really confirm this) that Kaffe won't compile > without -O2 or better. Specifically: > -O2 is okay (with or without -g) > -O1 fails Sounds like a problem with one of the asm() script

Re: Kaffe requires -g

2000-02-24 Thread Patrick Tullmann
Well, as Archie points out, that doesn't make any sense. And, as Godmar pointed out in private mail, the problems from the past are with missing -O2... So, the problem really is (and I just tried compiling Kaffe 3 different ways to really confirm this) that Kaffe won't compile without -O2 or be

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

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 not

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 ht

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

[Kaffe] directory patch for Jar util

2000-02-24 Thread Moses DeJong
The mystery of adding directories to a Jar file has been solved. With this patch, the kaffe jar util works exactly the same as the sun jar util in that it adds directory entries and files. The old implementation would fail with something a simple as this. mkdir foo jar -cvf foo.jar foo Wed Feb

Re: state of the developer tools?

2000-02-24 Thread Archie Cobbs
Patrick Tullmann writes: > What are the required autoconf/automake versions for playing with the > Kaffe makefiles? > > autoconf 2.13 seems to work. (the latest CVS autoconf complains a lot, > however). > > I tried automake v1.4, Alexandre's automake-1.4a-dep (from > FAQ.automake), and the lat

[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. Ind

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 this

[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