On 10/21/21 4:55 PM, Michael Catanzaro wrote:
On Fri, Oct 22 2021 at 12:38:20 AM +0100, Tom Hughes <t...@compton.nu> wrote:
Is there a reason for using gold? Maybe the default bfd linker would
manage to use less memory?

I will try with ld.bfd to see if that does any better. I don't remember for 
sure why WebKit prefers ld.gold, it's either to reduce RAM used or else to link 
faster, one or the other.


You could also try linking with lld, which is supposed to use less resources 
than
ld.bfd.

To do this, you need to add -fuse-ld=lld  -Wl,--build-id=sha1 to the linker 
flags.

-Tom


_______________________________________________
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

Reply via email to