I bet that http://llvm.org/viewvc/llvm-project?rev=101965&view=rev wasn't picked in the 0.7 release :-(
Laurent On Apr 28, 2010, at 12:19 PM, Craig S. Bosma wrote: > Looks like it was crashing on this line: > > $INCFLAGS << ' -I../../icu-1060' #if `sw_vers -productVersion`.to_f <= 10.6 > > Which I changed to: > > $INCFLAGS << ' -I../../icu-1060' if `sw_vers -productVersion`.strip < '10.7' > > Though I'm not sure if that's really correct. I suppose it was choking on > converting '10.6.3' to a single-decimal point float. > > On Apr 28, 2010, at 1:43 PM, Craig S. Bosma wrote: > >> Now that LLVM 2.7 has been released, I thought I'd have a go at building >> macruby trunk against it. I had to build LLVM with RTTI support enabled, and >> made some minor patches to get through the initial compilation stage >> (basically removing includes of ModuleProvider.h and use of >> ExistingModuleProvider -- attached). Compiling with LLVM_TOT then seemed to >> be progressing well until it segfaulted here: >> >> /usr/bin/gcc -I. -I../../include -I../../include/ruby/backward >> -I../../include -I. -DHAVE_EDITLINE_READLINE_H -DHAVE_RL_GETC_FUNCTION >> -DHAVE_RL_FILENAME_COMPLETION_FUNCTION -DHAVE_RL_COMPLETION_MATCHES >> -DHAVE_RL_DEPREP_TERM_FUNCTION -DHAVE_RL_COMPLETION_APPEND_CHARACTER >> -DHAVE_RL_BASIC_WORD_BREAK_CHARACTERS >> -DHAVE_RL_COMPLETER_WORD_BREAK_CHARACTERS >> -DHAVE_RL_COMPLETER_QUOTE_CHARACTERS -DHAVE_RL_ATTEMPTED_COMPLETION_OVER >> -DHAVE_RL_LIBRARY_VERSION -DHAVE_RL_LINE_BUFFER -DHAVE_RL_POINT >> -DHAVE_RL_CLEANUP_AFTER_SIGNAL -DHAVE_RL_SET_SCREEN_SIZE >> -DHAVE_RL_GET_SCREEN_SIZE -DHAVE_REPLACE_HISTORY_ENTRY -DHAVE_REMOVE_HISTORY >> -DHAVE_CLEAR_HISTORY -fno-common -fexceptions -fno-common -pipe -O3 -g >> -Wall -Wno-parentheses -arch i386 -arch x86_64 -o readline.o -c readline.c >> /usr/bin/gcc -dynamic -bundle -undefined suppress -flat_namespace -arch i386 >> -arch x86_64 -o readline.bundle readline.o -L. -L../.. -arch i386 -arch >> x86_64 -lmacruby -ledit -lncurses >> cd ext/ripper && ../../miniruby -I../.. -I../../lib -r rbconfig -e >> "RbConfig::CONFIG['libdir'] = '../..'; require './extconf.rb'" >> checking for bison... yes >> unknown: [BUG] Segmentation fault >> MacRuby version 0.6 (ruby 1.9.0) [universal-darwin10.0, x86_64] >> >> sh: line 1: 95261 Abort trap ../../miniruby -I../.. -I../../lib >> -r rbconfig -e "RbConfig::CONFIG['libdir'] = '../..'; require './extconf.rb'" >> rake aborted! >> Command failed with status (134): [cd ext/ripper && ../../miniruby -I../.. >> -I...] >> >> Any idea what's going wrong here? My knowledge of macruby and llvm is >> somewhat limited. I'm building on 10.6, btw. >> >> Craig >> > > _______________________________________________ > 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