Skip to content
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

gccgo: docs should not recommend gold (deprecated) as default #71923

Open
dilyanpalauzov opened this issue Feb 24, 2025 · 3 comments
Open

gccgo: docs should not recommend gold (deprecated) as default #71923

dilyanpalauzov opened this issue Feb 24, 2025 · 3 comments
Labels
Documentation Issues describing a change to documentation. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@dilyanpalauzov
Copy link

Building GCCGO suggests at https://go.dev/doc/install/gccgo#Gold to use the gold linker, as it supports small discontiguous stack for goroutines, implying correctly that ld.bfd does not support this stack form.

Please update the above link to state that the gold linker is now deprecated, and include a statement for the mold, ld.lld, ld.bfd linkers, if they support small discontiguous stack for goroutines.

@gopherbot gopherbot added this to the Gccgo milestone Feb 24, 2025
@dilyanpalauzov
Copy link
Author

I do not think that the suggestion to install the deprecated gold linker as default linker (ld executable), by passing --enable-gold=default is a good idea.

@gabyhelp gabyhelp added the ToolProposal Issues describing a requested change to a Go tool or command-line program. label Feb 24, 2025
@seankhliao seankhliao changed the title gold linker is deprecated, but suggested for gccgo gccgo: docs should not recommend gold (deprecated) as default Feb 24, 2025
@gopherbot gopherbot added the Documentation Issues describing a change to documentation. label Feb 24, 2025
@prattmic prattmic added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. and removed ToolProposal Issues describing a requested change to a Go tool or command-line program. labels Feb 24, 2025
@prattmic
Copy link
Member

cc @ianlancetaylor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Issues describing a change to documentation. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants