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
x/mobile/bind: XCode warning then build project with gomobile framework for non-64bit device #15519
Comments
Sounds like a duplicate of #12896 which was recently fixed. Could you please try Go tip and see if your issue is still present? |
You are right, looks like CL https://golang.org/cl/22461 should fix this issue. I'll try Go tip, thank you. |
Sorry, but warning is still there. I tested on
|
The issue is with ARMv7 only, if I remove it from Valid Architectures list, any build (ARMv7s, ARM64) has no warning. |
Thank you, I've reproduced the issue. The Go c-archive tests seems to run as PIE now, so it seems gomobile is doing something that breaks PIC generation. I'm working on a fix. |
CL https://golang.org/cl/22920 mentions this issue. |
Yes, it is fixed in
Thank you, @eliasnaur |
I am using "go version go1.7beta1 darwin/amd64" and gomobile "tip. I still get the no_pic warning: |
If you haven't already, please check if the golang.org/x/mobile/examples/bind example also produces the PIC warning. If not, the next step would be to figure out why the projects differ in behaviour. A minimal reproducer would allow us to fix this issue quicker. |
I am using
My issue is minor and very related to fixed #12590, the crash is fixed, but warning is still there if I try to build my XCode project with gomobile framework, for device like iPad 2 (non-64 bit A5 chip on board)
The warning message:
The same build for iPad Pro (64bit A9X on board) is going without any warning.
My gomobile framework is built with default parameters
gomobile bind -target=ios <package>
The text was updated successfully, but these errors were encountered: