[MacRuby-devel] LLVM 3.0 and MacRuby

Maik Kempe root at breaking-limits.com
Sun Dec 11 11:50:05 PST 2011

Hi all,

use any of you LLVM 3.0 and MacRuby or can compile MacRuby with LLVM 3.0 ? Or is currently only LLVM 2.9 supported?

Just getting 'Invalid ALLOCA record' if i try to compile MacRuby.

MacRuby/MacRuby - [master✔]» rake
/usr/bin/bison -o y.tab.c parse.y
parse.y: conflicts: 1 shift/reduce
/usr/bin/sed -f ./tool/ytab.sed -e "/^#/s!y.tab.c!parse.c!" y.tab.c > parse.c.new
mv parse.c.new parse.c
rm -f .objs/parse.o
cp lex.c.blt lex.c
/usr/bin/ruby -n tool/node_name.rb include/ruby/node.h > node_name.inc
echo '' > .objs/kernel_data.c
/Developer/usr/bin/llvm-gcc -arch x86_64 -fexceptions -fno-stack-protector -fwrapv -I. -I./include -I./icu-1060  --emit-llvm -c kernel.c -o .objs/kernel-x86_64.bc
/usr/local/bin/opt -O3 .objs/kernel-x86_64.bc -o=.objs/kernel-x86_64.bc
/usr/local/bin/opt: .objs/kernel-x86_64.bc: Invalid ALLOCA record
rake aborted!
Command failed with status (1): [/usr/local/bin/opt -O3 .objs/kernel-x86_64...]

Thanks a lot.


More information about the MacRuby-devel mailing list