[PATCH v2] Improve building with LTO

Dmitry V. Levin ldv@altlinux.org
Tue Nov 9 09:09:59 GMT 2021


On Tue, Nov 09, 2021 at 10:04:57AM +0100, Martin Liška wrote:
> On 11/9/21 09:58, Dmitry V. Levin wrote:
> > Yes, but those who build elfutils with -flto are likely using
> > -ffat-lto-objects if they build static libraries.
> 
> Yes, I can confirm that we do that as openSUSE, we actually build with:
> 
> -flto -flto-partition=none -Wno-error=stack-usage= -ffat-lto-objects

After updating to commit elfutils-0.185-76-g039f427a you can safely drop
"-flto-partition=none" and "-Wno-error=stack-usage=" parts.


-- 
ldv


More information about the Elfutils-devel mailing list