-
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
cmd/cgo: simple types are sometimes replaced by their primitives #19801
Comments
This is not reproducible to me. go version go1.8 darwin/amd64 |
I can't recreate it either. And the error frankly makes no sense. The reported error is:
Line 57 of reactor.go is:
The type
So the error message is saying that in @pebbe The zmq4 issue suggests that you are relaying a bug report from someone else. Can you recreate this problem yourself? On the e-mail thread I asked for the diff of the work directories. Thanks for providing that. I looked through it earlier, and again just now, but I see nothing that could cause this kind of error. As noted the error is not in types created by cgo anyhow. |
I can't reproduce the problem since I'm not on Darwin. All I know about it is in this issue: pebbe/zmq4#97 |
So right now it appears that nobody can reproduce the problem. And I don't understand how it could happen. We're not going to be able to fix this without a test case. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.8 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/wgillmer/workspace/go"
GORACE=""
GOROOT="/usr/local/opt/go/libexec"
GOTOOLDIR="/usr/local/opt/go/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/h2/5r4jrl855hddg359493d7gp00000gn/T/go-build081211722=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?
go get github.com/pebbe/zmq4
What did you expect to see?
No output.
What did you see instead?
This package installs without errors on other platforms.
For details, see this bug report: pebbe/zmq4#97
Also see the question in golang-nuts: https://groups.google.com/forum/#!topic/golang-nuts/VHGqqmpAZDE
The text was updated successfully, but these errors were encountered: