Skip to content

Change Default Linker to Gold for AArch64 #20845

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

Merged
merged 1 commit into from
Nov 29, 2018
Merged

Change Default Linker to Gold for AArch64 #20845

merged 1 commit into from
Nov 29, 2018

Conversation

futurejones
Copy link
Contributor

For all the same reasons outlined in PR #19875
AArch64 also needs to default to the "Gold" linker.

@jrose-apple
Copy link
Contributor

I'm getting pretty convinced about the arguments in #19875 that BFD is a dead end (cc @jckarter). Thanks, Neil!

@swift-ci Please smoke test and merge

@jrose-apple jrose-apple self-assigned this Nov 28, 2018
@jckarter
Copy link
Contributor

Yeah, I don't know of any common platforms where gold wouldn't be available but BFD would.

@compnerd
Copy link
Member

@jckarter - windows is one! But, after the windows stuff, I really feel like just giving up and unifying on lld seems much easier and will allow us to enable the COMDAT on ELF as well.

@jrose-apple
Copy link
Contributor

lld sounds nice. :-) toolchains::Windows isn't a toolchains::GenericUnix, so this shouldn't matter there.

@jckarter
Copy link
Contributor

I agree, lld would be ideal, assuming it's mature enough and there aren't any showstopping bugs. We may however need to still maintain support for ld64 on Apple platforms.

@futurejones futurejones deleted the default-to-gold-linker branch December 7, 2019 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants