delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/01/08:11:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=N4KJNm/zVb1VKAWlvuobRWX74JTLPpFjxyMukg2hb6O
o8Ax3vFWvzv46S6sfRj+xesDv4v2XficfcOnvydyAtM0VPaox+qZECI5CrAU4ALG
bsFDQ4wLwEIjI7PFzhoI0D1ng6eLr0H/A7gCzfrSLIIYR73+XtIhEYmqMg33bmeE
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=aiA5bZEckBYDvKJXefsznL0T4yo=; b=Wca3BKdntpN3uNzCG
+HKv/P8RwcZLR9HMBuJmMMLXmzEFuNVwlwovuhKOt9eqliGEitBeFv1wxwCLJBSG
5RrPuNrAvs8hKQGBG1GPW6OjYydCjfLThALsq3XsaMHu0tZpIwNtTR7Ze26+e1xn
oCoO2Cg6CDWinfE6q6au7URR3Y=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
X-HELO: out1-smtp.messagingengine.com
Message-ID: <55436D3A.2050200@dronecode.org.uk>
Date: Fri, 01 May 2015 13:10:34 +0100
From: Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [64bit] cygwin-devel headers broken
References: <554279F0 DOT 5040505 AT towo DOT net> <5543090D DOT 9030409 AT gmail DOT com>
In-Reply-To: <5543090D.9030409@gmail.com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019