From patchwork Thu Dec 22 13:47:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: libgo patch committed: Catch signals on alternate stack Date: Thu, 22 Dec 2011 03:47:57 -0000 From: Uros Bizjak X-Patchwork-Id: 132847 Message-Id: To: Ian Lance Taylor Cc: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Hello! I have to use following patch to fix libgo compilation on alpha: Uros. Index: runtime/go-signal.c =================================================================== --- runtime/go-signal.c (revision 182615) +++ runtime/go-signal.c (working copy) @@ -346,7 +346,11 @@ mp = runtime_m (); if (gp != NULL) - __splitstack_getcontext (&gp->stack_context[0]); + { +#ifdef USING_SPLIT_STACK + __splitstack_getcontext (&gp->stack_context[0]); +#endif + } if (gp != NULL && mp->gsignal != NULL) {