Re: final link failed: memory exhausted on armv7l

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

 



On Wed, Oct 13 2021 at 06:06:50 PM +0200, Björn 'besser82' Esser <besser82@xxxxxxxxxxxxxxxxx> wrote:
What you describe as lto requires a lot of memory is caused by building
lto along with non-lto in the same object file requires significantly
more memory.  For that reason one can disable building non-lto along
with lto using the `-f-no-fat-lto-objects` compiler flags instead of
`-f-fat-lto-objects`, if and *only IF* the package in question does
*NOT* ship static libraries.

More background: this default is, of course, backwards. Fedora packages do not generally ship static libraries, so it makes more sense for the few packages that do to opt-in instead of opt-out. Jeff proposed a change to improve that here:

https://fedoraproject.org/wiki/Changes/LTOBuildImprovements

but he left Red Hat, so it hasn't been implemented.

Michael

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux