Project

General

Profile

Actions

Backport #2485

closed

cannot cross-compile 1.8.7-p174 with 1.8.7-p174

Added by luislavena (Luis Lavena) over 14 years ago. Updated almost 13 years ago.


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 `

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 `

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

rbconfig.rb (6.75 KB) rbconfig.rb cat .rake-compiler/builds/ruby-1.8.7-p174/rbconfig.rb luislavena (Luis Lavena), 12/16/2009 03:20 PM
config.status (25.4 KB) config.status luislavena (Luis Lavena), 12/16/2009 04:28 PM
config.log.zip (19 KB) config.log.zip luislavena (Luis Lavena), 12/16/2009 04:28 PM
Actions #1

Updated by usa (Usaku NAKAMURA) over 14 years ago

=begin
Please show us rbconfig.rb.
=end

Actions #2

Updated by luislavena (Luis Lavena) over 14 years ago

=begin
Find attached rbconfig.rb generated during cross-compile.

=end

Actions #3

Updated by usa (Usaku NAKAMURA) over 14 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) over 14 years ago

=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

Actions #5

Updated by usa (Usaku NAKAMURA) over 14 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

Actions #6

Updated by usa (Usaku NAKAMURA) over 14 years ago

  • Status changed from Open to Assigned
  • Assignee changed from naruse (Yui NARUSE) to shyouhei (Shyouhei Urabe)

=begin

=end

Actions #7

Updated by luislavena (Luis Lavena) over 14 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

Actions #8

Updated by shyouhei (Shyouhei Urabe) over 14 years ago

  • Status changed from Assigned to Closed

=begin

Shyouhei, can you backport r22931 and r23086?

done.

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0