[MacRuby] #1193: Could not compile with LLVM 2.8 in r5276.

MacRuby ruby-noreply at macosforge.org
Mon Mar 14 08:11:46 PDT 2011

#1193: Could not compile with LLVM 2.8 in r5276.
 Reporter:  kouji@…           |       Owner:  lsansonetti@…        
     Type:  enhancement       |      Status:  new                  
 Priority:  major             |   Milestone:                       
Component:  MacRuby           |    Keywords:                       
 I use llvm-2.8 for compiling MacRuby. Today, I updated source code to
 I got below error in compile.
 /usr/bin/g++-4.2 -I. -I./include -fblocks -g -Wall -Wno-deprecated-
 declarations -Werror -arch x86_64  -I/usr/local/include   -D_GNU_SOURCE
 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O0   -fno-rtti -fno-common
 -Woverloaded-virtual -I./icu-1060 -c main.cpp -o .objs/main.o
 In file included from main.cpp:8:
 llvm.h:21:38: error: llvm/Analysis/DIBuilder.h: No such file or directory
 In file included from vm.h:593,
                  from main.cpp:17:
 compiler.h:83: error: ISO C++ forbids declaration of ‘DIBuilder’ with no
 compiler.h:83: error: expected ‘;’ before ‘*’ token
 rake aborted!
 Command failed with status (1): [/usr/bin/g++-4.2 -I. -I./include -fblocks

 (See full trace by running task with --trace)

Ticket URL: <http://www.macruby.org/trac/ticket/1193>
MacRuby <http://macruby.org/>

More information about the macruby-tickets mailing list