-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
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
Use gold as the linker on Linux #14
Comments
Curious to know what the problem was with lld. There are community members pushing for more use of lld, and some Linux distros only have lld installed by default too. |
@neonichu might remember more details as to the specific issues here. |
Unfortunately, I don't remember, what I noted down at the time was this:
So I am assuming I was running into some of the problems described in that thread, but wasn't sure myself what it was concretely. |
I think that we should favour the system linker - gold is now officially deprecated, and BFD is able to link the swift libraries. We should transition back towards using the system linker and let the Linux distribution decide whether that should be gold, bfd, or lld (or even mold or wild). Continuing to use |
@compnerd Seems reasonable. I copied this issue from a list we'd come up with a while back, so it's likely based on outdated observations. |
Doesn’t seem like using lld really works, so we need to use gold. This is also the status quo for Linux builds since swift-driver will pass
-fuse-ld=gold
if used as linker driver.The text was updated successfully, but these errors were encountered: