[MacRuby] #771: Can't build trunk (revision 4317)
#771: Can't build trunk (revision 4317) -----------------------------------+---------------------------------------- Reporter: matthew@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- I can't build a fresh trunk checkout (revision 4317). {{{ local:MacRuby matt$ rake ... /usr/bin/g++-4.2 -I. -I./include -g -Wall -Wno-deprecated-declarations -Werror -arch i386 -arch x86_64 -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno- rtti -fno-common -Woverloaded-virtual -I./icu-1060 -c compiler.cpp -o .objs/compiler.o compiler.cpp: In member function ‘void RoxorCompiler::attach_current_line_metadata(llvm::Instruction*)’: compiler.cpp:819: error: no matching function for call to ‘llvm::Instruction::setMetadata(unsigned int&, llvm::DILocation&)’ /usr/local/include/llvm/Instruction.h:154: note: candidates are: void llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*) /usr/local/include/llvm/Instruction.h:155: note: void llvm::Instruction::setMetadata(const char*, llvm::MDNode*) compiler.cpp: In member function ‘void RoxorCompiler::inline_function_calls(llvm::Function*)’: compiler.cpp:2530: error: ‘InlineFunctionInfo’ was not declared in this scope compiler.cpp:2530: error: expected `;' before ‘IFI’ compiler.cpp:2533: error: ‘IFI’ was not declared in this scope compiler.cpp: In member function ‘void RoxorCompiler::attach_current_line_metadata(llvm::Instruction*)’: compiler.cpp:819: error: no matching function for call to ‘llvm::Instruction::setMetadata(unsigned int&, llvm::DILocation&)’ /usr/local/include/llvm/Instruction.h:154: note: candidates are: void llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*) /usr/local/include/llvm/Instruction.h:155: note: void llvm::Instruction::setMetadata(const char*, llvm::MDNode*) compiler.cpp: In member function ‘void RoxorCompiler::inline_function_calls(llvm::Function*)’: compiler.cpp:2530: error: ‘InlineFunctionInfo’ was not declared in this scope compiler.cpp:2530: error: expected `;' before ‘IFI’ compiler.cpp:2533: error: ‘IFI’ was not declared in this scope lipo: can't figure out the architecture type of: /var/folders/3C/3CBVDxtjGZKtJcnqlRTFiE+++TI/-Tmp-//ccjcQaTw.out rake aborted! Command failed with status (1): [/usr/bin/g++-4.2 -I. -I./include -g -Wall ...] (See full trace by running task with --trace) }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/771> MacRuby <http://macruby.org/>
#771: Can't build trunk (revision 4317) -----------------------------------+---------------------------------------- Reporter: matthew@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Comment(by martinlagardette@…): Hi, thanks for the report, but we need more information: - What OS are you running? 10.5? 10.6? - What version of LLVM did you build & install? We recently changed the required LLVM version, you can check in the `README.rdoc` :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/771#comment:1> MacRuby <http://macruby.org/>
#771: Can't build trunk (revision 4317) -----------------------------------+---------------------------------------- Reporter: matthew@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Comment(by matthew@…): I'm running 10.6.4 with LLVM 2.7 (the latest stable version). I see that you recommend building a particular revision--is this required? -- Ticket URL: <http://www.macruby.org/trac/ticket/771#comment:2> MacRuby <http://macruby.org/>
#771: Can't build trunk (revision 4317) -----------------------------------+---------------------------------------- Reporter: matthew@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Comment(by martinlagardette@…): Replying to [comment:2 matthew@…]:
I see that you recommend building a particular revision--is this required?
Unfortunately, yes :-). LLVM APIs change so much, we can only rely on specific versions, and try to update from times to times. If you're willing to build this specific revision, can you tell us if you can compile MacRuby after that? :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/771#comment:3> MacRuby <http://macruby.org/>
#771: Can't build trunk (revision 4317) -----------------------------------+---------------------------------------- Reporter: matthew@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: worksforme Keywords: | -----------------------------------+---------------------------------------- Changes (by mattaimonetti@…): * status: new => closed * resolution: => worksforme Comment: Since it looks like you were not on the required LLVM version, I will close this ticket. Feel free to reopen it or comment if you think there is still a problem. Thanks again for taking the time to file a ticket. -- Ticket URL: <http://www.macruby.org/trac/ticket/771#comment:4> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby