[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13088: stack overflow while compiling
From: |
Stefan Israelsson Tampe |
Subject: |
bug#13088: stack overflow while compiling |
Date: |
Tue, 11 Dec 2012 23:29:31 +0100 |
Hi,
I did some effort into getting this working. but first you could try to use an
or-map to get what you want in stead if compiling everything into code. but it's probably
faster what you are doing.
Anyway in vm.c I changed the
#define VM_DEFAULT_STACK_SIZE (64 * 1024)
to
#define VM_DEFAULT_STACK_SIZE (64 * 1024 * 64)
and recompiled!
Then I can compile to tree-il. Compiling all the way does not work well,
But if you enter
scheme@(guile-user)> (compile program #:to 'value #:opts '(#:partial-eval? #f #:cse? #f)) ;;NO OPTIMIZATION PASSES
It will compile to.
$7 = #<procedure 3708400 (proto server-port client-zone server-zone signature-id)>
In all this emphasizes what I said in earlier and I would still ask for a sane way to change the stack size for guile
and document it well.
Cheers!
/Stefan