Date: Mon, 16 Jan 2006 10:46:01 +0100 From: Pav Lucistnik <pav@FreeBSD.org> To: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/81464: ruby-1.8.2_3 stack handling broken due to libpthread linkage Message-ID: <1137404761.9038.4.camel@pav.hide.vol.cz> In-Reply-To: <20060116.181416.46014020.kasahara@nc.kyushu-u.ac.jp> References: <200601141330.k0EDURPC006413@freefall.freebsd.org> <20060116.181416.46014020.kasahara@nc.kyushu-u.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-AeX8rk66z7qiGlGVVStz Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Yoshiaki Kasahara p=ED=B9e 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). >=20 > 339 > 340 > zsh: 7600 illegal hardware instruction (core dumped) ruby test.rb >=20 > 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. --=20 Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> The Phase Spider. A spider that never seems quite there. --=-AeX8rk66z7qiGlGVVStz Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDy2tZntdYP8FOsoIRAgRZAJ9qwZt03SesnIqSI53XX1TFbQUseQCePKFY 0BVQBiBcAOI1SsoD8KD2IZg= =GEPH -----END PGP SIGNATURE----- --=-AeX8rk66z7qiGlGVVStz--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1137404761.9038.4.camel>