on cygwin, with current gcc trunk, revision Tue Apr 24 20:47:06 UTC 2007 (revision 124119M) (with Dave Korn's suggested patch to libjava), I get a failure liike this:
ranlib .libs/libgcj-tools.a creating libgcj-tools.la (cd .libs && rm -f libgcj-tools.la && ln -s ../libgcj-tools.la libgcj-tools.la) /bin/sh ./libtool --tag=GCJ --mode=link /usr/local/src/trunk/objdir/gcc/gcj -B/usr/local/src/trunk/objdir/i686-pc-cygwin/libjava/ -B/usr/local/src/trunk/objdir/gcc/ -L/usr/local/src/trunk/objdir/i686-pc-cygwin/libjava -ffloat-store -fomit-frame-pointer -g -O2 -o jv-convert.exe --main=gnu.gcj.convert.Convert -rpath /usr/local/lib/gcc/i686-pc-cygwin/4.3.0 -shared-libgcc -L/usr/local/src/trunk/objdir/i686-pc-cygwin/libjava/.libs libgcj.la /usr/local/src/trunk/objdir/gcc/gcj -B/usr/local/src/trunk/objdir/i686-pc-cygwin/libjava/ -B/usr/local/src/trunk/objdir/gcc/ -ffloat-store -fomit-frame-pointer -g -O2 -o jv-convert.exe --main=gnu.gcj.convert.Convert -shared-libgcc -L/usr/local/src/trunk/objdir/i686-pc-cygwin/libjava -L/usr/local/src/trunk/objdir/i686-pc-cygwin/libjava/.libs ./.libs/libgcj.a -L/usr/local/src/trunk/objdir/i686-pc-cygwin/libstdc++-v3/src -L/usr/local/src/trunk/objdir/i686-pc-cygwin/libstdc++-v3/src/.libs -ldl -lz -L/usr/local/src/trunk/objdir/./gcc -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc ./.libs/libgcj.a(lt102-misc.o): In function `GC_init_inner': /usr/local/src/trunk/objdir/i686-pc-cygwin/boehm-gc/../../../gcc/boehm-gc/misc.c:680: undefined reference to `_GC_get_thread_stack_base' collect2: ld returned 1 exit status make[3]: *** [jv-convert.exe] Error 1 make[3]: Leaving directory `/usr/local/src/trunk/objdir/i686-pc-cygwin/libjava' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/trunk/objdir/i686-pc-cygwin/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/usr/local/src/trunk/objdir' make: *** [bootstrap] Error 2 Any ideas of what can be done with this problem? -- Cheers, /ChJ