[LLVMdev] Some blogged LLVM experience.

Duncan Sands baldrick at free.fr
Fri Feb 15 00:06:58 PST 2008


Hi Michael, thanks for trying out LLVM!

"The bad news comes with the make test-all results.  Less than two minutes
into the comprehensive test suite the LLVM-GCC version of Ruby 1.9 dies with
the following message: "Illegal instruction (core dumped)". Later it tells me
the test failed with "error 132". This is, as you can see, not a very useful
message since it's not really helping me locate where the error is."

The illegal instruction message is not coming from ruby or LLVM, it is
coming from the OS: the program fed the processor some garbage to execute
rather than proper instruction codes, and was promptly killed with this
message.  As for "error 132", it is also not coming from LLVM which does
not produce messages of this kind.

Does ruby compile ruby code to native instructions and execute them?  If
so and it made a mistake that would explain the illegal instruction error.
Otherwise it probably means that llvm-gcc miscompiled something.  If you
can extract a testcase please don't hesitate to post it to LLVM bugzilla
(http://llvm.org/bugs).  Bugs generally get fixed fast, but someone needs
to report them!

Best wishes,

Duncan.



More information about the llvm-dev mailing list