[MacRuby] #302: 0.5 in trunk does not compile
#302: 0.5 in trunk does not compile ---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: bug compile ---------------------------------+------------------------------------------ I'm getting the following error when running 'rake' to compile MacRuby. Running rake as root, and I install llvm via MacPorts. ---------- /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror -c dmyext.c -o dmyext.o /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror -c vm_eval.c -o vm_eval.o /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror -c prelude.c -o prelude.o /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror -c miniprelude.c -o miniprelude.o /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror -fobjc-gc-only -c gc-stub.m -o gc- stub.o /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 bridgesupport.cpp -o bridgesupport.o /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 compiler.cpp -o compiler.o compiler.cpp: In member function ‘virtual llvm::Function* RoxorAOTCompiler::compile_main_function(NODE*)’: compiler.cpp:5057: error: ‘getSigned’ is not a member of ‘llvm::ConstantInt’ compiler.cpp: In member function ‘virtual llvm::Function* RoxorAOTCompiler::compile_main_function(NODE*)’: compiler.cpp:5057: error: ‘getSigned’ is not a member of ‘llvm::ConstantInt’ lipo: can't figure out the architecture type of: /var/tmp//ccBBI8SW.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/302> MacRuby <http://macruby.org/>
#302: 0.5 in trunk does not compile ---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: bug compile ---------------------------------+------------------------------------------ Comment(by kieran776@…): Didn't format well. I've put it at http://pastie.org/573600 -- Ticket URL: <http://www.macruby.org/trac/ticket/302#comment:1> MacRuby <http://macruby.org/>
#302: 0.5 in trunk does not compile ---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: invalid Keywords: bug compile | ---------------------------------+------------------------------------------ Changes (by vincent.isambart@…): * status: new => closed * resolution: => invalid Comment: The current MacRuby won't work with MacPorts' LLVM. You must use the version mentioned in the README.rdoc file. Someone made an installer for it (I haven't tried the installer but I can assure you compiling LLVM is really troublesome): http://lists.macosforge.org/pipermail/macruby- devel/2009-June/001906.html In fact MacRuby 0.5 was started before LLVM 2.5, but bugs in the final 2.5 prevented MacRuby to work correctly with it. We hope we will be able to get MacRuby 0.5 to work on the final 2.6 when it will be released but we can't promise anything. -- Ticket URL: <http://www.macruby.org/trac/ticket/302#comment:2> MacRuby <http://macruby.org/>
#302: 0.5 in trunk does not compile ---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: invalid Keywords: bug compile | ---------------------------------+------------------------------------------ Comment(by kieran776@…): So in order for someone to ship MacRuby/HotCocoa apps, the person using it has to take the trouble to compile.... or is the lvvm something that can be bundled in a lightweight form? -- Ticket URL: <http://www.macruby.org/trac/ticket/302#comment:3> MacRuby <http://macruby.org/>
Looks like it's impossible to log in for this bug, so I'm replying by e-mail... Building LLVM and MacRuby is only for the developer and LLVM is statically linked. In order to ship your app you can either bundle MacRuby.framework or compile it ahead-of-time (this one is still under development). Laurent On Aug 5, 2009, at 11:33 PM, MacRuby wrote:
#302: 0.5 in trunk does not compile --------------------------------- +------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: invalid Keywords: bug compile | --------------------------------- +------------------------------------------
Comment(by kieran776@…):
So in order for someone to ship MacRuby/HotCocoa apps, the person using it has to take the trouble to compile.... or is the lvvm something that can be bundled in a lightweight form?
-- Ticket URL: <http://www.macruby.org/trac/ticket/302#comment:3> MacRuby <http://macruby.org/>
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
The inability to login has been fixed. -Bill On Aug 5, 2009, at 11:50 PM, Laurent Sansonetti wrote:
Looks like it's impossible to log in for this bug, so I'm replying by e-mail...
Building LLVM and MacRuby is only for the developer and LLVM is statically linked. In order to ship your app you can either bundle MacRuby.framework or compile it ahead-of-time (this one is still under development).
Laurent
On Aug 5, 2009, at 11:33 PM, MacRuby wrote:
#302: 0.5 in trunk does not compile --------------------------------- +------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: invalid Keywords: bug compile | --------------------------------- +------------------------------------------
Comment(by kieran776@…):
So in order for someone to ship MacRuby/HotCocoa apps, the person using it has to take the trouble to compile.... or is the lvvm something that can be bundled in a lightweight form?
-- Ticket URL: <http://www.macruby.org/trac/ticket/302#comment:3> MacRuby <http://macruby.org/>
_______________________________________________ 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
#302: 0.5 in trunk does not compile ---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: invalid Keywords: bug compile | ---------------------------------+------------------------------------------ Comment(by vincent.isambart@…): Laurent's answer on the mailing list (http://lists.macosforge.org/pipermail/macruby- devel/2009-August/002175.html): Building LLVM and MacRuby is only for the developer and LLVM is statically linked. In order to ship your app you can either bundle MacRuby.framework or compile it ahead-of-time (this one is still under development). -- Ticket URL: <http://www.macruby.org/trac/ticket/302#comment:4> MacRuby <http://macruby.org/>
participants (3)
-
Laurent Sansonetti
-
MacRuby
-
William Siegrist