#256: Compilation is broken ------------------------------------+--------------------------------------- Reporter: hipertracker@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: compilation trunk ------------------------------------+--------------------------------------- I cannot compile MacRuby from source. Mac OS-X 10.5.7 (PowerMac, 2x2.8GHz Xeon) MacRuby SVN rev1579 llvm v2.5.0 (installed with MacPorts) {{{ # rake (in /usr/local/src/macruby-experimental) /usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new rm miniprelude.c.new /usr/bin/g++ -I/opt/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64 -Wno-parentheses -Wno- deprecated-declarations -Werror -c roxor.cpp -o roxor.o roxor.cpp: In member function ‘void RoxorJITManager::SetDlsymTable(void*)’: roxor.cpp:136: error: ‘class llvm::JITMemoryManager’ has no member named ‘SetDlsymTable’ roxor.cpp: In member function ‘void* RoxorJITManager::getDlsymTable() const’: roxor.cpp:140: error: ‘class llvm::JITMemoryManager’ has no member named ‘getDlsymTable’ roxor.cpp: In member function ‘void RoxorJITManager::SetDlsymTable(void*)’: roxor.cpp:136: error: ‘class llvm::JITMemoryManager’ has no member named ‘SetDlsymTable’ roxor.cpp: In member function ‘void* RoxorJITManager::getDlsymTable() const’: roxor.cpp:140: error: ‘class llvm::JITMemoryManager’ has no member named ‘getDlsymTable’ lipo: can't figure out the architecture type of: /var/tmp//ccLRmo1B.out rake aborted! Command failed with status (1): [/usr/bin/g++ -I/opt/local/include -D_DEBU...] }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/256> MacRuby <http://macruby.org/>
#256: Compilation is broken ------------------------------------+--------------------------------------- Reporter: hipertracker@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: invalid Keywords: compilation trunk | ------------------------------------+--------------------------------------- Changes (by mattaimonetti@…): * status: new => closed * resolution: => invalid Comment: You are not trying to compile trunk but the experimental branch. For the moment only miniruby compiles properly. We are aware of the situation and this is going to be solved soon. Thanks for the taking the time to file a ticket tho. -- Ticket URL: <http://www.macruby.org/trac/ticket/256#comment:1> MacRuby <http://macruby.org/>
#256: Compilation is broken ------------------------------------+--------------------------------------- Reporter: hipertracker@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: invalid Keywords: compilation trunk | ------------------------------------+--------------------------------------- Comment(by vincent.isambart@…):
llvm v2.5.0 (installed with MacPorts)
The experimental branch won't compile with llvm 2.5.0, it requires a more recent version (trunk) of llvm. llvm 2.5 has problems with exception handling. From README.rdoc: {{{ * LLVM trunk, compiled for both i386 and x86_64. In case trunk reveals to be unstable we recommend revision 67244. $ svn co -r 67244 https://llvm.org/svn/llvm-project/llvm/trunk llvm- trunk $ cd llvm-trunk $ ./configure $ UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" ENABLE_OPTIMIZED=1 make $ sudo env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" ENABLE_OPTIMIZED=1 make install }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/256#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby