You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
› ./make.bash
Building Go cmd/dist using /home/vagrant/.goenv/versions/1.14.6. (go1.14.6 linux/amd64)
Building Go toolchain1 using /home/vagrant/.goenv/versions/1.14.6.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
panic: invalid argument
goroutine 1 [running]:
bootstrap/cmd/link/internal/ld.Main(0x88e2a0, 0x20, 0x20, 0x1, 0x7, 0x10, 0x0, 0x0, 0x6c77b0, 0x1b, ...)
/vagrant/github.com/golang/go/src/cmd/link/internal/ld/main.go:319 +0x1cae
main.main()
/vagrant/github.com/golang/go/src/cmd/link/main.go:68 +0x163
go tool dist: FAILED: /vagrant/github.com/golang/go/pkg/tool/linux_amd64/link -extld=gcc -o /vagrant/github.com/golang/go/pkg/tool/linux_amd64/go_bootstrap /tmp/go-tool-dist-544284882/cmd/go/_go_.a: exit status 2
Building Go toolchain2 using go_bootstrap and Go toolchain1.
go tool dist: FAILED: /vagrant/github.com/golang/go/pkg/tool/linux_amd64/go_bootstrap install -gcflags=all= -ldflags=all= -i cmd/asm cmd/cgo cmd/compile cmd/link: fork/exec /vagrant/github.com/golang/go/pkg/tool/linux_amd64/go_bootstrap: exec format error
The text was updated successfully, but these errors were encountered:
Weird, not sure why that's happening.
You're trying to build 1.14.6 using 1.14.6 as the bootstrap compiler. Any chance the bootstrap compiler is the actual same directory as the directory you're trying to build? That might explain it.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes, 5cc030a
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
build golang from source
What did you expect to see?
success
What did you see instead?
The text was updated successfully, but these errors were encountered: