On Fri 20 May 2011 13:31, Hans Aberg <haber...@telia.com> writes: > On 20 May 2011, at 12:11, Andy Wingo wrote: > >>> On Mac OS X 10.6.7, compiled using Xcode Version 3.2.6 64-bit, >>> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1, scm_init_guile() gives the >>> error: >>> >>> Failed to get stack base for current thread. > ... >> As you can see we rely on libgc here, and so this is a libgc bug. Can >> you try a newer libgc, or if that still fails, bring it up on their >> list? > > On Mac OS X, one must call GC_init() (not necessary on GNU/Linux). Has > that dropped out in guile-2.0.1?
I really have no idea. As you see in 2.0.1 we rely on libgc for detecting stack boundaries in the non-scm_with_guile case, as is appropriate I think. As for GC_init() I don't know, and would be surprised if that were the case. Andy -- http://wingolog.org/