delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/01/16:24:12

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; q=dns; s=default; b=pPBpsD7bhykf2wZn
oUG9bQB0orvHPmK6bOD94U/RT/ZdO1Ew0auQ2wDSRTPEn8uSia0QlDGQ6n2Td5iz
LaltyrDuBbc8aCn9EQXLaknGJPUI09PEdYg33PIBuFJ4effik3xR6G/zx+hZWDj5
NC2AYCqmFFG6D+vHo7zYk5hDPZw=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; s=default; bh=/NpUR3JoCaZ22nQKzyg4sQ
Rcipo=; b=hf/WY3pJyl8pgq2+ibJCpGAoKSiS2MONfBH66tcuWcvFQBYxVlk2Lt
vfgbbopE+2aUtHSWb8jVVVNrxOelWth3lXrwi9N8wK1SADAmnmxrzrvTRJToy9Cb
OJ6WDK91cmwpCBGqwvS6RpC8VwfGtIsIcDUj4hgyHzz1rJNqExumw=
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=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-pd0-f176.google.com
MIME-Version: 1.0
X-Received: by 10.68.106.226 with SMTP id gx2mr21080502pbb.78.1430511832885; Fri, 01 May 2015 13:23:52 -0700 (PDT)
In-Reply-To: <55436D3A.2050200@dronecode.org.uk>
References: <554279F0 DOT 5040505 AT towo DOT net> <5543090D DOT 9030409 AT gmail DOT com> <55436D3A DOT 2050200 AT dronecode DOT org DOT uk>
Date: Fri, 1 May 2015 13:23:52 -0700
Message-ID: <CA+2me80prbcG_uODmRTmsvoqJL0YXayKiLyYirU8v76ZdFrX4A@mail.gmail.com>
Subject: Re: [64bit] cygwin-devel headers broken
From: "J. Offerman" <jofferman AT gmail DOT com>
To: Cygwin List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t41KO8et023964

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 DOT turney AT dronecode DOT org DOT 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


- Raw text -


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