On Mon, Oct 12, 2026 at 06:50:08AM +0300, Benson Muite wrote:
> > We use it in webkitgtk already:
> > https://src.fedoraproject.org/rpms/webkitgtk/blob/rawhide/f/webkitgtk.spec
> >
> >
> 
> This results in a slower build time since fewer cores are used.  This
> particular package also fully disables LTO on i686:
> https://src.fedoraproject.org/rpms/webkitgtk/blob/rawhide/f/webkitgtk.spec#_18
> possibly thin LTO would be helpful to use instead to allow for some
> performance optimizations.

I highly doubt that would help.
With fat LTO, compilation is normal compilation with some LTO streaming,
generally it shouldn't take much more compile time memory than non-LTO
compilation except for the memory for the LTO data sections.
I believe webkitgtk problem is compile time memory during linking which
has the exact same memory problem for fat as for non-fat LTO, i686 has
the hard 4GiB - epsilon virtual memory limit and if some partition is too
large, it simply doesn't fit anymore.
While for the compilation step you'd need to have some single source file
which would run into the 4GiB memory limits, that is also possible but much
less likely.

        Jakub

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to