-
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
cmd/ld: cannot link objective-C code #1781
Labels
Milestone
Comments
Owner changed to @rsc. |
Comment 6 by mcphail_colin@hotmail.com: I'm seeing something very similar with C-compiled code: /Users/...../pkg/darwin_amd64/cmcp/gcd.a(queue.cgo2.o)(__DATA/__const): unhandled relocation for _dispatch_queue_attr_concurrent (type 23 rtype 120) |
This seems off to be. My go.wde cocoa implementation (https://github.com/skelterjohn/go.wde/tree/master/cocoa) makes heavy use of a framework I wrote using ObjC. I use some straight C code as an intermediary, but there were no linking problems. |
We will be fixing this by making gcc do the final link, and then 6l doesn't need to know about all these terrible details. Getting that working is issue #4069. Status changed to Duplicate. Merged into issue #4069. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Attachments:
The text was updated successfully, but these errors were encountered: