Project

General

Profile

Actions

Bug #4640

closed

trunk thread.c build failure (Windows mingw)

Added by jonforums (Jon Forums) over 13 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2p192 (2011-05-01 revision 31404) [i386-mingw32]
Backport:
[ruby-core:35970]

Description

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/vm_dump.c
compiling ../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c
../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c: In function 'do_select':
../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c:2527:2: error: implicit declaration of function 'rb_w32_fdcopy'
make: *** [thread.o] Error 1

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 13 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 (rb_w32_fdcopy): add prototype. fixes
    #4640

Updated by jonforums (Jon Forums) over 13 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0