New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/link: go initialization fails missing _rt0_arm_linux1 #10067
Comments
What revision of Go? Can you nm your .so file (with arm-linux-androideabi-nm) and see if the symbol is there, and what state it is in? The actual symbol is still in the runtime, so at a guess the symbol is in some unreachable state due to a recent linker change. |
|
So _rt0_arm_linux1 is not exported.
|
Right, the lower case t and b mean the symbol is local. Until very recently it was exported (and nm showed an upper case T and B). |
//go:cgo_export_dynamic _rt0_arm_linux1 is just where it has always been in os_android_arm.go. I'm tempted to try git bisect to find which CL broke this, but my workspace is a mess with darwin/arm. Does someone else want to take it? If not, I'll probably get to this tomorrow afternoon. |
I will take a look today.
|
The problem is that in go.o, the symbol is GLOBAL with HIDDEN visibility: |
I can confirm that gomobile apk builds are running properly now. Thanks @minux. |
I'm building the basic example with the tip version of gomobile and Go.
gomobile install golang.org/x/mobile/example/basic # and run the app
The text was updated successfully, but these errors were encountered: