This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [64bit] cygwin-devel headers broken
- From: "J. Offerman" <jofferman at gmail dot com>
- To: Cygwin List <cygwin at cygwin dot com>
- Date: Fri, 1 May 2015 13:23:52 -0700
- Subject: Re: [64bit] cygwin-devel headers broken
- Authentication-results: sourceware.org; auth=none
- References: <554279F0 dot 5040505 at towo dot net> <5543090D dot 9030409 at gmail dot com> <55436D3A dot 2050200 at dronecode dot org dot uk>
Yes, xserver builds on Cygwin 2.0.1-1 now. It failed because of
"select" being undeclared.
On Fri, May 1, 2015 at 5:10 AM, Jon TURNEY <jon.turney@dronecode.org.uk> wrote:
> 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
>
--
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