unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* scm_cell vs threads build option
@ 2007-09-02  0:33 Kevin Ryde
  2007-09-03  0:09 ` Rob Browning
  2007-09-03  7:34 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Kevin Ryde @ 2007-09-02  0:33 UTC (permalink / raw)
  To: guile-devel; +Cc: Rob Browning

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-09-04  5:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-02  0:33 scm_cell vs threads build option Kevin Ryde
2007-09-03  0:09 ` Rob Browning
2007-09-03  7:28   ` Ludovic Courtès
2007-09-04  5:22     ` Rob Browning
2007-09-04  0:46   ` Kevin Ryde
2007-09-03  7:34 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).