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

Reply via email to