Ruby 1.8.2_2 segfault

Jeremy Tregunna jtregunna at blurgle.ca
Sun Feb 6 02:40:29 PST 2005


On 6-Feb-05, at 5:00 AM, Michael Nottebrock wrote:

> On Sunday, 6. February 2005 10:22, Ulrich Spoerlein wrote:
>
>>> -lpthread -lcrypt -lm   -o libruby18.so.18
>>> ./lib/ftools.rb:204: [BUG] Segmentation fault
>>> ruby 1.8.2 (2004-12-25) [sparc64-freebsd5]
>>>
>>> Abort trap (core dumped)
>>
>> This happend to me when building with -Os, any flags above -O would 
>> seem
>> to trigger this.
>
> Different problem. Sparc64 still uses libc_r as the default threading 
> library,
> and right now ruby18 will (on 5.3+) unconditionally link to libpthread
> instead, which doesn't work.

Ah okay, this makes sense now, thanks.

--
Jeremy Tregunna
jtregunna at blurgle.ca



More information about the freebsd-ports mailing list