This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] posix_spawn: use a larger min stack for -fstack-check [BZ #21253]


On 20 Mar 2017 09:56, Florian Weimer wrote:
> On 03/16/2017 10:52 PM, Mike Frysinger wrote:
> > i picked 32 KiB as a trade off of it being more than big enough and
> > being a nice multiple of 4, 8, and 16, while not overtly allocating
> > too much otherwise unused.
> 
> Depending on what constant page size GCC uses, this will not fix the 
> -fstack-check bug on all architectures.

do you know of one today ?  i grepped through the latest gcc source to
come up with the numbers that i used, and i think 32 KiB should cover
them all.

> I doubt there is a good solution to this, except fixing the GCC bugs in 
> this area and allocating an additional page in glibc.

what gcc bugs do you mean ?
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]