cmd/link: undefined builtin error with shared linkage + crypto/sha256 reference #43107
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Using tip/mainline.
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Given this Go program:
If you build it with shared linkage, as in the script below:
What did you expect to see?
Clean build
What did you see instead?
Build fails with error
2020/12/09 17:28:44 reference to undefined builtin "runtime.morestack_noctxt" from package "crypto/sha256"
Related CL https://go-review.googlesource.com/c/go/+/267881.
The text was updated successfully, but these errors were encountered: