[PATCH v2] Improve building with LTO
Tue Nov 9 11:45:40 GMT 2021
On Tue, 2021-11-09 at 10:04 +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
> -flto -flto-partition=none -Wno-error=stack-usage= -ffat-lto-objects
As Dmitry pointed out you should now be able to drop both -flto-
partition=none an -Wno-error=stack-usage= (the linker will still warn,
but not error on the large stack-usage issues (we should probably still
fix them though).
What do the test results look like? Do they all PASS with -ffat-lto-
Could you try the proposed patch for
More information about the Elfutils-devel