# libtool --version |head -n1 ltmain.sh (GNU libtool) 2.2.2 # make [...] make[5]: Entering directory `/build-gcc-i586/BUILD/gcc-4.3.1/build/i586-ark-linux/libjava/classpath/native/fdlibm' if /bin/sh ../../libtool --tag=CC --mode=compile /build-gcc-i586/BUILD/gcc-4.3.1/build/./gcc/xgcc -B/build-gcc-i586/BUILD/gcc-4.3.1/build/./gcc/ -B/usr/i586-ark-linux/bin/ -B/usr/i586-ark-linux/lib/ -isystem /usr/i586-ark-linux/include -isystem /usr/i586-ark-linux/sys-include -DHAVE_CONFIG_H -I. -I../../../../../../libjava/classpath/native/fdlibm -I../../include -O2 -g -O2 -march=i586 -mtune=i686 -fweb -frename-registers -fno-strict-aliasing -MT dtoa.lo -MD -MP -MF ".deps/dtoa.Tpo" -c -o dtoa.lo ../../../../../../libjava/classpath/native/fdlibm/dtoa.c; \ then mv -f ".deps/dtoa.Tpo" ".deps/dtoa.Plo"; else rm -f ".deps/dtoa.Tpo"; exit 1; fi ../../libtool: line 154: CDPATH: command not found libtool: Version mismatch error. This is libtool 2.1a, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.1a libtool: and run autoconf again. make[5]: *** [dtoa.lo] Error 1 make[5]: Leaving directory `/build-gcc-i586/BUILD/gcc-4.3.1/build/i586-ark-linux/libjava/classpath/native/fdlibm' make[4]: *** [all-recursive] Error 1 The configure script should probably detect this and fix aclocal.m4...
You should not need libtool to build gcc. I think one of the time stamps on the generated files is messed up. How did you configure GCC? How did you invoke make to build GCC?
This has been waiting for feedback for more than a year. Feel free to reopen with more details if you still see this issue. I'm closing it as worksforme.