From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hans Aberg Newsgroups: gmane.lisp.guile.bugs Subject: Re: Guile 2.0.1: scm_init_guile() broken on Mac OS X 10.6.7 Date: Fri, 20 May 2011 12:52:06 +0200 Message-ID: <6AA30401-FCDF-4684-A42C-F43836250A6A@telia.com> References: <87aafb2w68.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1305888740 25846 80.91.229.12 (20 May 2011 10:52:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 May 2011 10:52:20 +0000 (UTC) Cc: bug-guile bug To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri May 20 12:52:16 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QNNJY-0002zm-6a for guile-bugs@m.gmane.org; Fri, 20 May 2011 12:52:16 +0200 Original-Received: from localhost ([::1]:56840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNNJX-0003hM-Ph for guile-bugs@m.gmane.org; Fri, 20 May 2011 06:52:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNNJU-0003h6-V0 for bug-guile@gnu.org; Fri, 20 May 2011 06:52:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNNJT-0004EC-VQ for bug-guile@gnu.org; Fri, 20 May 2011 06:52:12 -0400 Original-Received: from smtp-out21.han.skanova.net ([195.67.226.208]:40620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNNJT-0004E6-Hm for bug-guile@gnu.org; Fri, 20 May 2011 06:52:11 -0400 Original-Received: from [10.0.1.2] (217.210.127.13) by smtp-out21.han.skanova.net (8.5.133) (authenticated as u26619196) id 4D6517A10218701D; Fri, 20 May 2011 12:52:07 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.67.226.208 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5583 Archived-At: 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: >>=20 >> Failed to get stack base for current thread. >=20 > The code in question does this: >=20 > void > scm_init_guile () > { > struct GC_stack_base stack_base; >=20 > if (GC_get_stack_base (&stack_base) =3D=3D 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); > } > } >=20 > 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? In what ways do you use it differently in guile-2.0.1? - It works in = guile-2.0.0. I was directed to use bdwgc-7_2alpha5-20110107, as gc-7.1 did not work = on my platform. Hans