-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
runtime: deadlock in cmd/dist on darwin-amd64 #13664
Comments
|
cc @rsc |
I suspect this is something about an old dist building a new runtime with dependencies (@michaelmatloob's stuff). Oddly some of the release builds succeeded, making me think it's a builder configuration/environment problem. Yet the main builders using the same configs succeed. |
It happens when building the race detector:
|
Hah, this is due to a old workaround in x/build/cmd/release for old b.logf("Building race detector.")
// Because on release branches, go install -a std is a NOP,
// we have to resort to delete pkg/$GOOS_$GOARCH, install -race,
// and then reinstall std so that we're not left with a slower,
// race-enabled cmd/go, etc.
if err := client.RemoveAll(path.Join(goDir, "pkg", b.OS+"_"+b.Arch)); err != nil {
return err
}
if err := runGo("tool", "dist", "install", "runtime"); err != nil {
return err
}
if err := runGo("install", "-race", "std"); err != nil {
return err
}
if err := runGo("install", "std"); err != nil {
return err
} |
This error occurred while building the go1.6 beta release:
$ release -user release -version go1.6beta1 -rev d0f472e99ad31ef3aa842800eff9861dab4778de -tools master -skip_tests
cc @aclements @bradfitz
The text was updated successfully, but these errors were encountered: