This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [64bit] cygwin-devel headers broken
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 01 May 2015 07:03:09 +0200
- Subject: Re: [64bit] cygwin-devel headers broken
- Authentication-results: sourceware.org; auth=none
- References: <554279F0 dot 5040505 at towo dot net>
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:
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)
^
/pub/devel/singular/prova/singular-4.0.2a-1.x86_64/src/singular-4.0.2a/libpolys/
reporter/si_signals.h:33:16: note: in definition of macro
âSI_EINTR_SAVE_FUNC_TE
MPLATEâ
res = func args; \
^
/pub/devel/singular/prova/singular-4.0.2a-1.x86_64/src/singular-4.0.2a/libpolys/
reporter/si_signals.h:44:1: note: in expansion of macro âSI_EINTR_SAVE_FUNCâ
SI_EINTR_SAVE_FUNC(int, select,
^
cheers
Marco
--
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