[PATCH v2] Improve building with LTO

Martin Liška mliska@suse.cz
Tue Nov 9 09:11:49 GMT 2021


On 11/9/21 10:09, Dmitry V. Levin wrote:
> 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.

Great, good news!

Martin
  



More information about the Elfutils-devel mailing list