------- Additional Comments From pluto at pld-linux dot org 2005-01-05 22:49 ------- # buildlog: http://149.156.124.14/~pluto/tmp/gcc.log.bz2 (...) /bin/sh ./libtool --mode=install /usr/bin/install -c 'libgij.la' '/tmp/gcc-4.0.0-root-pluto/usr/lib/libgij.la' libtool: install: warning: relinking `libgij.la' (cd /home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/i686-pld-linux/libjava; /bin/sh ./libtool --mode=relink /home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/gcc/xgcc -shared-libgcc -B/home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/gcc/ -nostdinc++ -L/home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/i686-pld-linux/libstdc++-v3/src -L/home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/i686-pld-linux/libstdc++-v3/src/.libs -B/usr/i686-pld-linux/bin/ -B/usr/i686-pld-linux/lib/ -isystem /usr/i686-pld-linux/include -isystem /usr/i686-pld-linux/sys-include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -ffloat-store -fno-omit-frame-pointer -Wextra -Wall -D_GNU_SOURCE -DPREFIX="/usr" -DLIBDIR="/usr/lib" -DBOOT_CLASS_PATH="/usr/share/java/libgcj-4.0.0.jar" -DJAVA_EXT_DIRS="/usr/share/java/ext" -O2 -march=i686 -mtune=pentium4 -pipe -D_GNU_SOURCE -o libgij.la -rpath /usr/lib gij.lo libgcj.la) /home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/gcc/xgcc -shared-libgcc -B/home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/gcc/ -nostdinc++ -L/home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/i686-pld-linux/libstdc++-v3/src -L/home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/i686-pld-linux/libstdc++-v3/src/.libs -B/usr/i686-pld-linux/bin/ -B/usr/i686-pld-linux/lib/ -isystem /usr/i686-pld-linux/include -isystem /usr/i686-pld-linux/sys-include -shared -nostdlib /usr/lib/gcc/i686-pld-linux/../../crti.o /home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/gcc/crtbeginS.o .libs/gij.o -L/home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/i686-pld-linux/libstdc++-v3/src -L/home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/i686-pld-linux/libstdc++-v3/src/.libs -L/usr/lib -lgcj ^^^^^^^^^^^^^^^^ [1] -L/home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/i686-pld-linux/libjava -L/home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/gcc -L/usr/lib/gcc/i686-pld-linux/../.. -lgcc_s -lc -lgcc_s /home/users/pluto/multimedia/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/gcc/crtendS.o /usr/lib/gcc/i686-pld-linux/../../crtn.o -Wl,-soname -Wl,libgij.so.0 -o .libs/libgij.so.0.0.0 /usr/bin/ld: cannot find -lgcj ^^^^^^^^^^^^^^^^^ [2] collect2: ld returned 1 exit status libtool: install: error: relink `libgij.la' with the above ^^^^^^^^^^^^^^^^^^^^^^^^^ [3] command before installing it (...) Finally [1,2], I need installed java libs to build a new gcc4. [1] should be rather "-L%{gcc_java_libs} -lgcj" instead of harcoded "-L/usr/lib -lgcj". [~/rpm/BUILD/gcc-4.0-20050102/obj-i686-pld-linux/i686-pld-linux/libjava/.libs] # ls boehm.o libgcj.lai lib-org-ietf-jgss.so lib-org-xml-sax.lai defineclass.o libgcj.so lib-org-ietf-jgss.so.6 lib-org-xml-sax.so exception.o libgcj.so.6 lib-org-ietf-jgss.so.6.0.0 lib-org-xml-sax.so.6 gcj-dbtool libgcj.so.6.0.0 lib-org-ietf-jgss.so.6.0.0T lib-org-xml-sax.so.6.0.0 gij libgij.a lib-org-w3c-dom.a lib-org-xml-sax.so.6.0.0T gij.o libgij.la lib-org-w3c-dom.la link.o grmic libgij.lai lib-org-w3c-dom.lai posix.o grmiregistry libgij.so lib-org-w3c-dom.so posix-threads.o interpret.o libgij.so.0 lib-org-w3c-dom.so.6 prims.o jni.o libgij.so.0.0.0U lib-org-w3c-dom.so.6.0.0 verify.o ^^^ U means relink failed. jv-convert lib-org-ietf-jgss.a lib-org-w3c-dom.so.6.0.0T libgcj.a lib-org-ietf-jgss.la lib-org-xml-sax.a libgcj.la lib-org-ietf-jgss.lai lib-org-xml-sax.la
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18909