On Aug 31 2016, Ian Lance Taylor <i...@google.com> wrote:

> Index: libgo/runtime/runtime.c
> ===================================================================
> --- libgo/runtime/runtime.c   (revision 239872)
> +++ libgo/runtime/runtime.c   (working copy)
> @@ -272,7 +272,14 @@ runtime_tickspersecond(void)
>  void
>  runtime_mpreinit(M *mp)
>  {
> -     mp->gsignal = runtime_malg(32*1024, (byte**)&mp->gsignalstack, 
> &mp->gsignalstacksize);  // OS X wants >=8K, Linux >=2K
> +     int32 stacksize = 32 * 1024;    // OS X wants >=8K, Linux >=2K
> +
> +#ifdef SIGSTKSZ
> +     if(stacksize < SIGSTKSZ)
> +             stacksize = SIGSTKSZ;
> +#endif

There is nothing that defines SIGSTKSZ.

Andreas.

-- 
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to