From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89099 invoked by alias); 1 May 2015 20:23:56 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 89078 invoked by uid 89); 1 May 2015 20:23:56 -0000 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 Received: from mail-pd0-f176.google.com (HELO mail-pd0-f176.google.com) (209.85.192.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 01 May 2015 20:23:54 +0000 Received: by pdea3 with SMTP id a3so101855390pde.3 for ; Fri, 01 May 2015 13:23:53 -0700 (PDT) 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) Received: by 10.70.62.41 with HTTP; Fri, 1 May 2015 13:23:52 -0700 (PDT) In-Reply-To: <55436D3A.2050200@dronecode.org.uk> References: <554279F0.5040505@towo.net> <5543090D.9030409@gmail.com> <55436D3A.2050200@dronecode.org.uk> Date: Fri, 01 May 2015 20:25:00 -0000 Message-ID: Subject: Re: [64bit] cygwin-devel headers broken From: "J. Offerman" To: Cygwin List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00017.txt.bz2 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 wr= ote: > 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/l= ibpolys/ >> >> reporter/si_signals.h: In function =E2=80=98int si_select(int, _types_fd= _set*, >> _types_fd >> _set*, _types_fd_set*, timeval*)=E2=80=99: >> >> /pub/devel/singular/prova/singular-4.0.2a-1.x86_64/src/singular-4.0.2a/l= ibpolys/ >> >> reporter/si_signals.h:47:63: error: =E2=80=98select=E2=80=99 was not dec= lared 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