[MacRuby-devel] Build problems

Otto Hemmi ottoman01 at gmail.com
Mon Mar 1 08:21:46 PST 2010


 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100301/9a1f4137/attachment.html>


More information about the MacRuby-devel mailing list