[cfe-dev] MacRuby issues
रजनीश
rdogra at earthlink.net
Thu Mar 26 21:32:22 PDT 2009
MacRuby Rakefile passes -fno-common twice when compiling ext directory.
May be clang can strip out duplicate entries before passing it to
clang-cc.
~/Developer/MacRuby/ext/bigdecimal-> clang -I. -I../../.ext/include/
universal-darwin9.0 -I..//.././include -I..//.././ext/bigdecimal -
DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -fno-common -pipe -O2 -g -
Wall -Wno-parentheses -arch i386 -o bigdecimal.o -c bigdecimal.c
clang: warning: argument unused during compilation: '-Wno-parentheses'
clang-cc: for the -fno-common option: : may only occur zero or one
times!
Also MacRuby currently doesn't compile in x86_64 arch when it uses
miniruby to run
/usr/bin/make on the ext directory. It basically segments faults while
running this command. i386 runs this just fine so does gcc. may be
it is bad code generation.
GC_DISABLE=1 ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb
ext/extmk.rb --make="/usr/bin/make" --dest-dir="" --extout=".ext" --
mflags="" --make-flags="" --extension --extstatic
More information about the cfe-dev
mailing list