GNU bug report logs -
#13088
stack overflow while compiling
Previous Next
Reported by: rixed <at> happyleptic.org
Date: Wed, 5 Dec 2012 16:37:01 UTC
Severity: normal
Done: Andy Wingo <wingo <at> pobox.com>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 13088 <at> debbugs.gnu.org (full text, mbox):
On Sat 08 Dec 2012 22:44, Stefan Israelsson Tampe <stefan.itampe <at> gmail.com> 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/
This bug report was last modified 12 years and 83 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.