Re: Behaviour of GCC with flto probably bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/01/2014 05:17 PM, Erotavlas_turbo@xxxxxxxxx wrote:

So is not allowed to compile with one version and flto options and link with
an old version?

Yes, this is documented:

     The current implementation of LTO makes no attempt to generate
     bytecode that is portable between different types of hosts.  The
     bytecode files are versioned and there is a strict version check,
     so bytecode files generated in one version of GCC will not work
     with an older/newer version of GCC.

It seems that the version check does not actually work, which is a bug (please report it in Bugzilla). But LTO is really sensitive to compiler and library versions, so this will not solve your original problem.

--
Florian Weimer / Red Hat Product Security Team




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux