Subject: gcc-2.95.2 gcj
To: None <netbsd-help@netbsd.org>
From: Anders Dinsen <anders@dinsen.net>
List: netbsd-help
Date: 12/28/1999 13:37:22
Hello,
I have built gcc-2.95.2 which includes the gcj Java compiler on my
NetBSD-1.4.1/i386. I have also built the accompanying libgcj-2.95.1.
Compiling a simple HelloWorldApp.java with:
gcj --main=HelloWorldApp HelloWorldApp.java -o HelloWorldApp
works fine, but the resulting binary dumps core. Opening gdb on the core
file shows me that the problem is in the garbage collector:
#0 0x4017869a in GC_invalidate_map (hhdr=0x16010) at
../../../libgcj-2.95.1/boehm-gc/obj_map.c:33
33 if (GC_invalid_map == 0) {
Has anyone successfully built and used gcj on NetBSD?
I will try matching versions of gcc and libgcj, but not being quite
experienced in tracing these problems, I could use some advice on where to
go from this?
--
Anders Dinsen
anders@dinsen.net
http://www.dinsen.net/anders/