From: Nobuyoshi Nakada Date: 2009-05-07T14:03:40+09:00 Subject: [ruby-core:23378] Re: [Bug #1388] cygwin-1.7, gcc4-4.3, and ruby-1.9. make btest #236 test_io.rb Segmentation fault Hi, At Fri, 1 May 2009 00:57:41 +0900, neomjp neomjp wrote in [ruby-core:23340]: > Conficting part is _longjmp. Here is the relevant part of setjmp.h from > cygwin-1.7 . > $ sed -n 317,323p /usr/include/machine/setjmp.h > #ifdef __CYGWIN__ > extern void _longjmp(jmp_buf, int); > extern int _setjmp(jmp_buf); Yes of course, longjmp() never return and must not be int. > > Previously, it couldn't work with THREAD_MODEL=win32, maybe > > something improved with cygwin 1.7? > > I investigated this furthur, and found that it is probably not the > case. This Makefile variable THREAD_MODEL is used in two places in > (un)common.mk, the variable VM_CORE_H_INCLUDES and the prerequisite for > thread.o: I meant very early implementation, but not current one. It had used Windows threads at first. -- Nobu Nakada