[kaffe] Re: NetBSD/m68k with jit
Kiyo Inaba
inaba at src.ricoh.co.jp
Mon Jun 21 09:14:01 PDT 2004
I am updating my base for NetBSD/m68k to more recent version from CVS.
And I found recent addition of check for kaffe/kaffevm/mem/gc-mem.c
make it can not be compiled.
Error log is attached.
Kiyo
-------------------------------------------------------------------
m68k--netbsdelf-gcc -DHAVE_CONFIG_H -I. -I../../../kaffe-snap-040610/kaffe/kaffevm -I../../config -I../../include/kaffe -I../../../kaffe-snap-040610/kaffe/kaffevm/systems/unix-jthreads -I../../kaffe/kaffevm/jit -I../../../kaffe-snap-040610/kaffe/kaffevm/jit -I../../../kaffe-snap-040610/libltdl -DTRANSLATOR -I../../../kaffe-snap-040610/kaffe/jvmpi -I../../../kaffe-snap-040610/kaffe/xprof -I../../include -I/proj/src/kaffe-snap-040610-m68k-netbsd-sssj/../kaffe-snap-040610/kaffe/kaffevm -I/proj/src/kaffe-snap-040610-m68k-netbsd-sssj/../kaffe-snap-040610/kaffe/kaffevm/jit -I/proj/src/kaffe-snap-040610-m68k-netbsd-sssj/../kaffe-snap-040610/kaffe/kaffevm/systems/unix-jthreads -I../../../kaffe-snap-040610/config -I../../../kaffe-snap-040610/include -DKAFFE_FEEDBACK -g -O2 -Wno-import -Wchar-subscripts -Wcomment -Wformat=2 -Wimplicit-int -Wmain -Wmissing-braces -Wmultichar -Wparentheses -Wreturn-type -Wswitch -Wtrigraphs -Wuninitialized -W -Wundef -Wshadow -Wpointer-arith -Wbad-func!
tion-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Winline -Wlong-long -O0 -fno-omit-frame-pointer -c gc-mem.c -Wp,-MD,.deps/gc-mem.TPlo
cc1: warning: -Wuninitialized is not supported without -O
In file included from gc-mem.c:1:
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c: In function `gc_heap_initialise':
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:191: warning: comparison between signed and unsigned
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c: In function `gc_heap_malloc':
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:379: warning: cast increases required alignment of target type
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c: In function `gc_small_block':
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:522: warning: cast increases required alignment of target type
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:522: warning: cast increases required alignment of target type
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:526: warning: cast increases required alignment of target type
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:529: warning: cast increases required alignment of target type
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c: In function `gc_large_block':
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:577: warning: cast increases required alignment of target type
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c: In function `pagealloc':
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:930: warning: passing arg 1 of `sbrk' as signed due to prototype
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:942: warning: passing arg 1 of `sbrk' as signed due to prototype
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:968: `PROT_READ' undeclared (first use in this function)
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:968: (Each undeclared identifier is reported only once
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:968: for each function it appears in.)
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:968: `PROT_WRITE' undeclared (first use in this function)
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:968: `PROT_EXEC' undeclared (first use in this function)
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c: In function `pagefree':
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:978: warning: passing arg 1 of `sbrk' as signed due to prototype
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c: In function `gc_block_alloc':
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:1004: warning: cast does not match function type
../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:1053: warning: cast does not match function type
gmake[3]: *** [gc-mem.lo] Error 1
More information about the kaffe
mailing list