gmake[4]: Entering directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin'
/opt/csw/bin/bash ./libtool --tag=CC --tag=disable-static --mode=compile gcc -m64 -g -DHAVE_CONFIG_H -I. -I../../gcc-4.7.2/lto-plugin -I../../gcc-4.7.2/lto-plugin/../include -DHAVE_CONFIG_H -I/usr/local/include -Wall -g -fkeep-inline-functions -c -o lto-plugin.lo ../../gcc-4.7.2/lto-plugin/lto-plugin.c
./libtool: line 519: CDPATH: command not found
./libtool: line 923: libtool: ignoring unknown tag disable-static: command not found
libtool: Version mismatch error. This is libtool 2.2.7a, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a
libtool: and run autoconf again.
gmake[4]: *** [lto-plugin.lo] Error 63
gmake[4]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/local/build/gcc-4.7.2_SunOS5.10_sparcv9.002/lto-plugin'
gmake[2]: *** [all-stage1-lto-plugin] Error 2
gmake[2]: *** Waiting for unfinished jobs....