http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43601
--- Comment #54 from PcX <xunxun1982 at gmail dot com> 2011-03-16 06:53:47 UTC --- (In reply to comment #53) > If I don't use LTO Optimization, Vadim Zeitlin's patch works well. > But if I use LTO Optimization, the compiling speed becomes vey slow, and the > linker stage fails. I will get the information: > > lto1.exe: out of memory allocating 1900552 bytes > lto-wrapper: g++ returned 1 exit status > ld.exe: lto-wrapper failed > collect2: ld returned 1 exit status > > mingw32-make: *** [wxmsw28u_gcc.dll] Error 1 BTW, I use gcc 4.6.