Subject: Re: bug#21004: 25.0.50; Questionable call to getrlimit in handle_sigsegv

From: Ken Brown <[email-masked]>
Date: Wed, 08 Jul 2015 10:20:56 -0400

On 7/8/2015 9:33 AM, Wolfgang Jenkner wrote:
> On Tue, Jul 07 2015, Ken Brown wrote:
>
>> Of course, the definition of HAVE_STACK_OVERFLOW_HANDLING would have to
>> be changed to ensure that pthread_getattr_np exists.
>
> Other systems may have this under a different name (e.g., FreeBSD has
> pthread_attr_get_np and needs to include pthread_np.h).  By the way,
> Guile has already some code to deal with this.

So someone (Dmitry?) would have to do some work to make this more 
portable.  It may or may not be worth the trouble; I'm not even sure yet 
that recovery from stack overflow actually works (see bug#20996).

Ken