-
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: can't build go distribution caused by #16272 and #16570 #17182
Comments
Previous build:
|
One more compilation. Why are there always new errors?
|
I have not seen similar reports from anyone else. Have you tried building on a different machine? |
Not yet |
But installation from |
@BoGeM I've hit a similar error to your first error, pulling the latest commit fixed it for me. Not sure what commit broke or fixed it though. |
@Thomasdezeeuw Yes, It's not because of commit. I can't build any version of Go. I see same error, but in different places. This is build of Go 1.4.3:
|
This issue started to occur after the update to macOS Sierra |
fwiw, I was able to compile and run tests successgully on macOS Sierra using 1.7.1 to bootstrap. Trying to use 1.4.3 to bootstrap resulted in similar looking errors, which I assume is due to these issues: #16352 (comment). From the paths displayed in the traceback it looks like you're using 1.4 to compile. Have you tried setting GOROOT_BOOTSTRAP? |
Hm, my GOROOT_BOOTSTRAP set to 1.4.3. I'll try set it to 1.7.1, but later |
Yes, everything works fine with GOROOT_BOOTSTRAP set to 1.7.1 |
as 1.4 currently fails to build golang/go#17182
Fuchsia's ninja build fails with panic "fatal error: MSpanList_Insert". This error occurs when the ninja build is trying to compile mojo clients. The failure occurs consistently after upgrading to MacOS Sierra. /usr/bin/env ../../mojo/public/tools/bindings/mojom_tool.py gen --src-root-path ../../ -I ../../ -I ../../ --output-dir /Users/shakeel/google/fuchsia/out/debug-x86-64/gen --no-gen-imports --generators legacy,c,go --gen-arg dart_ignore-package-annotations ../../mojo/public/interfaces/bindings/tests/versioning_test_client.mojom runtime stack: goroutine 1 [running]: |
How to set GOROOT_BOOTSTRAP to 1.7.1? |
Just set
|
@dixudx that advice is incorrect. @hogemon Please do not comment on closed issues. We don't the issue tracker to ask questions. Please see https://golang.org/wiki/Questions for good places to ask. Thanks. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.7.1 darwin/amd64
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/albert/go"
GORACE=""
GOROOT="/usr/local/opt/go/libexec"
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/wp/sytm29yd1d1dclmf01xgvqbw0000gn/T/go-build971136125=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
Just updated to macOS Sierra, if it makes sense
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
Trying to build go distribution
git clone https://go.googlesource.com/go godev cd godev/src ./all.bash
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: