delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/17/15:17:29

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=wu+qbGFrwuFiVghS01fVRS1r60JYR83uvFZjgs3C5+UYET3U2sOoS
Z0pCkM8SXZv04Ifux+c4FtS+eHKyDT3BrKwvR8fXvoPsCKuREpVrBP89i3C55Fws
fRpxtgoxiHPPZGusKojnN/AaNFGf2M1BoF6HnaqMOLn4Oph/0TZHig=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=KTgIJ86gRZHMbmDyGGoFrQ+6FMM=; b=Iooq+AyQEpbGIcg2UfjGkFv8n/j9
lA5f/Bc7ReNceO55uKdpdczTLb8rtGY6K51Fbj9jLfgYd+BVpejevU6iPSI84SYr
nlefLCbomfrZ0NlzRnwlNekdIGUpVJQanhuWRMqWoDqimemTRajWuHRb/IDOEN+W
lU90jb5JR7jWByc=
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=-101.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=puzzled, HX-HELO:sk:calimer, H*r:188.192.47, Hx-spam-relays-external:sk:ipbcc02
X-HELO: calimero.vinschen.de
Date: Thu, 17 Dec 2015 21:17:09 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.11
Message-ID: <20151217201709.GA28305@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20151216164848 DOT GM3507 AT calimero DOT vinschen DOT de> <5671EFF8 DOT 6030804 AT cornell DOT edu> <20151217093634 DOT GP3507 AT calimero DOT vinschen DOT de> <56730350 DOT 1080002 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <56730350.1080002@cornell.edu>
User-Agent: Mutt/1.5.23 (2014-03-12)

--RnlQjJ0d97Da+TV1
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Dec 17 13:47, Ken Brown wrote:
> Hi Corinna,
>=20
> On 12/17/2015 4:36 AM, Corinna Vinschen wrote:
> >Hi Ken,
> >
> >On Dec 16 18:12, Ken Brown wrote:
> >>On 12/16/2015 11:48 AM, Corinna Vinschen wrote:
> >>>- The header file layout has been cleaned up, mostly in terms of the
> >>>    sys/select.h, sys/signal.h and sys/types.h files.  This is a gener=
ic
> >>>    change in newlib and aligns the affected headers more closely to
> >>>    the FreeBSD layout.
> >>
> >>These changes are leading to lots of errors when building emacs:
> >>
> >>/usr/include/cygwin/signal.h:178:3: error: unknown type name =E2=80=98p=
thread_attr_t=E2=80=99
> >>
> >>/usr/include/cygwin/signal.h:213:3: error: unknown type name =E2=80=98p=
id_t=E2=80=99
> >>
> >>/usr/include/cygwin/signal.h:230:2: error: unknown type name =E2=80=98t=
imer_t=E2=80=99
> >>
> >>/usr/include/sys/signal.h:211:6: error: #error You need the winsup sour=
ces or a cygwin installation to compile the cygwin version of newlib.
> >>
> >>/usr/include/sys/signal.h:214:5: error: unknown type name =E2=80=98pthr=
ead_t=E2=80=99
> >>
> >>/usr/include/sys/time.h:104:34: error: unknown type name =E2=80=98u_int=
=E2=80=99
> >>
> >>[... and many more]
> >
> >This puzzles me.  It looks like you're missing sys/types.h when
> >including sys/signal,h, but sys/signal.h includes sys/types.h by
> >itself, prior to including cygwin/signal.h.
> >
> >How can I reproduce this?  An STC like this:
> >
> >   #include <signal.h>
> >   main () {}
> >
> >is definitely not sufficient.
>=20
> Sorry, I hadn't looked at what was happening closely enough before sending
> my mail.  The errors occur while compiling some Gnulib modules in the ema=
cs
> source tree.  It may take me a while to sort this out. Maybe Gnulib will
> have to be patched to take Cygwin's new header layout into account.

I'm still puzzled.  The changes, especially to sys/signal.h and
cygwin/signal.h are rather minor.  The really big thing is to move the
macros related to select(2) from sys/types.h, where they never really
belonged to, into sys/select.h, rather than including sys/types.h from
sys/select.h.  Especially the changes to sys/signal.h and cygwin/signal.h
don't really add up to the error messages you encounter.  I inspected
the files today and I really don't see how this could happen :(


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--RnlQjJ0d97Da+TV1
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWcxhFAAoJEPU2Bp2uRE+gsKQQAIQ+FtNZ7/Xwn4cQQbPRbuNX
V1uXZDgdCcZfkSVBIBOe9OqX2+bnaZuzQEe6vJAc2e4L+UflS0Vu0bX6eyT4tv7k
ztJ6SeAibfH0dRBKsldP0WPwIKJL05lQ1CIHLjQb3aRZMFYd930flTghx/OK+w4V
ZuaETqQNi1v+B9Bwqg9YyGvckqqikKyLPv0wyLn/V81NcP0ivBJs/401KllugNZm
SLW1jZ86etKeArEER1g5gBtgRPLmo3fMkv0k+uoZhVNEDKBGZKwTsP0zkMWPfIMj
8gLEv8n31p/wQRACZVgZimnPfqErB2iobs5WaAQc4q6d7jBm1HGX/rM+lwEmGf69
0TLZN27t6JSImuImZ2XtuJ2MtJfTwdKu13vFYb0O5Yn12+TrCr2IiHPTPcZAoc9r
+uAX3O5545W9kjaNbdwfhFSk1jahS7qVSIdr6yTIYs8bm/LBqJe9OFvjSucjLT/A
dK62Kdg2je9vzXtcGoL3urIn9Y09Eahg2X9pTPP274hqic8BH9VcGCL4r9taVJXt
LfyW/DoMRSEwgBPU9KhY4u4jTcpsxb4ez+0wzS9LZRJoLE9Z36mg7yISjX7vR0n5
GeRrKE1r0mgPuzsGxF9qUgpI/C2bjwVIA5vHjFmsB3GBwez9u16cDSmboCj39Sf8
Cj/V2Uy3uNYy2wCJUwXG
=pLN6
-----END PGP SIGNATURE-----

--RnlQjJ0d97Da+TV1--

- Raw text -


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