We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
md5: 643882fdd62b6ee0f284280ae9954f43
Issue Description:
I'm trying to compile swift on my archlinux box. And I found that link step of swift compiler binary for debug build need lots of time.
In my case, ld command was running over 3 hours, but it could not complete link. and I could see ld consumed all system memories,
But after switched to gold, link step was completed in 3-4 minutes.
I'm using.. ArchLinux binutils 2.25.1 (gold 1.11) System Memory : 16Gb Swap Memory : 16Gb
The text was updated successfully, but these errors were encountered:
This already exists, you can use `../utils/build-script .. – --use-gold-linker`.
Sorry, something went wrong.
Comment by Ron Pinz (JIRA)
Another method while utilizing presets is by adding use-gold-linker=1 to the relevant preset in swift/utils/build-presets.ini.
use-gold-linker=1
swift/utils/build-presets.ini
No branches or pull requests
Additional Detail from JIRA
md5: 643882fdd62b6ee0f284280ae9954f43
Issue Description:
I'm trying to compile swift on my archlinux box.
And I found that link step of swift compiler binary for debug build need lots of time.
In my case, ld command was running over 3 hours, but it could not complete link. and I could see ld consumed all system memories,
But after switched to gold, link step was completed in 3-4 minutes.
I'm using..
ArchLinux
binutils 2.25.1 (gold 1.11)
System Memory : 16Gb
Swap Memory : 16Gb
The text was updated successfully, but these errors were encountered: