http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49992
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-08-06 16:29:58 UTC --- On x86_64-apple-darwin10 I get the same bootstrap failure: ... mv -f Tlto-wrapper lto-wrapper gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -o gengtype gengtype.o gengtype-lex.o gengtype-parse.o gengtype-state.o version.o errors.o libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a -lintl -L/opt/sw64/lib -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ld: duplicate symbol _trim_filename in libcommon.a(diagnostic.o) and errors.o collect2: ld returned 1 exit status make[3]: *** [gengtype] Error 1 make[3]: *** Waiting for unfinished jobs.... rm gcov.pod gfdl.pod cpp.pod fsf-funding.pod gcc.pod make[2]: *** [all-stage1-gcc] Error 2 make[1]: *** [stage1-bubble] Error 2 make: *** [all] Error 2 with the following configure ../p_work/configure --prefix=/opt/gcc/gcc4.7p --enable-languages=c,c++,lto,fortran --with-gmp=/opt/sw64 --with-libiconv-prefix=/opt/sw64 --with-system-zlib --enable-checking=release --with-cloog=/opt/sw64 --enable-cloog-backend=isl --enable-lto but not with ../work/configure --prefix=/opt/gcc/gcc4.7w --enable-languages=c,c++,fortran,objc,obj-c++,java,lto --with-gmp=/opt/sw64 --with-libiconv-prefix=/opt/sw64 --with-system-zlib --with-cloog=/opt/sw64 --enable-cloog-backend=isl --enable-lto Apparently the key is "--enable-checking=something".