You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from _cgo_export.c:3:0:
cgo-gcc-export-header-prolog:25:14: error: size of array '_check_for_64_bit_pointer_matching_GoInt' is negative
The text was updated successfully, but these errors were encountered:
i make a misstake.use arm ndk instead of arm64 while make_standalone_toolchain.py.
should use make_standalone_toolchain.py --arch arm64 --api 21 --force --install-dir d:\ndkroot21-arm64
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go1.9.2
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?GOROOT=D:\tools\go1.9.2.src\go
GOARCH=arm64
GOARM=7
GOOS=linux
CGO_ENABLED=1
GOOS=android
GOARM=6
NDK_ROOT=d:/ndkroot21-3
PATH=%NDK_ROOT%/bin;%PATH%
CC=arm-linux-androideabi-gcc.exe
CXX=arm-linux-androideabi-g++.exe
CGO_CXXFLAGS="-lstdc++"
#CGO_LDFLAGS=-lgcc
GO15VENDOREXPERIMENT=1
use android-ndk-r14b-windows-x86_64
What did you do?
main.go
package main
import "C"
func main() {
}
What did you expect to see?
build ok
What did you see instead?
runtime/cgo
In file included from _cgo_export.c:3:0:
cgo-gcc-export-header-prolog:25:14: error: size of array '_check_for_64_bit_pointer_matching_GoInt' is negative
The text was updated successfully, but these errors were encountered: