[MacRuby-devel] Problems building r4303 trunk

Kenny Lovrin kenny at ustwo.se
Tue Jun 29 12:29:31 PDT 2010


Hi

I've been trying to build the MacRuby trunk for a few weeks now, but can't
get it to work. Via twitter I heard that r4303 fixed an issue with building,
so I just gave it a shot with the following result:

$ rake

echo '' > .objs/kernel_data.c
/Developer/usr/bin/llvm-gcc -arch i386 -fexceptions -fno-stack-protector -I.
-I./include -I./icu-1060  --emit-llvm -c kernel.c -o .objs/kernel-i386.bc
/usr/local/bin/opt -O3 .objs/kernel-i386.bc -o=.objs/kernel-i386.bc
/bin/dd if=/dev/zero count=1 bs=1 conv=notrunc >> .objs/kernel-i386.bc
2>/dev/null
/usr/bin/xxd -i .objs/kernel-i386.bc >> .objs/kernel_data.c
/Developer/usr/bin/llvm-gcc -arch x86_64 -fexceptions -fno-stack-protector
-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
/bin/dd if=/dev/zero count=1 bs=1 conv=notrunc >> .objs/kernel-x86_64.bc
2>/dev/null
/usr/bin/xxd -i .objs/kernel-x86_64.bc >> .objs/kernel_data.c
/usr/bin/gcc-4.2 -std=c99 -I. -I./include -fno-common -pipe -g -Wall
-fexceptions -O3 -Wno-deprecated-declarations -Werror -arch i386 -arch
x86_64 -I./icu-1060 -c array.c -o .objs/array.o
Assertion failed: ((b->flags & flags) == flags), function
rb_vm_prepare_block, file dispatcher.cpp, line 1773.
Abort trap


This is after installing r106781 of llvm as described in both the commit log
and the updated README.
I am suspecting the problem is me, but I was wondering if there is anything
I can do to make it build? I have two computers on different versions of
MacRuby now, where one of them supports a gem i am using (managed to build
trunk a while ago), but I can't build trunk on my other machine (or any of
them actually), so I can't code on that machine. :)

Thanks,
Kenny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100629/6a40f140/attachment.html>


More information about the MacRuby-devel mailing list