-
Notifications
You must be signed in to change notification settings - Fork 18k
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
cmd/go: go build panics with empty old build constraints #44487
Comments
cc @rsc |
Change https://golang.org/cl/296155 mentions this issue: |
I'm labelling this as a Release Blocker because we have packages (like github.com/prometheus/node_exporter, which I just checked still crashes the compiler at the latest commit) that cannot be build on go1.17 due to this bug:
|
Weekly check-in: this needs to be investigated before beta 1. |
Change https://golang.org/cl/320829 mentions this issue: |
golang/go#44487 was likely causing tip to fail with a panic for the go-fuzz travis tests, perhaps due to the `// +build` in slides/crash.go and elsewhere. Also update the tested versions of Go.
golang/go#44487 was likely causing tip to fail with a panic for the go-fuzz travis tests, perhaps due to the `// +build` in slides/crash.go and elsewhere. Also update the tested versions of Go.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No, tip only.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
I'm not sure about build constraints migration behavior, but
go1.16 and go1.15 says
What did you see instead?
but using new build constraints
go build
saysThe text was updated successfully, but these errors were encountered: