trunk & llvm-gcc 4.2

O

Ollivier Robert

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top