[linux-lvm] Does LVM2 support building with LTO enablement?

Zdenek Kabelac zkabelac at redhat.com
Tue May 14 08:00:40 UTC 2019


Dne 14. 05. 19 v 8:25 Gang He napsal(a):
> Hello Guys,
> 
> Anybody touched this area?
> 
> Thanks
> Gang


Hi

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 not
really improve things here...

Zdenek




More information about the linux-lvm mailing list