RFC: Update MINSIGSTKSZ and SIGSTKSZ

H.J. Lu hjl.tools@gmail.com
Tue Sep 29 14:10:03 GMT 2020


On Tue, Sep 29, 2020 at 7:02 AM Zack Weinberg <zackw@panix.com> wrote:
>
> On Tue, Sep 29, 2020 at 9:27 AM H.J. Lu via Libc-alpha
> <libc-alpha@sourceware.org> wrote:
> > MINSIGSTKSZ and SIGSTKSZ were defined as constant:
> ...
> > I am proposing to make them as dynamic based on AT_MINSIGSTKSZ for
> > -D_GNU_SOURCE:
>
> A quick check of
> https://dcs.zekjur.net/search?q=%5CbMINSIGSTKSZ%5Cb&literal=0 and
> https://dcs.zekjur.net/search?q=%5CbSIGSTKSZ%5Cb&literal=0 gives me
> the impression that this is likely to break a lot of software; these
> constants are often used in #if expressions and compile-time constant
> contexts (e.g. as static array sizes).
>

True.  Some softwares must be updated for this change.   On the other hand,
they may not work correctly on the newer processors in any case and its impact
may be limited by -D_GNU_SOURCE.

-- 
H.J.


More information about the Libc-alpha mailing list