[linux-lvm] Does LVM2 support building with LTO enablement?
ghe at suse.com
Tue May 14 09:02:36 UTC 2019
The main motivation is to build the most opensuse rpms with LTO enablement, LVM2 is in the list.
I will try to compile the package with LTO enablement too.
Of course, if LVM2 does not support building with LTO enablement thoroughly, I think we need not to try.
>>> On 2019/5/14 at 16:00, in message
<59ef89f8-9642-4455-cef0-450816eace0d at redhat.com>, Zdenek Kabelac
<zkabelac at redhat.com> wrote:
> Dne 14. 05. 19 v 8:25 Gang He napsal(a):
>> Hello Guys,
>> Anybody touched this area?
> I'll take a look - although it looks like the problem is possibly with libaio
> Is libaio usable with -flto ?
> ATM libaio is mandatory for building lvm2.
> BTW - why do you need to use this option - lvm2 isn't really CPU cycle bounded
> - if there is something slow it's typically some design issue - -flto will
> really improve things here...
More information about the linux-lvm