Bug #3655
closedWin7/MinGW build fail on trunk at 28857
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
<top(required)>'
from ./enc/make_encmake.rb:8:in load' from ./enc/make_encmake.rb:8:in
'
make: *** [enc.mk] Error 1
=end