x/mobile: JNI library can't find __isoc99_sscanf on Android x86-64 #35441
Labels
FrozenDueToAge
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Android
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I built an Android app using a Go library and Gomobile. The Go library imports "net/http". When I run the app, it works fine on armv7, arm64, and x86, but it crashes as soon as the JNI module is imported on x86-64. This reproduces both in an x86-64 emulator and on x86-64 Chromebooks (e.g. Pixelbook, Pixel Slate) in the ARC++ environment.
__isoc99_sscanf appears to be used by OPENSSL_cpuid_setup, a2i_ipadd, and ipv6_cb. It only appears in the x86-64 library, not any of the other architectures.
The text was updated successfully, but these errors were encountered: