[64bit] cygwin-devel headers broken

Jon TURNEY jon.turney@dronecode.org.uk
Fri May 1 12:10:00 GMT 2015


On 01/05/2015 06:03, Marco Atzeri wrote:
> On 4/30/2015 8:52 PM, Thomas Wolff wrote:
>> There is a crash issue induced on cygwin-64 (not on -32) after
>> compilation with cygwin-devel 2.0.0 include files. I am recompiling my
>> editor mined and it crashes, maybe immediately or after typing
>> non-trivial input (like function keys, waiting for input with select()).
>> It does not occur after recompiling only certain source files, but it
>> happens after recompiling only io.c which makes heavy use of terminal
>> I/O like read(), select(), ioctl().
>>
>> Reverting the cygwin-devel package to 1.7 (and leaving everything else
>> up-to-date) solves the issue.
>> Selective copying of files from the cygwin-devel 2.0 package further
>> reveals:
>> /lib: all from 2.0: no problem.
>> /usr/include/sys: all from 2.0 except the following: no problem.
>> But if signal.h, stat.h, time.h, types.h, and associated dependencies
>> are used, the compiled program crashes.
>> I can try to narrow down the issue further but maybe this is a clue
>> already?
>>
>> ------
>> Thomas
>>
>
> I had a similar issue. But in my case the compilation fails as
> select seems gone:

It seems that sys/select.h is no longer implicitly included by some 
other header, I think probably sys/time.h.

> In file included from
> /pub/devel/singular/prova/singular-4.0.2a-1.x86_64/src/sin
> gular-4.0.2a/libpolys/reporter/s_buff.cc:16:0:
> /pub/devel/singular/prova/singular-4.0.2a-1.x86_64/src/singular-4.0.2a/libpolys/
>
> reporter/si_signals.h: In function ‘int si_select(int, _types_fd_set*,
> _types_fd
> _set*, _types_fd_set*, timeval*)’:
> /pub/devel/singular/prova/singular-4.0.2a-1.x86_64/src/singular-4.0.2a/libpolys/
>
> reporter/si_signals.h:47:63: error: ‘select’ was not declared in this scope
>                      (nfds,readfds, writefds, exceptfds, timeout)
>                                                                 ^

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list