Ruby 1.9 as default

Stanislav Sedov stas at FreeBSD.org
Tue Jun 5 18:03:18 UTC 2012


On Tue, 5 Jun 2012 09:43:55 -0400
"Steve Wills" <swills at 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


More information about the freebsd-ports mailing list