> > > > > >The segfault must be caused by something else. > >What does your sysdepCallMethod() look like? > > > > - Godmar > > > I got the following from an incomplete port of kaffe 1.0.b1 that > tenon did and never finished. the b1 port didnt core dump but failed > a lot of the tests in test dir (although it passed a lot as well) > > anyway here it is if anyone can point out any possibilities with it i > would be grateful. > I think what you want to do is to go to your local library (or browse the web) for a document with a title similar, if not identical to "Procedure call conventions for the PowerPC processor" It may be in the architecture manual too. I'm afraid I can't help you much with it. Note that there's a "TestNative" test case which you'll get if you configure with --enable-debug. If you get this to work, chances are your sysdepCallMethod works. Also, make sure that you don't destroy any registers which may be fixed on your arch because for instance the shared lib linker uses them. Also, see the comment in support.h and the pointer to Kiyo's site on www.kaffe.org/porting.html - Godmar