[Bug lto/62083] lto1: fatal error: bytecode stream generated with LTO version 2.2 instead of the expected 3.0

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 10 16:32:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62083

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
It means that you try to use an archive, that was build with -flto
-fno-fat-lto-objects and an older compiler.

(The same issue happened to me a few days ago when I tried 
to build Firefox with -flto and gcc trunk. libcrmf.a
from the nss library was build with -flto and gcc-4.9. 
Therefore libxul link failed with the "bytecode stream" error.)

But the error message could be improved, because the user
currently has no idea where the old bytecode stream is coming from.



More information about the Gcc-bugs mailing list