cmd/link: -buildmode=shared fails to initialize some global data #61973
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
Milestone
Running these commands with tip fails:
A similar failure occurs if I add
to cmd/cgo/internal/testshared/testdata/depBase/dep.go. With that addition, the panic occurs running
go test cmd/cgo/internal/testshared
.It appears that at least in some cases global variables are not being initialized when using
-buildmode=shared
.The text was updated successfully, but these errors were encountered: