Forum: Ruby-core build failure on 26861 using msys/mingw

Posted by Jon Forums (jonm)
on 2010-03-09 19:27
(Received via mailing list)
Can anyone replicate?  I've recently updated both binutils and the mingw 
runtime so this may very well be my configuration.

Jon


...
gcc -I. -I../../.ext/include/i386-mingw32 -I../.././include 
-I../.././ext/coverage -DRUBY_EXTC
ONF_H=\"extconf.h\" -Ic:/gnuwin32/zlib/include   -O0 -pipe -g3 -ggdb 
-Wextra -Wno-unused-param
eter -Wno-parentheses -Wpointer-arith -Wwrite-strings 
-Wno-missing-field-initializers -Wno-lon
g-long  -o coverage.o -c coverage.c
gcc -shared  -o ../../.ext/i386-mingw32/coverage.so coverage.o -L. 
-L../.. -L. -Lc:/gnuwin32/z
lib/lib -Wl,--enable-auto-image-base,--enable-auto-import 
coverage-i386-mingw32.def  -lmsvcrt-
ruby191  -lshell32 -lws2_32
make[1]: Leaving directory 
`/c/Users/Jon/Documents/RubyDev/build/ext/coverage'
compiling curses
compiling dbm
compiling digest
make[1]: Entering directory 
`/c/Users/Jon/Documents/RubyDev/build/ext/digest'
../../miniruby.exe -I'../..' -I'../.././lib' -I'../../.ext/i386-mingw32' 
-I'../../.ext/common'
 -I./- -I'../.././ext' -rpurelib.rb -e "puts 'EXPORTS', 'Init_digest'" 
> digest-i386-mingw32.
def
make[1]: *** [digest-i386-mingw32.def] Error 5
make[1]: Leaving directory 
`/c/Users/Jon/Documents/RubyDev/build/ext/digest'
make: *** [mkmain.sh] Error 1
Posted by Roger Pack (Guest)
on 2010-03-09 22:50
(Received via mailing list)
> Can anyone replicate?  I've recently updated both binutils and the mingw runtime so this may very well be my configuration.

builds ok here (with an older version of msys).
-rp
Posted by Jon Forums (jonm)
on 2010-03-09 23:05
(Received via mailing list)
> > Can anyone replicate?  I've recently updated both binutils and the mingw runtime so this may very well be my configuration.
> 
> builds ok here (with an older version of msys).
> -rp

Thanks, I likely caught in an intermediate state as 26862 builds fine 
with gcc-4.4.0, mingwrt-3.18, w32api-3.14, and binutils-2.20.1-2. 
(completely unrelated, upx cannot pack miniruby.exe now due to upx not 
supporting TLS callbacks...interesting but a don't care for me.)

Jon
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.