From: Eric Hodel Date: 2003-03-28T04:14:09+09:00 Subject: Re: Debugging Ruby itself. --PNpeiK4tTqhYOExY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mauricio Fern?ndez (batsman.geo@yahoo.com) wrote: > On Thu, Mar 27, 2003 at 02:29:58PM +0900, John Carter wrote: >=20 > > Any Ruby specific suggestions for hunting this type of bug? > >=20 > > I'm on RedHat Linux 8.0 on a Pentium 4 using gcc 3.2.2 >=20 > It could be GCC's fault. I was doing something heavily threaded too > (from 20 to 150+ threads) which opened lots of connections to a dictd > server and found that the problem would only happen when compiling with > gcc 3.2, and moreover only when targeting i386, but not sure on this > one, have forgotten :-) To reduce the likelihood of it being GCC's fault, compile ruby and any extensions with no flags higher than -O To see what your ruby was compiled with: $ ruby -r rbconfig -e "puts Config::CONFIG['CFLAGS']" FWIW, FreeBSD has problems with -march=3Dpentium4 ... --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --PNpeiK4tTqhYOExY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+g01/MypVHHlsnwQRAqLbAKDc40QnGp2A2V2wFL2w2wzpQeTdgwCgroeK 97Ni+1m+wj7JGsyG5zlXiLI= =+XjJ -----END PGP SIGNATURE----- --PNpeiK4tTqhYOExY--