ruby18, -pthreads, deep recursion

lemon lemon+freebsd at zomo.co.uk
Mon Nov 5 23:43:05 PST 2007


Marcin Wisnicki wrote:
> On Thu, 01 Nov 2007 22:02:38 -0500, Josh Paetzel wrote:
>> On Thursday 01 November 2007 04:04:35 pm lemon wrote:
>>> [0] http://lists.freebsd.org/pipermail/freebsd-ports/2005-
> January/019352.html
>>>     http://lists.freebsd.org/pipermail/freebsd-ports/2006-
> March/030691.html
>> If it's any consolation, I've emailed the ruby maintainer a few times
>> about why disabling threads in the port's menu doesn't *really* disable
>> threads and have never gotten a reply.
> 
> As explained in abovementioned links, some of ruby extensions need 
> pthreads but since shared modules on freebsd are never linked with 
> threading libraries (i think it might no longer be true in releng7/
> current), you have no other choice than to link ruby interpreter binary 
> with libpthread.

Thanks, that's much clearer for me now. I guess I'm lucky - I've yet to
hit anything involved in our RoR app that breaks a pthread-less ruby18
on 6.2-R. Even better if the problem's gone away on 7.x.

Cheers for all the responses.

Regards, l.


More information about the freebsd-ports mailing list