public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: Jeff Law <law@redhat.com>, Andi Kleen <ak@linux.intel.com>,
	Romain Geissler <romain.geissler@amadeus.com>
Cc: gcc@gcc.gnu.org
Subject: Re: Can LTO minor version be updated in backward compatible way ?
Date: Tue, 23 Jul 2019 08:49:00 -0000	[thread overview]
Message-ID: <c25ab0a8-1e00-89b4-099c-05d6e1cf9a46@suse.cz> (raw)
In-Reply-To: <0c98ab44-fabd-fa46-267d-2710cbc21938@redhat.com>

On 7/22/19 4:31 PM, Jeff Law wrote:
> On 7/22/19 8:25 AM, Martin Liška wrote:
>> On 7/17/19 8:10 PM, Jeff Law wrote:
>>> On 7/17/19 11:29 AM, Andi Kleen wrote:
>>>> Romain Geissler <romain.geissler@amadeus.com> writes:
>>>>>
>>>>> I have no idea of the LTO format and if indeed it can easily be updated
>>>>> in a backward compatible way. But I would say it would be nice if it
>>>>> could, and would allow adoption for projects spread on many teams
>>>>> depending on each others and unable to re-build everything at each
>>>>> toolchain update.
>>>>
>>>> Right now any change to an compiler option breaks the LTO format
>>>> in subtle ways. In fact even the minor changes that are currently
>>>> done are not frequent enough to catch all such cases.
>>>>
>>>> So it's unlikely to really work.
>>> Right and stable LTO bytecode really isn't on the radar at this time.
>>>
>>> IMHO it's more important right now to start pushing LTO into the
>>> mainstream for the binaries shipped by the vendors (and stripping the
>>> LTO bits out of any static libraries/.o's shipped by the vendors).
>>>
>>>
>>> SuSE's announcement today is quite ironic. 
>>
>> Why and what is ironic about it?
> Sorry, you'd have to have internal context -- we'd been discussing it
> within the Red Hat team for Fedora 32 the previous day.  One of the
> questions that came up was whether or not any other major distributor
> was shipping with LTO enabled :-)

According to what I know, OpenMandriva should be using LTO:
https://www.openmandriva.org/en/news/article/openmandriva-lx-4-0-rc-released
but the package building machinery is closed, so I can't confirm that.

One another example is Gentoo:
https://github.com/InBetweenNames/gentooLTO
but it's up to users preferences.

So that I consider openSUSE Tumbleweed as a first one :P

Martin


> 
> 
> Jeff
> 

  reply	other threads:[~2019-07-23  8:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-17 14:12 Romain Geissler
2019-07-17 16:15 ` Michael Matz
2019-07-17 17:30 ` Andi Kleen
2019-07-17 18:10   ` Jeff Law
2019-07-18 16:13     ` Florian Weimer
2019-07-18 23:00       ` [EXT] " Romain Geissler
2019-07-19  8:30         ` Florian Weimer
2019-07-22  7:52           ` Richard Biener
2019-07-22 11:15             ` Florian Weimer
2019-07-22 11:20               ` Richard Biener
2019-07-22 14:25     ` Martin Liška
2019-07-22 14:31       ` Jeff Law
2019-07-23  8:49         ` Martin Liška [this message]
2019-07-23 13:17           ` Jeff Law
2019-07-22 17:57     ` Jeffrey Walton
2019-07-18 11:40   ` Richard Biener

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=c25ab0a8-1e00-89b4-099c-05d6e1cf9a46@suse.cz \
    --to=mliska@suse.cz \
    --cc=ak@linux.intel.com \
    --cc=gcc@gcc.gnu.org \
    --cc=law@redhat.com \
    --cc=romain.geissler@amadeus.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 read-only IMAP folder(s) and NNTP newsgroup(s).