This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/46986] Go is not supported on Darwin
- From: "afb at users dot sourceforge.net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Feb 2012 22:16:41 +0000
- Subject: [Bug go/46986] Go is not supported on Darwin
- Auto-submitted: auto-generated
- References: <bug-46986-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986
--- Comment #22 from Anders F BjÃrklund <afb at users dot sourceforge.net> 2012-02-15 22:16:41 UTC ---
Created attachment 26670
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26670
gcc-ucontext.diff
ucontext is deprecated on Mac OS X 10.5-10.6, including ucontext.h gives error:
In file included from ../../../gcc/libgo/runtime/runtime.h:20:0,
from ../../../gcc/libgo/runtime/go-main.c:21:
/usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated,
and require _XOPEN_SOURCE to be defined
ucontext is missing altogether from Mac OS X 10.7, but there is no TLS either:
error: thread-local storage not supported for this target