Bug #3655

Win7/MinGW build fail on trunk at 28857

Added by Jon Forums over 4 years ago. Updated almost 4 years ago.

[ruby-core:31620]
Status:Closed
Priority:Normal
Assignee:-
ruby -v:built with ruby 1.8.7 (2010-06-23 patchlevel 299) [i386-mingw32] Backport:

Description

=begin
When using MSYS + MinGW 4.5.0 (TDM-based) on Win7 Ultimate 32-bit I get the following failure. This build error does not occur on the ruby_1_9_2 branch.

./configure --enable-shared --disable-install-doc --with-baseruby="c:/ruby187/bin/ruby.exe" --prefix="c:/ruby_trunk_test"
make

...
gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrit
e-strings -Wno-missing-field-initializers -Wno-long-long -L. -Wl,--stack,0x0020
0000,--enable-auto-import main.o dmydln.o dmyencoding.o dmyversion.o miniprelu
de.o array.o bignum.o class.o compar.o complex.o dir.o dln_find.o enum.o enumera
tor.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o mat
h.o node.o numeric.o object.o pack.o parse.o process.o random.o range.o rational
.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o sa
fe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o transcode.o uti
l.o variable.o compile.o debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o u
s_ascii.o unicode.o utf_8.o newline.o langinfo.o fileblocks.o crypt.o lgamma_r.o
strlcpy.o strlcat.o ffs.o win32.o dmyext.o -lshell32 -lws2_32 -limagehlp -o
miniruby.exe
rbconfig.rb updated
./miniruby.exe -I./lib -I.ext/common ./enc/make_encmake.rb --builtin-encs="asci
i.o us_ascii.o unicode.o utf_8.o" --builtin-transes="newline.o" enc.mk
C:/Users/Jon/Documents/RubyDev/ruby-trunk/lib/mkmf.rb:291:in attr_accessor': can't modify frozen class/module (RuntimeError)
from C:/Users/Jon/Documents/RubyDev/ruby-trunk/lib/mkmf.rb:291:in
singletonclass'
from C:/Users/Jon/Documents/RubyDev/ruby-trunk/lib/mkmf.rb:290:in <module:Logging>'
from C:/Users/Jon/Documents/RubyDev/ruby-trunk/lib/mkmf.rb:236:in
'
from ./enc/make_encmake.rb:8:in load'
from ./enc/make_encmake.rb:8:in
'
make: *** [enc.mk] Error 1
=end

History

#1 Updated by Jon Forums over 4 years ago

=begin
28859 successfully builds with both the above 4.5.0 configuration and the MinGW 3.4.5 based build recipes from http://github.com/oneclick/rubyinstaller

Thank you. Please close.

Jon
=end

#2 Updated by Usaku NAKAMURA over 4 years ago

  • Status changed from Open to Closed

=begin

=end

Also available in: Atom PDF