[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13088: stack overflow while compiling
From: |
Andy Wingo |
Subject: |
bug#13088: stack overflow while compiling |
Date: |
Thu, 07 Mar 2013 14:26:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
On Sat 08 Dec 2012 22:44, Stefan Israelsson Tampe <address@hidden> writes:
> tail-call 2000+ argument function which is not supported in guile :-)
This should be supported. Just fixed this in stable-2.0.
> I suggest that we close this bug or perhaps add a feature request for
> growing stacks.
>
> An alternate feature request is to have some way to tell guile the size
> of the stack at start up.
In this case I agree, there is no bug in the expander or in the
compiler. We should be able to grow stacks, but that is tricky with
stable-2.0. Ideally we would be able to link different stack segments
together with overflow/underflow handlers, as in the Dybvig paper, but
that would require some experimentation that would best be done on
master.
I pushed a patch based on yours to add a GUILE_STACK_SIZE environment
variable. I hate environment variables but hopefully we can remove it
in 2.2.
Thanks for looking into this!
Andy
--
http://wingolog.org/
- bug#13088: stack overflow while compiling,
Andy Wingo <=