I have the same problem on 10.5 -- it goes back to r3438
Before that I have the followting error:
disable optimizations when compiling re.c
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/tr...@3399
23306eb0-4c56-4727-a40e-e92c0eb68959
/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 -std=c99 -c signal.c -o signal.o
signal.c:23:31: error: dispatch/dispatch.h: No such file or directory
signal.c:24:28: error: dispatch/queue.h: No such file or directory
signal.c:23:31: error: dispatch/dispatch.h: No such file or directory
signal.c:24:28: error: dispatch/queue.h: No such file or directory
lipo: can't open input file:
/var/folders/Qi/QiwLLAwKFdeRSa7pt-+7tk+++TI/-Tmp-//cc1znyB6.out (No such file
or directory)
rake aborted!
Command failed with status (1): [/usr/bin/gcc -I. -I./include -I./onig
-I/u...]
(See full trace by running task with --trace)
which goes back to 3337, and before that I get
/usr/bin/g++ -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -O2 -fno-common -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 'llvm::Value*
RoxorCompiler::compile_dispatch_call(std::vector<llvm::Value*,
std::allocator<llvm::Value*> >&)':
compiler.cpp:755: error: 'class llvm::DIFactory' has no member named
'InsertStopPoint'
compiler.cpp: In member function 'llvm::Value*
RoxorCompiler::compile_slot_cache(long unsigned int)':
compiler.cpp:1136: error: no matching function for call to
'llvm::Instruction::clone(llvm::LLVMContext&)'
/usr/local/include/llvm/Instruction.h:51: note: candidates are:
llvm::Instruction* llvm::Instruction::clone() const
compiler.cpp: In member function 'llvm::Value*
RoxorCompiler::compile_landing_pad_header(const std::type_info&)':
compiler.cpp:1877: error: 'eh_selector_i64' is not a member of 'llvm::Intrinsic'
compiler.cpp:1915: error: 'eh_typeid_for_i64' is not a member of
'llvm::Intrinsic'
compiler.cpp: In member function 'llvm::Value*
RoxorCompiler::compile_dispatch_call(std::vector<llvm::Value*,
std::allocator<llvm::Value*> >&)':
compiler.cpp:755: error: 'class llvm::DIFactory' has no member named
'InsertStopPoint'
compiler.cpp: In member function 'llvm::Value*
RoxorCompiler::compile_slot_cache(long unsigned int)':
compiler.cpp:1136: error: no matching function for call to
'llvm::Instruction::clone(llvm::LLVMContext&)'
/usr/local/include/llvm/Instruction.h:51: note: candidates are:
llvm::Instruction* llvm::Instruction::clone() const
compiler.cpp: In member function 'void
RoxorCompiler::compile_ivar_slots(llvm::Value*, llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction> >&,
llvm::ilist_iterator<llvm::Instruction>)':
compiler.cpp:2980: error: no matching function for call to
'llvm::Instruction::clone(llvm::LLVMContext&)'
/usr/local/include/llvm/Instruction.h:51: note: candidates are:
llvm::Instruction* llvm::Instruction::clone() const
compiler.cpp: In member function 'llvm::Value*
RoxorCompiler::compile_landing_pad_header(const std::type_info&)':
compiler.cpp:1880: error: 'eh_selector_i32' is not a member of 'llvm::Intrinsic'
compiler.cpp:1918: error: 'eh_typeid_for_i32' is not a member of
'llvm::Intrinsic'
compiler.cpp: In member function 'void
RoxorCompiler::compile_ivar_slots(llvm::Value*, llvm::iplist<llvm::Instruction,
llvm::ilist_traits<llvm::Instruction> >&,
llvm::ilist_iterator<llvm::Instruction>)':
compiler.cpp:2980: error: no matching function for call to
'llvm::Instruction::clone(llvm::LLVMContext&)'
/usr/local/include/llvm/Instruction.h:51: note: candidates are:
llvm::Instruction* llvm::Instruction::clone() const
lipo: can't figure out the architecture type of:
/var/folders/Qi/QiwLLAwKFdeRSa7pt-+7tk+++TI/-Tmp-//ccJVfimM.out
rake aborted!
Command failed with status (1): [/usr/bin/g++ -I/usr/local/include -D_DEBU...]
so...guess it's time to get my hackintosh on snow leopard :/
Cheerio,
Michael Johnston
[email protected]
On 2010-03-01, at 8:21 AM, Otto Hemmi wrote:
> I'm on OS X 10.5.8
>
> I just tried to build mac ruby, llvm went fine but i get the following
> message on trunk..
>
> rake
> (in /Users/ottohemmi/playspace/macruby/MacRuby)
> /usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
> rm miniprelude.c.new
> /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 -std=c99 -c array.c -o array.o
> array.c: In function ‘rary_reserve’:
> array.c:53: error: invalid type argument of ‘->’
> array.c:53: error: invalid type argument of ‘->’
> array.c:53: error: invalid type argument of ‘->’
> array.c: In function ‘rary_reserve’:
> array.c:53: error: invalid type argument of ‘->’
> array.c:53: error: invalid type argument of ‘->’
> array.c:53: error: invalid type argument of ‘->’
> lipo: can't open input file:
> /var/folders/xu/xu6U7fp2E9KsfBlEEWfmkU+++TI/-Tmp-//ccJ3BQDP.out (No such file
> or directory)
> rake aborted!
> Command failed with status (1): [/usr/bin/gcc -I. -I./include -I./onig
> -I/u...]
>
> (See full trace by running task with --trace)
>
> and then i get the following message on the 5.0 build...
>
>
>
> (in /Users/ottohemmi/playspace/macruby/MacRuby-0.5)
> /usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
> rm miniprelude.c.new
> /usr/bin/g++ -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 -std=c99 array.o bignum.o class.o
> compar.o complex.o enum.o enumerator.o error.o eval.o file.o load.o proc.o
> gc.o hash.o inits.o io.o math.o numeric.o object.o pack.o parse.o prec.o
> dir.o process.o random.o range.o rational.o re.o onig/regcomp.o onig/regext.o
> onig/regposix.o onig/regenc.o onig/reggnu.o onig/regsyntax.o onig/regerror.o
> onig/regparse.o onig/regtrav.o onig/regexec.o onig/regposerr.o
> onig/regversion.o onig/enc/ascii.o onig/enc/unicode.o onig/enc/utf8.o
> onig/enc/euc_jp.o onig/enc/sjis.o onig/enc/iso8859_1.o onig/enc/utf16_be.o
> onig/enc/utf16_le.o onig/enc/utf32_be.o onig/enc/utf32_le.o ruby.o signal.o
> sprintf.o st.o string.o struct.o time.o transcode.o util.o variable.o
> version.o thread.o id.o objc.o bs.o encoding.o main.o dln.o dmyext.o
> marshal.o gcd.o vm_eval.o miniprelude.o gc-stub.o bridgesupport.o compiler.o
> dispatcher.o vm.o MacRuby.o -L/usr/local/lib -lpthread -lffi -lm
> -lLLVMBitWriter /usr/local/lib/LLVMX86CodeGen.o -lLLVMSelectionDAG
> -lLLVMAsmPrinter /usr/local/lib/LLVMExecutionEngine.o
> /usr/local/lib/LLVMJIT.o -lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils
> -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMCore -lLLVMSupport -lLLVMSystem
> -lpthread -ldl -lxml2 -lobjc -lauto -framework Foundation -o miniruby
> ld: dispatcher.o built with different Garbage Collection settings for
> architecture i386
> collect2: ld returned 1 exit status
> ld: dispatcher.o built with different Garbage Collection settings for
> architecture x86_64
> collect2: ld returned 1 exit status
> lipo: can't open input file:
> /var/folders/xu/xu6U7fp2E9KsfBlEEWfmkU+++TI/-Tmp-//ccHNszPj.out (No such file
> or directory)
> rake aborted!
> Command failed with status (1): [/usr/bin/g++ -I. -I./include -I./onig
> -I/u...]
>
> (See full trace by running task with --trace)
>
>
> Any thing else i can provide please let me know, or if i should submit a bug
> about this.
>
> Thanks,
> Otto Hemmi
> _______________________________________________
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel