This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Bad patchwork: libgcj.so: undefined reference to `gcj_describe_type_fn'
- From: Martin Egholm Nielsen <martin at egholm-nielsen dot dk>
- To: java at gcc dot gnu dot org
- Date: Wed, 15 Mar 2006 21:13:41 +0100
- Subject: Bad patchwork: libgcj.so: undefined reference to `gcj_describe_type_fn'
Hi,
(For those not reading my desparate attempts on the GC list:)
I'm trying to trace some stuff in the garbage collector being
responsible for doubling my GC times.
In that attempt Hans Boehm has guided me into using the method
"gcj_describe_type_fn" defined in "libjava/boehm.cc" - defined for newer
releases, that is. Now, I'm quite stuck with the 3.4.x branch, hence
this method is not there.
So I just patched it in from SVN trunk (though removing the
static'ness), and everything (boehm and libjava) compiles just fine.
However, the minute I try to compile my own application, I get the
following error message:
--- 8< 8< 8< ---
lib/libgcj.so: undefined reference to `gcj_describe_type_fn'
collect2: ld returned 1 exit status
--- 8< 8< 8< ---
So I guess I need some more patching, but I have no idea where.
BR,
Martin Egholm