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
I'm also bitten by this in a gomobile project. Git bisect points to:
5f9a870bf1bf461ca3609502608b12cc4aab189a is the first bad commit
commit 5f9a870bf1bf461ca3609502608b12cc4aab189a
Author: Ian Lance Taylor <[email protected]>
Date: Wed Apr 27 14:18:29 2016 -0700
cmd/cgo, runtime, runtime/cgo: use cgo context function
(CL 22508). I tried to blindly apply the similar CL 22651 (for arm64), but failed.
Please answer these questions before submitting your issue. Thanks!
go version
)?go version devel +0e392c6 Thu May 26 09:27:08 2016 +0800 windows/amd64
go env
)?set GOARCH=arm
set GOARM=7
set GOOS=android
set CGO_ENABLED=1
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
armstack.go
main.c
go build -buildmode c-shared -o libarmstack.so armstack.go
gcc -marm main.c -o armstack -L. -larmstack
push to android 4.4 phone, then run.
result:
However, if you only once cgoCallback(s1,s2,0) is not panic.
The text was updated successfully, but these errors were encountered: