From: Luis Lavena Date: 2010-11-29T09:53:44+09:00 Subject: [ruby-core:33454] Re: Planning to release 1.8.7 fixes on 12/25 (Japanese timezone) On Sun, Nov 28, 2010 at 8:19 PM, Urabe Shyouhei wrote: > (2010/11/28 5:55), Luis Lavena wrote: >> 1) I was unable to run tests (make check) for it: > > This is because you are using a source from a git repo. �It doesn't happen on > our canonical svn code. Interesting, that didn't happen with ruby_1_8_6 or trunk. > >> 2) Cross compilation fails on dl compilation, while it works on >> ruby_1_8 branch, reported in #4094 > > I believe this has been fixed... �Can you show us your fake.rb? > $ cat fake.rb \ class Object; \ CROSS_COMPILING = RUBY_PLATFORM; \ remove_const :RUBY_PLATFORM; \ remove_const :RUBY_VERSION; \ RUBY_PLATFORM = "i386-mingw32"; \ RUBY_VERSION = "1.8.7"; \ end; \ if RUBY_PLATFORM =~ /mswin|bccwin|mingw/; \ class File; \ remove_const :ALT_SEPARATOR; \ ALT_SEPARATOR = "\\"; \ end; \ end; \ prehook = proc do |e|; \ Config::MAKEFILE_CONFIG["top_srcdir"] = $top_srcdir = "../ruby" unless e; \ untrace_var(:$extmk, prehook); \ end; \ trace_var(:$extmk, prehook); \ ==== But ruby_1_8 branch is different: (i386-mingw32-fake.rb) class Object CROSS_COMPILING = RUBY_PLATFORM remove_const :RUBY_PLATFORM remove_const :RUBY_VERSION remove_const :RUBY_DESCRIPTION if defined?(RUBY_DESCRIPTION) RUBY_PLATFORM = "i386-mingw32" RUBY_VERSION = "1.8.8" RUBY_DESCRIPTION = "ruby #{RUBY_VERSION} (#{Time.now.strftime("%Y-%m-%d")}) [#{RUBY_PLATFORM}]" end if RUBY_PLATFORM =~ /mswin|bccwin|mingw/ class File remove_const :ALT_SEPARATOR ALT_SEPARATOR = "\\" end end ==== I understand this change was introduced on ruby_1_8 by my request: http://redmine.ruby-lang.org/issues/show/2531 But that is all I can dig and understand around the issue. Sorry for not been more helpful. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup�ry