Hello,
I’ve been trying to compile ruby 1.9/trunk with llvm for some time
(llvm-gcc 4.2 as shipped by Apple in XCode 3.1.1) and always hit the
same problem. During the compilation, first time miniruby tries to run,
it goes into a never-ending loop.
Running Shark on the process give the following call stack (see the
linked image). -O or -O2 does not make any difference.
…
./miniruby -I…/lib -I.ext/common -I./- -r…/ext/purelib.rb
…/enc/make_encdb.rb encdb.h.new …/enc enc
load: 1.23 cmd: miniruby 3505 running 3.64u 0.03s (after pressing ^T)
load: 1.11 cmd: miniruby 3505 running 62.80u 0.53s (^T again)
http://www.keltia.net/download/miniruby-call.png
Thanks for your attention.
MacOS 10.5.5, Xcode 3.1.1, Ruby trunk at #19642.