-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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/cmd/gomobile: bind command fails with "direct call too far" with 100 MB executable file #39143
Comments
/cc @hyangah |
@cherrymui Can you please help with this linker error? |
This is 32-bit darwin/arm right? The linker inserts trampolines for far calls, but it is possible that we missed some cases. It would be good to know what the call target is, in particular, whether it is a regular Go function, or a C function, or something like a PLT stub (which I think there may be some problem)? 32-bit darwin/arm port is removed in Go 1.15, though. |
(A quick workaround for this could be changing the calls to function pointer calls, like, instead of |
Why 32 bit? (*TEcu).Espsnsclbr90 - is GO struct function in my code. |
@Shagrat2 I don't know, I'm just asking. Based on the error message, |
This workaround failed |
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?
What did you see instead?
The text was updated successfully, but these errors were encountered: