Can LTO minor version be updated in backward compatible way ?

Andi Kleen ak@linux.intel.com
Wed Jul 17 17:30:00 GMT 2019


Romain Geissler <romain.geissler@amadeus.com> writes:
>
> I have no idea of the LTO format and if indeed it can easily be updated
> in a backward compatible way. But I would say it would be nice if it
> could, and would allow adoption for projects spread on many teams
> depending on each others and unable to re-build everything at each
> toolchain update.

Right now any change to an compiler option breaks the LTO format
in subtle ways. In fact even the minor changes that are currently
done are not frequent enough to catch all such cases.

So it's unlikely to really work.

-Andi



More information about the Gcc mailing list