Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-06-17 Thread Andy Wingo
On Sat 21 May 2011 19:20, Hans Aberg 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 threa

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-06-17 Thread Hans Aberg
On 17 Jun 2011, at 11:26, 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 her

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-05-21 Thread Hans Aberg
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

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-05-21 Thread Hans Aberg
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. > > The code in question does this: > >void >

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-05-20 Thread Hans Aberg
On 20 May 2011, at 15:58, Andy Wingo wrote: > Did you enable threads? `grep PTHREAD scmconfig.h` to check. $ grep PTHREAD libguile/scmconfig.h #define SCM_USE_PTHREAD_THREADS 1 /* 0 or 1 */ /* Define to 1 if need braces around PTHREAD_ONCE_INIT (for Solaris). */ #define SCM_NEED_BRACES_ON_PTHREAD

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-05-20 Thread Andy Wingo
Hello, On Fri 20 May 2011 15:39, Hans Aberg writes: > There is a comment in in libguile/gc.c suggesting it isn't called, there is: > > void > scm_storage_prehistory () > { > GC_all_interior_pointers = 0; > GC_set_free_space_divisor (scm_getenv_int ("GC_FREE_SPACE_DIVISOR", 3)); > > GC_INIT

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-05-20 Thread Hans Aberg
On 20 May 2011, at 15:10, 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

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-05-20 Thread Andy Wingo
On Fri 20 May 2011 13:31, Hans Aberg 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 threa

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-05-20 Thread Hans Aberg
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 t

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-05-20 Thread Hans Aberg
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. > > The code in question does this: > >void >

Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7

2011-05-20 Thread Andy Wingo
On Sun 15 May 2011 12:56, Hans Aberg writes: > 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. The code in question does this: void scm_init