libjava fails to build for i686-pc-linux-gnu

Jeff Sturm jsturm@one-point.com
Thu Apr 26 19:01:00 GMT 2001


On Thu, 26 Apr 2001, Jeffrey Oldham wrote:
> ./.libs/libgcj.so: undefined reference to `GC_init_gcj_malloc'
> ./.libs/libgcj.so: undefined reference to `GC_gcj_malloc'

This suggests that boehm-gc didn't build correctly.  After aoliva's change
I did a clean rebuild on i686-pc-linuxgnu both with and without
--enable-threads.

I don't know what might have gone wrong for you.  Can you see if you have
-DGC_GCJ_SUPPORT=1 in <target>/boehm-gc/Makefile?

Jeff




More information about the Gcc-bugs mailing list