public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@xry111.site>
To: LIU Hao <lh_mouse@126.com>,
	Licht Martin Werner <martin.licht@epfl.ch>,
	 gcc-help@gcc.gnu.org
Subject: Re: Do definitions in headers still help optimization?
Date: Sun, 14 Jan 2024 18:44:27 +0800	[thread overview]
Message-ID: <983ec6df61fbe35b760996a2633a16671f4fdd48.camel@xry111.site> (raw)
In-Reply-To: <a410824b-058d-44f1-ba5f-99254f610c77@126.com>

On Sat, 2024-01-13 at 01:58 +0800, LIU Hao wrote:
> 在 2024/1/13 0:01, Xi Ruoyao 写道:
> > And LTO cannot cross shared library boundary.  It even cannot cross
> > static library boundary if the static library is intended to be
> > distributed in binary form: a static library containing LTO bitcode
> > will just blow up if attempting to "link" against it using a different
> > compiler or even a different version of the compiler.  So LTO-enabled
> > distros build packages containing static libraries with -ffat-lto-
> > objects and then strip the LTO bitcode away from the static libraries.
> 
> I don't think that's the case for me. I'm building a shared library against only system libraries. 

I'm just complementing your points, not replacing.


-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University

      reply	other threads:[~2024-01-14 10:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-12 14:07 Licht Martin Werner
2024-01-12 14:49 ` LIU Hao
2024-01-12 16:01   ` Xi Ruoyao
2024-01-12 17:58     ` LIU Hao
2024-01-14 10:44       ` Xi Ruoyao [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=983ec6df61fbe35b760996a2633a16671f4fdd48.camel@xry111.site \
    --to=xry111@xry111.site \
    --cc=gcc-help@gcc.gnu.org \
    --cc=lh_mouse@126.com \
    --cc=martin.licht@epfl.ch \
    /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).