This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/47891] GCC 4.6/4.7 LTO not worked reliable on Windows target
- From: "dongsheng.song at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 Mar 2011 08:01:35 +0000
- Subject: [Bug lto/47891] GCC 4.6/4.7 LTO not worked reliable on Windows target
- Auto-submitted: auto-generated
- References: <bug-47891-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47891
--- Comment #7 from Dongsheng Song <dongsheng.song at gmail dot com> 2011-03-15 08:01:34 UTC ---
(In reply to comment #6)
> > Since gcc 4.6 branched, gcc trunk and 4.6 branch both have this issue now.
>
> It is not a GCC bug, it's a Binutils bug. The patch
> <http://sourceware.org/ml/binutils/2011-02/msg00337.html> fixes this issue, but
> it is not approved yet.
Yes, when I use hjl/lto-mixed branch of binutils:
[[[
commit fb6867660be917535a62b35e554dc222a74d92a5
Merge: e3654c4 a0a68e5
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sat Mar 12 09:29:46 2011 -0800
Merge remote-tracking branch 'hjl/intel/lto-mixed' into hjl/lto-mixed
]]]
gcc 4.6 on mingw-w64 (32 bit and 64 bit) target works fine.