After correct bootstrapping of the compiler (C, C++ and Java), make install gives the following error, leaving the Java installation in a broken state:
Making install in midi-alsa make[6]: Entering directory `/root/gccbuild/i686-pc-linux-gnu/libjava/classpath/native/jni/midi-alsa' make[7]: Entering directory `/root/gccbuild/i686-pc-linux-gnu/libjava/classpath/native/jni/midi-alsa' make[7]: Nothing to be done for `install-exec-am'. test -z "/usr/lib/classpath" || mkdir -p -- "/usr/lib/classpath" /bin/sh ../../../libtool --mode=install /usr/bin/install -c 'libgjsmalsa.la' '/usr/lib/classpath/libgjsmalsa.la' /usr/bin/install -c .libs/libgjsmalsa.so.0.0.0 /usr/lib/classpath/libgjsmalsa.so.0.0.0 (cd /usr/lib/classpath && rm -f libgjsmalsa.so.0 && ln -s libgjsmalsa.so.0.0.0 libgjsmalsa.so.0) (cd /usr/lib/classpath && rm -f libgjsmalsa.so && ln -s libgjsmalsa.so.0.0.0 libgjsmalsa.so) /usr/bin/install -c .libs/libgjsmalsa.lai /usr/lib/classpath/libgjsmalsa.la /usr/bin/install -c .libs/libgjsmalsa.a /usr/lib/classpath/libgjsmalsa.a $old_postinstall_cmds ../../../libtool: line 5379: $old_postinstall_cmds~ranlib: command not found make[7]: *** [install-nativelibLTLIBRARIES] Error 127 make[7]: Leaving directory `/root/gccbuild/i686-pc-linux-gnu/libjava/classpath/native/jni/midi-alsa' make[6]: *** [install-am] Error 2 make[6]: Leaving directory `/root/gccbuild/i686-pc-linux-gnu/libjava/classpath/native/jni/midi-alsa' make[5]: *** [install-recursive] Error 1 make[5]: Leaving directory `/root/gccbuild/i686-pc-linux-gnu/libjava/classpath/native/jni' make[4]: *** [install-recursive] Error 1 make[4]: Leaving directory `/root/gccbuild/i686-pc-linux-gnu/libjava/classpath/native' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/root/gccbuild/i686-pc-linux-gnu/libjava/classpath' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/root/gccbuild/i686-pc-linux-gnu/libjava' make[1]: *** [install-target-libjava] Error 2 make[1]: Leaving directory `/root/gccbuild' make: *** [install] Error 2 The gcc -v command givers the following output: Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.1.2/configure --enable-shared --enable-static --disable-nls --with-gnu-as --with-gnu-ld --enable-threads=posix --enable-__cxa_atexit --enable-cpp --enable-languages=java --enable-libssp --enable-checking=release --enable-libgcj --disable-libgcj-multifile --with-system-zlib --enable-java-gc=boehm --prefix=/usr Thread model: posix gcc version 4.1.2 Built with the following make command: make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap Note that GCC 4.1.1 compiles and install well, on the same system (a Fedora Core 4 distribution) -- Summary: Installation error Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rperini at email dot it GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30862