Backport #2485
closedcannot cross-compile 1.8.7-p174 with 1.8.7-p174
Description
=begin
Apologies if I'm being stubborn but the previous statements in ticket #2464 and #2484 for 1.9.1 version are not true.
I just tried to compile Ruby 1.8.7-p174 using 1.8.7-p174, as indicated in the DevelopersHowto recently edited, with the exact same results:
Creating library file: libmsvcrt-ruby18.dll.a
/home/luis/.rake-compiler/sources/ruby-1.8.7-p174/ext/extmk.rb:356: undefined method `<<' for nil:NilClass (NoMethodError)
make: *** [all] Error 1
Added '-v' option to MINIRUBY in the Makefile, and the results match:
Creating library file: libmsvcrt-ruby18.dll.a
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
/home/luis/.rake-compiler/sources/ruby-1.8.7-p174/ext/extmk.rb:356: undefined method `<<' for nil:NilClass (NoMethodError)
make: *** [all] Error 1
This also happens for 1.9.1, which will be reported in it's own ticket. This also happens on Ubuntu 9.10 with GCC 4.3 and OSX 10.5 (Leopard)
This contradicts the previous statement and rejection of being invalid, as this issue is clearly not a mismatch of version but clearly a bug.
Please let me know if you require more details or be willing to accept a patch for the different issues exposed here and in the other bug reports already rejected.
Thank you.¶
Luis Lavena
=end
Files
Updated by usa (Usaku NAKAMURA) almost 15 years ago
=begin
Please show us rbconfig.rb.
=end
Updated by luislavena (Luis Lavena) almost 15 years ago
- File rbconfig.rb rbconfig.rb added
=begin
Find attached rbconfig.rb generated during cross-compile.
=end
Updated by usa (Usaku NAKAMURA) almost 15 years ago
=begin
Sorry to ask frequently, please show us config.status, too.
It's mysterious that I can not find the definition of CONFIG["MINIRUBY"] and CONFIG["RUNRUBY"]...
=end
Updated by luislavena (Luis Lavena) almost 15 years ago
- File config.status config.status added
- File config.log.zip config.log.zip added
=begin
I was thinking exactly the same. That was the reason I added the -v option to see which version of Ruby was used.
Find attached both config.status and config.log
Thank you.
=end
Updated by usa (Usaku NAKAMURA) almost 15 years ago
=begin
OK, I've found the point and the solution.
It's already fixed on ruby_1_8 branch, but not backported to ruby_1_8_7.
(ruby_1_8_6 seems to be no problem.)
Shyouhei, can you backport r22931 and r23086?
=end
Updated by usa (Usaku NAKAMURA) almost 15 years ago
- Status changed from Open to Assigned
- Assignee changed from naruse (Yui NARUSE) to shyouhei (Shyouhei Urabe)
=begin
=end
Updated by luislavena (Luis Lavena) almost 15 years ago
=begin
Awesome news!
Now will fill a bug report for 1.9.1-p376 cross compiling with 1.9.1-p376 ;-)
Thank you again.
=end
Updated by shyouhei (Shyouhei Urabe) almost 15 years ago
- Status changed from Assigned to Closed
=begin
Shyouhei, can you backport r22931 and r23086?
done.
=end