[kaffe] error while compiling kaffe for fbsd

Dalibor Topic robilad at kaffe.org
Sun Aug 15 21:29:27 PDT 2004


Supreet Sethi wrote:
> Hi,
> 
> this seems to be a bug.
> 
> while building rt.jar this happens
> 
> BOOTCLASSPATH=lib:./Klasses.jar.bootstrap
> KAFFELIBRARYPATH=../../libraries/clib/native/:../../libraries/clib/io/:../../libraries/clib/zip/:../../libraries/clib/nio/ ../../kaffe/kaffe/kaffe-bin kaffe.tools.jar.Jar -uvf rt.jar -C . META-INF/
> Assertion failed: (diff % gc_pgsize == 0), function gc_primitive_alloc,
> file gc-mem.c, line 781.
> gmake[1]: *** [rt.jar] Abort trap (core dumped)
> 
> ---------------------------------------
> OS: FreeBSD 5.2.1
> Machine: Epic realm rack mount with Pentium III
> Configure flags:  ./configure  --with-threads=unix-jthreads 
> --without-kaffe-x-awt --enable-pure-java-math
> --without-classpath-gtk-awt --without-kaffe-qt-awt
> gcc version: gcc (GCC) 3.3.3 [FreeBSD] 20031106
> 
> 
> Hope to get some help

Hi Supreet,

it seems that you've encountered a bug in the gc. I'd recommend 
rebuilding kaffe from scratch with

make CFLAGS=-Wall

and then trying to fix the warnings on your platform in the gc first. 
That should a) clean up potential sources of trouble, and b) give you an 
overview of the code, in case that you still need to debug it afterwards.

cheers,
dalibor topic



More information about the kaffe mailing list