trunk thread.c build failure (Windows mingw)
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.
../../../../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
Updated by nobu (Nobuyoshi Nakada) about 11 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
Updated by jonforums (Jon Forums) about 11 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.