http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986
--- Comment #26 from Ian Lance Taylor <ian at airs dot com> 2012-02-16 15:48:18 UTC --- I think it would be great if somebody would tell me something I can used instead of makecontext/getcontext/setcontext. Unless somebody can come up with one, then I think the only alternative is to write our own processor-specific versions and distribute them with libgo. The functions were removed from POSIX not because there was any adequate replacement, but because they suffer from some design deficiencies.