From: John Carter Date: 2007-03-28T12:37:51+09:00 Subject: Re: Ruby & gprof and thread.so undefined reference torb_thread_critical Thanks for your suggestions, alas, it didn't resolve the issue. On Wed, 28 Mar 2007, M. Edward (Ed) Borasky wrote: > 1. Recompile without the -O2 and see if it goes away. Alas not. > 2. If the recompiled (and stock Ruby) work, it's a GCC problem. If the > recompiled doesn't work and the stock Ruby does, check your configuration > parameters on your profiling build. Compiling without -pg works fine. Compiling with -pg and --disable-shared fails. > By the way, what version of GCC are you using? gcc-4.1.2 ubuntu edgy eft > And are you building the non-profiling Ruby from source too? Yip, works fine. > If God had meant for carrots to be eaten cooked, He would have given rabbits > fire. He gave us fire so we can eat carrots in the form of cooked rabbits? Thanks! John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand