I try to use gcc version 4.7.0 20110911 (experimental) to build gcc trunk, and it also has the problem, but shows a different error:
---------------------------------------------------------------------------- i686-w64-mingw32-gcc -pipe -g0 -O2 -fomit-frame-pointer -finline-functions -minline-all-stringops -flto -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 -Wl,-O1 -Wl,--as-needed -s -Wl,--large-address-aware -flto -fuse-linker-plugin -o cc1.exe c-lang.o c-family/stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o msformat-c.o default-c.o \ cc1-checksum.o main.o libbackend.a libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lstdc++ -lcloog-isl -lisl -lppl_c -lppl -lgmpxx -lmpc -lmpfr -lgmp -lstdc++ -lz lto1.exe: internal compiler error: in lto_reissue_options, at lto-opts.c:414 Please submit a full bug report, with preprocessed source if appropriate. See<http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: e:\MyPack\MinGW\bin\i686-w64-mingw32-gcc.exe returned 1 exit status e:/mypack/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.0/../../../../i686-w64-mingw32/bin/ld.exe: lto-wrapper failed collect2.exe: error: ld returned 1 exit status make[2]: *** [cc1.exe] Error 1 make[2]: Leaving directory `/e/new/gcc/gcc4.6/build/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/e/new/gcc/gcc4.6/build' make: *** [all] Error 2 -- Best Regards, PcX