I’m not very familiar with mold’s pros and cons other than its speed,
but I think that architecture limitations[1] will limit widespread
adoption for the time being:
||
# mold can currently produce native binaries for x86, aarch64 and
riscv64 only
ExclusiveArch: x86_64 aarch64 riscv64
I think a fast linker is a huge benefit in incremental builds while
developing software, where the final link often massively dominates the
build time after changing a handful of sources.
In RPM packaging, of course, everything is built from scratch, usually
with LTO, and a package that takes a minute to link probably takes an
hour to build. While any work that can be saved in an RPM build is
helpful, I think the gains from a fast linker are likely to be much less
dramatic here.
[1] https://src.fedoraproject.org/rpms/mold/blob/rawhide/f/mold.spec#_24
On 3/2/22 12:37, Mattia Verga via devel wrote:
disclaimer: I'm a real noob about this topic, so forgive me if I'm
starting a useless discussion.
I came across 'mold' project [1], which is a GNU Gold / LLVM lld
replacement with multi-core support. Accordingly to upstream
presentation, it seems to have far better performances than lld,
especially when building big projects... so I just want to ask if anyone
already knows it, if we can make use of it in Koji or if there already
is a plan to test its adoption. I see it's already packaged in Fedora.
Mattia
[1] https://github.com/rui314/mold
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure