[Bug c++/43601] Enormous increase in DLL object files size in 4.5

xunxun1982 at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 16 07:33:00 GMT 2011


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.



More information about the Gcc-bugs mailing list