[kaffe] total NetBSD/ppc breakage

Riccardo zuse at libero.it
Tue Apr 27 04:44:02 PDT 2004


When compiling kaffe (today's CVS, clean check out) on NetBSD/ppc (2.0 
beta, gcc 3.3.3) I get:
gmake[2]: Leaving directory `/home/multix/kaffe-cvs/netbsd-ppc/kaffe/
./kaffe/kaffeh/kaffeh -classpath ../../kaffe/libraries/javalib/Klasses.
jar.bootstrap -o java_lang_Object.h java/lang/Object
assertion "cf != NULL" failed: file "../../../kaffe/kaffe/kaffevm/file.
h", line 116, function "readu2"
[1]   Abort trap (core dumped) ../kaffe/kaffeh/...
gmake[1]: *** [stamp-h0all] Error 134

when trying to compile without inline functions.... the error doesn't 
exhibit and I can go much much further, up to:
cc1: warning: "-fno-default-inline" is valid for C++ but not for C/ObjC
cc1: warning: -Wuninitialized is not supported without -O
In file included from ../../../../../kaffe/config/powerpc/netbsd1/md.h:
                 from ../../../../config/md.h:1,
                 from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
                 from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
./../../../../kaffe/config/powerpc/common.h:21:5: warning: "NEED_
sysdepCallMethod" is not defined
error: syntax error before '(' token
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c: In 
function `jthread_initexceptions':
error: `nullException' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once

so, this is strange, maybe a GCC bug? or something wicked in the code 
that confuses gcc.


More information about the kaffe mailing list