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

make.bash: should ignore GOOS & GOARCH when searching for default GOROOT_BOOTSTRAP #25962

Closed
bradfitz opened this issue Jun 19, 2018 · 1 comment
Labels
FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@bradfitz
Copy link
Contributor

See all the debugging comments from @agnivade in #25911.

make.bash should unset GOOS and GOARCH when running "go env GOROOT" to find the default GOROOT_BOOTSTRAP when it's not otherwise defined.

Otherwise the bootstrap toolchain might not have a known GOOS/GOARCH pair and say:

23:45:20-agniva-~/play/gosource/go/src$GOOS=js GOARCH=wasm ./make.bash
cmd/go: unsupported GOOS/GOARCH pair js/wasm
@bradfitz bradfitz added help wanted NeedsFix The path to resolution is known, but the work has not been done. labels Jun 19, 2018
@bradfitz bradfitz added this to the Unplanned milestone Jun 19, 2018
@gopherbot
Copy link
Contributor

Change https://golang.org/cl/119937 mentions this issue: make.bash: fix build js/wasm

@golang golang locked and limited conversation to collaborators Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

2 participants