Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cmd/cgo: ignores arguments in $CC #14551
Please answer these questions before submitting your issue. Thanks!
XCode 7.2.1 (latest)
Your C compiler seems to be generating debug info that says that the size of the type "void*" is 8 bytes. cgo is complaining because you set GOARCH=arm, so cgo expects 4 byte pointers.
Look closely at the compiler in
Are you sure that compiler will generate 32-bit ARM code? (I don't know who XCode works myself).
You may want to run cgo with