Project

General

Profile

Bug #1849

Failed to compile ruby 1.9.1-p129 with MinGW 4.4.0

Added by leledumbo (Mario Ray Mahardhika) about 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
ruby -v:
Can't execute, it doesn't even build!
[ruby-core:24644]

Description

=begin
Here's my configure command:
./configure --prefix=/c/ruby --disable-pthread --enable-shared
--disable-install-doc optflags='-s -O4' debugflags='' && make && make
test && make install

And here's a few last lines of the output:
Creating library file: libmsvcrt-ruby191.dll.a
objcopy -w -L 'Init_*' msvcrt-ruby191.dll
./miniruby.exe -I./lib -I.ext/common -I./- -r./ext/purelib.rb
./tool/generic_er
b.rb -c -o encdb.h ./template/encdb.h.tmpl ./enc enc
D:/Sources/ruby/ruby-1.9.1-p129/lib/optparse.rb:1310: [BUG] Segmentation
fault
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]

-- control frame ----------
c:0013 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :catch
c:0012 p:0049 s:0056 b:0056 l:0025b0 d:00069c BLOCK
D:/Sources/ruby/ruby-1.9.1-
p129/lib/optparse.rb:1310
c:0011 p:---- s:0050 b:0050 l:000049 d:000049 FINISH
c:0010 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :catch
c:0009 p:0062 s:0044 b:0044 l:0025b0 d:0025b0 METHOD
D:/Sources/ruby/ruby-1.9.1-
p129/lib/optparse.rb:1258
c:0008 p:0024 s:0034 b:0034 l:000033 d:000033 METHOD
D:/Sources/ruby/ruby-1.9.1-
p129/lib/optparse.rb:1252
c:0007 p:0066 s:0029 b:0029 l:000814 d:000d60 BLOCK
./tool/generic_erb.rb:12
c:0006 p:0114 s:0026 b:0026 l:000025 d:000025 METHOD
D:/Sources/ruby/ruby-1.9.1-
p129/lib/optparse.rb:793
c:0005 p:---- s:0020 b:0020 l:000019 d:000019 FINISH
c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new
c:0003 p:0069 s:0015 b:0015 l:000814 d:001ea8 EVAL
./tool/generic_erb.rb:8
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000814 d:000814 TOP :308


-- Ruby level backtrace
information-----------------------------------------
D:/Sources/ruby/ruby-1.9.1-p129/lib/optparse.rb:1310:in catch'
D:/Sources/ruby/ruby-1.9.1-p129/lib/optparse.rb:1310:in
block in
parse_in_order
'
D:/Sources/ruby/ruby-1.9.1-p129/lib/optparse.rb:1258:in catch'
D:/Sources/ruby/ruby-1.9.1-p129/lib/optparse.rb:1258:in
parse_in_order'
D:/Sources/ruby/ruby-1.9.1-p129/lib/optparse.rb:1252:in order!'
./tool/generic_erb.rb:12:in
block in '
D:/Sources/ruby/ruby-1.9.1-p129/lib/optparse.rb:793:in initialize'
./tool/generic_erb.rb:8:in
new'
./tool/generic_erb.rb:8:in `'

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
make: *** [encdb.h] Error 3
=end

History

#1

Updated by rogerdpack (Roger Pack) about 10 years ago

=begin
have you tried compiling trunk?
=end

#2

Updated by leledumbo (Mario Ray Mahardhika) about 10 years ago

=begin
Err... nope. Btw, a new p-243 has just been uploaded. I'll try with that one first.
=end

#3

Updated by leledumbo (Mario Ray Mahardhika) about 10 years ago

=begin
p243 seems to fix the problem
=end

#4

Updated by naruse (Yui NARUSE) almost 10 years ago

  • Status changed from Open to Closed

=begin

=end

Also available in: Atom PDF