On Tue, 5 Jun 2012 09:43:55 -0400
"Steve Wills" <swi...@mouf.net> mentioned:

> >
> 
> Is this perhaps the -pthread issue I hit with perl? The issue is that if
> you call (dlopen, exec, whatever) a threaded app from a non-threaded on,
> it hangs due to the fact that libc takes shortcuts and doesn't initialize
> thread related things in non-threaded apps. The solution is to build with
> -pthread. (I may be describing the problem wrong, but the solution of
> building with -pthread works.)

You usually  cannot dlopen the object linked agains pthread from a
non-pthreaded object.  Or it is used to be that way.  Exec should work
fine, I don't see how this can be an issue.

> 
> Perhaps we need to build ruby with -pthread?
> 

Of course, we already do.  Both of them.

-- 
Stanislav Sedov
ST4096-RIPE

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to