https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117291

--- Comment #11 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #5)
> I agree it's difficult to solve.  GCC tries to up the stack limit to
> unlimited, why isn't this working for you?  Maybe we should remember the
> failure to do so and report that (and make the segfault handler use an
> alternate stack ...)?

Maybe a hard limit is set?  But every time I run out of stack (a few times
per year) I am happy we do, because almost always it would very very very
slowly eat up an unbounded amount of stack, and almost crash the system.
Many many years ago we used to crash the cfarm systems often this way, btw.

On all systems where I have hard limit unlimited we do get the stack limited
to the soft limit, for GCC.  And that is good.

Reply via email to