Eli Zaretskii <e...@gnu.org> writes: > I guess you didn't configure without threads on GNU/Linux, did you? > If not, I suggest to try that, my impression is that Guile without > threads is not used too much on Posix platforms.
Hydra, a continuous integration system, runs Guile's "make check" with threads disabled on several POSIX platforms, so there's no need for Panicz to do this test. http://hydra.nixos.org/jobset/gnu/guile-2-0#tabs-status > Anyway, I looked into this a bit. I can confirm that the simple > program you mentioned the first time aborts due to "stack overflow" [...] > [...] it turns out that GC_get_stack_base, which > is implemented in libgc, returns zero as the stack base. Thanks for looking into this, Eli! This raises the question: what's the relevant difference between Panicz's simple 'main' and Guile's 'main' (in libguile/guile.c) that causes one to (apparently) initialize the stack base properly, where the other fails? It would be worthwhile to find out. Thanks, Mark