[kaffe] Tiny steps towards tinderboxing kaffe
Karl Trygve Kalleberg
karltk at gentoo.org
Sat Jun 5 12:57:03 PDT 2004
Hi gang.
For those on the list who haven't met me on IRC already, I'm one of the Java
maintainers on the Gentoo project, a from-source meta-distribution.
I talked to Dalibor a while back about writing some sort of tinderbox/testing
harness for kaffe, to help in detecting compile-time (and in time, run-time)
errors during development.
In Gentoo, we already have some tools for building packages from sources on a
regular basis. This is what our package system was designed to do; build
programs from source code, so people could build their own "proper"
distribution.
Naturally, the kaffe developers do not want (nor should they need) to run Gentoo,
and that is in no way a requirement for the system I'm working on. While my system
is using Portage at its core, all development happens on Debian 3.0rc2 running
on sparc64.
I have however, run into a snag while trying to compile HEAD of kaffe now:
-----
gcc -DHAVE_CONFIG_H -I. -I. -I../../../../config -I../../../../include/kaffe
-I. -I. -I../.. -I./../.. -I../../../../config -I../../../../config
-I../../../../include -I../../../../include -I../../../../kaffe/xprof
-I../../../../include -DTRANSLATOR
-I/var/tmp/portage/kaffe-cvs-0/work/kaffe/./kaffe/kaffevm
-I/var/tmp/portage/kaffe-cvs-0/work/kaffe/./kaffe/kaffevm/jit
-I/var/tmp/portage/kaffe-cvs-0/work/kaffe/./kaffe/kaffevm/systems/unix-jthreads
-I../../../../config -I../../../../include -DKAFFE_FEEDBACK -O2
-fomit-frame-pointer -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-function-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 -c signal.c -Wp,-MD,.deps/signal.TPlo -fPIC -DPIC -o
.libs/signal.o
In file included from /usr/include/sys/socket.h:35,
from ../../../../config/config-io.h:27,
from jthread.h:36,
from signal.c:18:
/usr/include/bits/socket.h: In function `__cmsg_nxthdr':
/usr/include/bits/socket.h:277: warning: cast increases required alignment of target type
signal.c: In function `nullException':
signal.c:98: structure has no member named `sigc_sp'
signal.c:80: warning: `stackptr' might be used uninitialized in this function
signal.c: At top level:
signal.c:452: warning: no previous prototype for `kaffeNoopFunc'
signal.c: In function `detectStackBoundaries':
signal.c:482: warning: passing arg 1 of `kaffeNoopFunc' with different width due to prototype
signal.c:463: warning: `guessPointer' might be used uninitialized in this function
signal.c:463: warning: variable `guessPointer' might be clobbered by `longjmp' or `vfork'
make[4]: *** [signal.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/kaffe-cvs-0/work/kaffe/kaffe/kaffevm/systems/unix-jthreads'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kaffe-cvs-0/work/kaffe/kaffe/kaffevm/systems'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kaffe-cvs-0/work/kaffe/kaffe/kaffevm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kaffe-cvs-0/work/kaffe/kaffe'
make: *** [all-recursive] Error 1
------------
Kernel headers are at 2.4.20 on this box, again, running Debian 3.0rc2.
Kind regards,
Karl T
PS. Please correct me if this is the wrong mailing list to spew out
compile-time error logs. I couldn't find a developer-only mailing list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20040605/43667c12/attachment-0002.pgp
More information about the kaffe
mailing list