Ruby 1.8.2_2 segfault

Michael Nottebrock michaelnottebrock at gmx.net
Sun Feb 6 02:01:05 PST 2005


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.

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050206/a5a0ba34/attachment.bin


More information about the freebsd-ports mailing list