Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Support for Go 1.3? #17

Closed
oleksandr opened this issue Jul 3, 2014 · 8 comments
Closed

Support for Go 1.3? #17

oleksandr opened this issue Jul 3, 2014 · 8 comments

Comments

@oleksandr
Copy link

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...

@mitchellh
Copy link
Owner

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.

@chancez
Copy link

chancez commented Jul 30, 2014

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

@dryaf
Copy link

dryaf commented Aug 1, 2014

https://gist.github.com/anonymous/19cc11a7e3e6d427e3f3

same for me

probably because we used the pkg from golang on mac instead of homebrew

@jostyee
Copy link

jostyee commented Sep 19, 2014

sudo gox -build-toolchain @banditj

@hyamamoto
Copy link

Got the same error today, it was sudo. Shouldn't it in the document i think?

@flexd
Copy link

flexd commented Dec 18, 2014

Same error for me, Go1.3 https://gist.github.com/flexd/0500e0bcf65280b0b769

@copumpkin
Copy link

@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.

@copumpkin
Copy link

FYI, when I switched to homebrew, it worked

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants