[Bug lto/49677] GCC 4.6.0 LTO files not compatible with GCC 4.6.1

2012-01-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49677

Richard Guenther  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE

--- Comment #3 from Richard Guenther  2012-01-10 
15:05:16 UTC ---
The issue was fixed differently for trunk.  Dup.

*** This bug has been marked as a duplicate of bug 44965 ***


[Bug lto/49677] GCC 4.6.0 LTO files not compatible with GCC 4.6.1

2011-10-30 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49677

Andi Kleen  changed:

   What|Removed |Added

 CC||andi-gcc at firstfloor dot
   ||org

--- Comment #2 from Andi Kleen  2011-10-30 
16:14:06 UTC ---
This is a dup of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44965
Someone added a new option

I posted a patch to handle this specific case, but it wasn't accepted.
http://gcc.gnu.org/ml/gcc-patches/2010-10/msg00098.html

I believe there's an effort underway now to rewrite the lto option code which
will likely fix the problems.

Maybe the old patch is still a good idea for 4.6.x?


[Bug lto/49677] GCC 4.6.0 LTO files not compatible with GCC 4.6.1

2011-08-21 Thread xunxun1982 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49677

PcX  changed:

   What|Removed |Added

 CC||xunxun1982 at gmail dot com

--- Comment #1 from PcX  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.