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 17/03/17 14:38, Adhemerval Zanella wrote:
> My main concern is to add some hackery on an implementation that should be
> neutral to any compiler option and to keep try to adjust the initial stack
> size based on possible compiler version/architecture.  In any way, I think
> the following patch should the -fstack-check if compiler is using it:

increasing the temp stack if the code is compiled
with -fstack-check is probably more correct than
than -fno-stack-check, but i think then it can be
increased unconditionally (allocating 4 pages
temporarily should be rarely an issue)


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