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
ianlancetaylor
changed the title
Go builds c archives with absolute addressing on OS X
cmd/go: Go builds c archives with absolute addressing on OS X
Sep 19, 2015
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 |
rsc
changed the title
cmd/go: Go builds c archives with absolute addressing on OS X
cmd/go: Go builds C archives with absolute addressing on darwin/arm64
Nov 5, 2015
crawshaw
changed the title
cmd/go: Go builds C archives with absolute addressing on darwin/arm64
cmd/go: Go builds C archives with absolute addressing on darwin/arm
Nov 5, 2015
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: