Closed Keithcat1 closed 3 years ago
Hi @Keithcat1, thanks for submitting the pull request! Could you explain why we need to remove the flag? Is Go going to use LLD as the default linker? If so, could you please share the links?
Otherwise, perhaps this can be implemented via a build tag?
LLD won't become the default linker for GO as far as I know, however I like to use it because it speeds up compilation times. --no-undefined needs to be removed because LLD crashes if it gets this flag. See #464
Ahh I see. If @gen2brain said it's okay, then I will merge this pull request. Thanks for bringing the old issue back into attention! I will also back-port this back to v0.4.x.
…port for linking with LLVM lld, but LLD its self doesn't accept --no-undefined