-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
gccgo: compilation fails on Darwin #463
Comments
oops, I meant issue #329, not issue #392 which is unrelated. |
Labels changed: added gccgo. Owner changed to [email protected]. |
Issue #1721 has been merged into this issue. |
See also https://gcc.gnu.org/PR46986 |
When I try to compile on Snow Leopard 10.6.7 with xcode 4.2 I get: cgo_bsd.go:5[_obj/cgo_bsd.cgo1.go:8]: undefined: _Cconst_AI_MASK cgo_unix.go:69[_obj/cgo_unix.cgo1.go:72]: undefined: _Cconst_AI_ALL cgo_unix.go:69[_obj/cgo_unix.cgo1.go:72]: undefined: _Cconst_AI_V4MAPPED cgo_unix.go:69[_obj/cgo_unix.cgo1.go:72]: undefined: _Cconst_AI_CANONNAME make[1]: *** [_go_.6] Error 1 make: *** [net.install] Error 1 |
Comment 11 by anders.f.bjorklund: The gcc bug report (46896) has patches for import/export as per Comment #3: https://gcc.gnu.org/bugzilla/attachment.cgi?id=25177 (__GNU_GO __go_export) |
Since
this issue can be closed. |
I like the way you think, but it doesn't work on any more recent release of Darwin either. I changed the title. |
@ianlancetaylor oops. Thanks for noticing. |
Following along as I'd love to have a go with gccgo on Darwin... :-) |
Any updates here? Upstream ticket is here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 |
I don't think anybody is working on this. |
@ianlancetaylor I see. That’s upsetting, but what to do. P. S. Since the old Go which is bootstrappable from C is x86-only, and there are no binaries for ppc, we cannot get Go on Darwin PPC in a conventional way. Perhaps the old Go is fixable, but when I reviewed the source code last time it appeared non-trivial: it was not clear which values should be set for a number of arch-specific defines. |
by f.guerrieri:
The text was updated successfully, but these errors were encountered: