On Mon, Dec 31, 2012 at 08:55:35AM -0500, Slaven_Rezic via RT <bug-Glib@rt.cpan.org> wrote:
Show quoted text> The test suite works fine with threaded perls on the same system. Also
Just a thought then: does FreeBSD support using threads (or threaded
libraries) when the main program hasn't been linked with e.g. -pthread?
You can test this by linking perl itself with -pthread (without linking
against -lpthread or enabling the windows process emulation code
(ithreads)).
If it then works, it's a limitation in freebsd threading (or rather, lack
of the extension found in GNU/Linux and many other systems which don't
need this), and since gtk/glib might use threads internally at any time,
there is little in the way of avoiding it, short of recompiling glib and
gtk without thread support as well.
The best solution would be to compile the non-ithreaded perl as a threaded
application as the problem will otherwise come up with any extension that
wants to use pthreads.
Show quoted text> there does not seem to be problems with older version of FreeBSD (8.0).
I know that older versions (freebsd 8) do not support this, but happen to
work some of the time (and corrupting memory at some other times), so that
might just be luck.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_
http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp@schmorp.de
-=====/_/_//_/\_,_/ /_/\_\