-
Notifications
You must be signed in to change notification settings - Fork 355
Support for Go 1.3? #17
Comments
I've built the gox toolchain for 1.3 without a problem so Imagine this is something to do with your environment. I'm sorry I can't provide more info... please let me know if you do find a solution. |
I'm getting this same error. Edit: However it seems to work when I run with sudo. Does gox require special permissions? I've installed Go 1.3 through the go binary tarball, and unzipped into /usr/local/go |
https://gist.github.com/anonymous/19cc11a7e3e6d427e3f3 same for me probably because we used the pkg from golang on mac instead of homebrew |
|
Got the same error today, it was sudo. Shouldn't it in the document i think? |
Same error for me, Go1.3 https://gist.github.com/flexd/0500e0bcf65280b0b769 |
@mitchellh are you using the homebrew installation of go, or the packaged one on golang.org? Anyone getting the issue, can you report where your go installation is from to help track it down? I'm getting the issue with the golang.org package, for what it's worth. Going to try now with homebrew. |
FYI, when I switched to homebrew, it worked |
The
gox -build-toolchain
command gives the following output (running under OSX 10.9):The toolchain build can't be parallelized because compiling a single
Go source directory can only be done for one platform at a time. Therefore,
the toolchain for each platform will be built one at a time.
--> Toolchain: darwin/386
--> Toolchain: darwin/amd64
--> Toolchain: linux/386
--> Toolchain: linux/amd64
--> Toolchain: linux/arm
--> Toolchain: freebsd/386
--> Toolchain: freebsd/amd64
--> Toolchain: openbsd/386
--> Toolchain: openbsd/amd64
--> Toolchain: windows/386
--> Toolchain: windows/amd64
--> Toolchain: freebsd/arm
--> Toolchain: netbsd/386
--> Toolchain: netbsd/amd64
--> Toolchain: netbsd/arm
--> Toolchain: plan9/386
16 errors occurred:
darwin/386: Error building 'darwin/386'.
Stdout: # Building C bootstrap tool.
cmd/dist
Stderr: ld: can't open output file for writing 'cmd/dist/dist.ld_32P5tP', errno=13 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
darwin/amd64: Error building 'darwin/amd64'.
Stdout: # Building C bootstrap tool.
cmd/dist
Stderr: ld: can't open output file for writing 'cmd/dist/dist.ld_RJ1jHq', errno=13 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
And so on...
The text was updated successfully, but these errors were encountered: