[Bug general/27367] readelf: invalid loclists data with -ffat-lto-objects

2021-11-09 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27367 Mark Wielaard changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libdw/28573] New: Provide an dwarf_begin interface to open (single-file) DWO or GNU_LTO Dwarf subset

2021-11-09 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28573 Bug ID: 28573 Summary: Provide an dwarf_begin interface to open (single-file) DWO or GNU_LTO Dwarf subset Product: elfutils Version: unspecified Status: NEW

Re: [PATCH v2] Improve building with LTO

2021-11-09 Thread Mark Wielaard
Hi Martin, On Tue, 2021-11-09 at 14:31 +0100, Martin Liška wrote: > > What do the test results look like? Do they all PASS with -ffat- > > lto-objects? > > > > Could you try the proposed patch for > > https://sourceware.org/bugzilla/show_bug.cgi?id=27367 > > https://sourceware.org/pipermail/elfut

Re: [PATCH v2] Improve building with LTO

2021-11-09 Thread Martin Liška
On 11/9/21 14:31, Martin Liška wrote: Correct, I'm not using: s/not/now

Re: [PATCH v2] Improve building with LTO

2021-11-09 Thread Martin Liška
On 11/9/21 12:45, Mark Wielaard wrote: Hi Martin, 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

Re: [PATCH v2] Improve building with LTO

2021-11-09 Thread Mark Wielaard
Hi Martin, 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 buil

Re: [PATCH v2] Improve building with LTO

2021-11-09 Thread Martin Liška
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

Re: [PATCH v2] Improve building with LTO

2021-11-09 Thread Dmitry V. Levin
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 wit

Re: [PATCH v2] Improve building with LTO

2021-11-09 Thread Martin Liška
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

Re: [PATCH v2] Improve building with LTO

2021-11-09 Thread Dmitry V. Levin
Hi Mark, On Tue, Nov 09, 2021 at 12:18:31AM +0100, Mark Wielaard wrote: > Hi Dmitry, > > On Mon, Nov 08, 2021 at 01:02:28PM +0300, Dmitry V. Levin wrote: > > > Thanks. This patch was indeed one reason I kept postponing the release, > > > because I didn't have have time to properly review it. > >