Bug #4640

trunk thread.c build failure (Windows mingw)

Added by Jon Forums almost 3 years ago. Updated almost 3 years ago.

Target version:1.9.3
ruby -v:ruby 1.9.2p192 (2011-05-01 revision 31404) [i386-mingw32] Backport:


While attempting to build trunk@31407 I get the following failure using both mingw.org GCC 4.5.2 and tdm-gcc GCC 4.5.2 on Win7 Ultimate 32-bit. The build successfully completes and "make test" passes when trying to reproduce with Arch 2.6.38.

I suspect trunk@31396 to be the root cause.

compiling ../../../../Users/Jon/Documents/RubyDev/ruby-git/vm.c
compiling ../../../../Users/Jon/Documents/RubyDev/ruby-git/vmdump.c
compiling ../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c
../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c: In function 'do
../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c:2527:2: error: implicit declaration of function 'rbw32fdcopy'
make: *** [thread.o] Error 1

Associated revisions

Revision 31408
Added by Nobuyoshi Nakada almost 3 years ago

  • include/ruby/intern.h (rbw32fdcopy): add prototype. fixes #4640


#1 Updated by Nobuyoshi Nakada almost 3 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r31408.
Jon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

  • include/ruby/intern.h (rbw32fdcopy): add prototype. fixes #4640

#2 Updated by Jon Forums almost 3 years ago

Thank you Nobu.

The build completes OK on Arch and tdm-gcc 4.5.2 (Win7 32-bit) but "make test" appears to hang/stick (timeout?) somewhere in test_thread.rb.

I'll try with mingw 4.5.2 and mingw-w64 4.5.3 and report back if there's anything relevant.

Also available in: Atom PDF