This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/43601] Enormous increase in DLL object files size in 4.5
- From: "xunxun1982 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Mar 2011 06:53:58 +0000
- Subject: [Bug c++/43601] Enormous increase in DLL object files size in 4.5
- Auto-submitted: auto-generated
- References: <bug-43601-4@http.gcc.gnu.org/bugzilla/>
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.