V8 [PATCH] sysconf: Add _SC_MINSIGSTKSZ/_SC_SIGSTKSZ [BZ #20305]

H.J. Lu hjl.tools@gmail.com
Fri Nov 20 23:13:37 GMT 2020


On Fri, Nov 20, 2020 at 6:12 AM Florian Weimer <fw@deneb.enyo.de> wrote:
>
> * H. J. Lu:
>
> > Can we reach a consensus for _GNU_SOURCE vs _SC_SIGSTKSZ_SOURCE?
> >
> > How about we make _GNU_SOURCE to enable _SC_SIGSTKSZ_SOURCE and
> > check _SC_SIGSTKSZ_SOURCE != 0?  If _GNU_SOURCE triggers compilation
> > error and source codes can't be changed, we can add
> > -D_SC_SIGSTKSZ_SOURCE=0 to disable _SC_SIGSTKSZ_SOURCE.
>
> I think the source code compatibility is much more obscure than the
> other things we broke quite recently, even without deprecation.  Why
> do we add the complexity in this case?  I feel it is disproportional.

Here is the patch with _GNU_SOURCE.  Any comments?

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sysconf-Add-_SC_MINSIGSTKSZ-_SC_SIGSTKSZ-BZ-20305.patch
Type: text/x-patch
Size: 28404 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20201120/ab8a7437/attachment-0001.bin>


More information about the Libc-alpha mailing list