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

x/tools/go/ssa/interp: fails to build on darwin #13831

Closed
rudle opened this issue Jan 5, 2016 · 2 comments
Closed

x/tools/go/ssa/interp: fails to build on darwin #13831

rudle opened this issue Jan 5, 2016 · 2 comments
Assignees
Milestone

Comments

@rudle
Copy link

@rudle rudle commented Jan 5, 2016

Hi there,

As of this commit[1], it's not possible to install all of the go tools at once on OSX. This is because the required form of int pipe2(int pipefd[2], int flags); is not exposed by the Darwin kernel. This is lamentable, but beyond our control.

$ go get golang.org/x/tools/cmd/...
# golang.org/x/tools/go/ssa/interp
../go/src/golang.org/x/tools/go/ssa/interp/external.go:244: undefined: syscall.Pipe2
uname -a
Darwin hostname 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64

[1] golang/tools@8463610

@mdempsky mdempsky changed the title go get x/tools/cmd/... fails on OSX x/tools/go/ssa/interp: fails to build on darwin Jan 5, 2016
@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jan 5, 2016
@alandonovan
Copy link
Contributor

@alandonovan alandonovan commented Jan 6, 2016

@alandonovan alandonovan closed this Jan 6, 2016
@rudle
Copy link
Author

@rudle rudle commented Jan 6, 2016

The fix LGTM. Thanks for addressing @alandonovan.

@golang golang locked and limited conversation to collaborators Jan 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.