Re: Link time optimization for LTO/x86
From: Sami Tolvanen
Date: Wed Nov 29 2017 - 18:10:01 EST
Hi Andi,
On Mon, Nov 27, 2017 at 01:34:02PM -0800, Andi Kleen wrote:
> This is an updated version of my older LTO patchkit for gcc/x86
> This version doesn't need special binutils, but requires gcc 5+.
> It also is compatible with near all options (except MODVERSIONS)
Would you mind changing the config option prefix to LTO_GCC, for
example? It looks like there are a few places where gcc LTO needs
to be disabled, but clang LTO works fine, and vice versa.
My earlier clang LTO patches also had a solution for MODVERSIONS,
which might work with gcc as well.
Sami