-
Notifications
You must be signed in to change notification settings - Fork 18k
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/go: Go builds C archives with absolute addressing on darwin/arm #12681
Labels
Milestone
Comments
I think it is the same issue for iOS built by gomobile. |
This has been recently fixed via #12590, will be available in Go 1.6. |
ping @crawshaw |
To consolidate these, I'm marking this a duplicate of #12896. darwin/arm64 is all PIC. (I haven't managed to convince ld64 to make PC-relative relocations to .bss work.) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It appears Go builds c archives with absolute addressing, which makes Xcode unhappy when using the resulting static library in a project:
I made a sample test project here: https://github.com/swisspol/Go-Bridge
The text was updated successfully, but these errors were encountered: