From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: scm_cell vs threads build option Date: Sun, 02 Sep 2007 10:33:37 +1000 Message-ID: <87fy1x9a8u.fsf@zip.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188693237 1248 80.91.229.12 (2 Sep 2007 00:33:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2007 00:33:57 +0000 (UTC) Cc: Rob Browning To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Sep 02 02:33:56 2007 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IRdPP-0004fu-2Z for guile-devel@m.gmane.org; Sun, 02 Sep 2007 02:33:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRdPO-0001I6-5b for guile-devel@m.gmane.org; Sat, 01 Sep 2007 20:33:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IRdPL-0001Gh-W9 for guile-devel@gnu.org; Sat, 01 Sep 2007 20:33:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IRdPK-0001CX-CE for guile-devel@gnu.org; Sat, 01 Sep 2007 20:33:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRdPJ-0001CG-Vs for guile-devel@gnu.org; Sat, 01 Sep 2007 20:33:42 -0400 Original-Received: from mailout1-8.pacific.net.au ([61.8.2.215] helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IRdPJ-00017Q-GG for guile-devel@gnu.org; Sat, 01 Sep 2007 20:33:41 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout1.pacific.net.au (Postfix) with ESMTP id 6D9C35A06DC; Sun, 2 Sep 2007 10:33:40 +1000 (EST) Original-Received: from localhost (ppp2E89.dyn.pacific.net.au [61.8.46.137]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id EA43B27404; Sun, 2 Sep 2007 10:33:39 +1000 (EST) Original-Received: from gg by localhost with local (Exim 4.67) (envelope-from ) id 1IRdPF-0001aZ-Pm; Sun, 02 Sep 2007 10:33:37 +1000 Mail-Copies-To: never User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6760 Archived-At: I gave Rob's new debian packaged 1.8.2 a go and found a bit of a problem with scm_cell. The new packages have threads enabled, where the old ones had it disabled, and alas that setting infects the inlined scm_cell(). If you built your app against the old and run it against the new then it bombs on SCM_FREELIST_LOC doing the different "thread key" thingie access. I guess scm_cell has been inlined that way for a while, but it'd be worth thinking about not inlining it, or only inlining for internal uses, in the interests of binary compatibility among as many build options as possible. I struck the problem in my own build of guile-gtk, not sure what packaged stuff might be affected. gnome-games seems ok. Anything using smobs probably isn't. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel