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/sys: SYS___SYSCTL is not defined on darwin/arm #22839

Closed
steeve opened this issue Nov 21, 2017 · 2 comments
Closed

x/sys: SYS___SYSCTL is not defined on darwin/arm #22839

steeve opened this issue Nov 21, 2017 · 2 comments

Comments

@steeve
Copy link
Contributor

steeve commented Nov 21, 2017

What version of Go are you using (go version)?

go version go1.9.1 darwin/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/steeve/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.9.1/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.9.1/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gr/T/go-build313305023=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

What did you do?

Try and build a package using golang.org/x/syscall.SYS___SYSCTL on darwin/arm

What did you expect to see?

A successful build.

What did you see instead?

Build fails with error:

vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go:224:23: undefined: SYS___SYSCTL
@gopherbot gopherbot added this to the Unreleased milestone Nov 21, 2017
@bradfitz
Copy link
Contributor

/cc @tklauser

@tklauser tklauser self-assigned this Nov 21, 2017
@gopherbot
Copy link
Contributor

Change https://golang.org/cl/79155 mentions this issue: unix: add SYS___SYSCTL on darwin/arm

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

No branches or pull requests

4 participants