cmd/cgo: unexpected: 8-byte pointer type
errors with GOARCH=arm
#12442
Labels
Milestone
unexpected: 8-byte pointer type
errors with GOARCH=arm
#12442
I'm attempting to regenerate the darwin/arm code for golang.org/x/sys/unix from the latest iOS SDK, but running into a problem with
go tool cgo -godefs
on that architecture. Here is a file that reproduces the issue:Put that in
foo.go
and this happens:I'm not sure what that message means in this context, since I haven't given
cgo
any input on the size of that pointer except by settingGOARCH
. I wonder if I've misconfigured something, but can't find any relevant documentation so I'm not sure. It may be relevant that this doesn't happen whenGOARCH
is set to386
.This happens at tip on OS X:
The text was updated successfully, but these errors were encountered: