bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andy Wingo
Subject: Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7
Date: Fri, 20 May 2011 12:11:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Sun 15 May 2011 12:56, Hans Aberg <address@hidden> 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_guile ()
    {
      struct GC_stack_base stack_base;
      
      if (GC_get_stack_base (&stack_base) == GC_SUCCESS)
        scm_i_init_thread_for_guile (&stack_base,
                                     scm_i_default_dynamic_state);
      else
        {
          fprintf (stderr, "Failed to get stack base for current thread.\n");
          exit (1);
        }
    }

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?

Thanks,

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]