This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/49677] GCC 4.6.0 LTO files not compatible with GCC 4.6.1
- From: "xunxun1982 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 21 Aug 2011 15:33:07 +0000
- Subject: [Bug lto/49677] GCC 4.6.0 LTO files not compatible with GCC 4.6.1
- Auto-submitted: auto-generated
- References: <bug-49677-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49677
PcX <xunxun1982 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xunxun1982 at gmail dot com
--- Comment #1 from PcX <xunxun1982 at gmail dot com> 2011-08-21 15:33:07 UTC ---
I can confirm the error.
And I found that, if I update to a newer gcc, for example, gcc 4.6.2
(20110819), their LTO information will be not compatible.
It also will cause the errors :
lto1: error: bad value (generic) for -mtls-dialect= switch
lto-wrapper: /usr/bin/gcc returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: ld returned 1 exit status
In the end, I must recompile it using the newer gcc with LTO.