Re: Do definitions in headers still help optimization?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux