As indicated in the readme, you have to compile MacRuby with a specific version 
of LLVM (prior 3.0)

-m
Sent from my iPhone

On Dec 11, 2011, at 16:50, Maik Kempe <r...@breaking-limits.com> wrote:

> 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.
> 
> Maik
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to