From: "Gang He" <ghe@suse.com>
To: linux-lvm@redhat.com, zkabelac@redhat.com
Subject: Re: [linux-lvm] Does LVM2 support building with LTO enablement?
Date: Tue, 14 May 2019 03:02:36 -0600 [thread overview]
Message-ID: <5CDA842C020000F900065867@prv1-mh.provo.novell.com> (raw)
In-Reply-To: <59ef89f8-9642-4455-cef0-450816eace0d@redhat.com>
Hi Zdenek,
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.
Thanks
Gang
>>> On 2019/5/14 at 16:00, in message
<59ef89f8-9642-4455-cef0-450816eace0d@redhat.com>, Zdenek Kabelac
<zkabelac@redhat.com> wrote:
> 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
prev parent reply other threads:[~2019-05-14 9:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-10 3:00 [linux-lvm] Does LVM2 support building with LTO enablement? Gang He
2019-05-14 6:25 ` Gang He
2019-05-14 8:00 ` Zdenek Kabelac
2019-05-14 9:02 ` Gang He [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5CDA842C020000F900065867@prv1-mh.provo.novell.com \
--to=ghe@suse.com \
--cc=linux-lvm@redhat.com \
--cc=zkabelac@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).