ports/81464: ruby-1.8.2_3 stack handling broken due to libpthread linkage

Pav Lucistnik pav at FreeBSD.org
Mon Jan 16 09:46:07 UTC 2006


Yoshiaki Kasahara píše v po 16. 01. 2006 v 18:14 +0900:

> I have just upgraded to ruby-1.8.4_1,1 (now my system is 6.0R BTW),
> and noticed the stack size has become even narrower.  Now the test
> script in my report can iterate only 340 times (and crashes).
> 
> 339
> 340
> zsh: 7600 illegal hardware instruction (core dumped)  ruby test.rb
> 
> Here is a simple patch to change configure args when WITHOUT_PTHREAD
> is defined.  Ruby always has its own thread mechanism (I believe it
> doesn't use pthread for its thread mechanism anyway), so I changed the
> name of the variable from "WITHOUT_THREADS" to "WITHOUT_PTHREAD".

Okay, I committed your patch and I also created a slave port
lang/ruby18-nopthreads for an easy installation and packaging of
threadless ruby. HTH.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

The Phase Spider. A spider that never seems quite there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je digit?ln? podepsan? ??st zpr?vy
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20060116/13f3b7ff/attachment.sig>


More information about the freebsd-ports-bugs mailing list