delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/26/07:13:14

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=IvLVxhpINQd/z5WZmurPOL0ZhryAokOvJQFSH+q1/rFp1xkAnaMrX
RpAbF/4lxmcgTDaE2uvSi5v8fQpvp62j7W1Pz00S6HZRpsk3tgVtb1rkv2M40yUq
cm6OyRTRtOKg7yqfWLg7Ij0YIEmtf7zpsLILA9XQiFkBilTp/L6Ii0=
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=hbEXQCtL3/o2825wwSX443FdfSI=; b=ZF3MJPWCjwK8FysX6zsA9vT9+CSa
qGtA74pcMQJCvb/VpACvytQ1VcJIggexBXKErYBbh0gwAGJxzUzOnu1Xorps+Sr/
SYqxYPrd7lygXirIHeh8waNFdhI7eAmecaVpe4EfAem07QXDTtDMFbqsDMzAijlY
18cIfLdy7XiTyqc=
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=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 26 Jun 2015 13:12:49 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.1.0-0.1
Message-ID: <20150626111249.GS31223@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20150620205512 DOT GA28301 AT calimero DOT vinschen DOT de> <558706D5 DOT 1020508 AT cornell DOT edu> <20150622110835 DOT GE28301 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20150622110835.GE28301@calimero.vinschen.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

Hi Ken,

On Jun 22 13:08, Corinna Vinschen wrote:
> On Jun 21 14:47, Ken Brown wrote:
> > On 6/20/2015 4:55 PM, Corinna Vinschen wrote:
> > >- First cut of an implementation to allow signal handlers running on an
> > >   alternate signal stack.
> > >
> > >- New API sigaltstack, plus definitions for SA_ONSTACK, SS_ONSTACK, SS=
_DISABLE,
> > >   MINSIGSTKSZ, SIGSTKSZ.
> >=20
> > I must be doing something wrong.  Shouldn't including signal.h make the=
 new
> > API available?
> >=20
> > $ uname -a
> > CYGWIN_NT-6.1-WOW fiona 2.1.0(0.287/5/3) 2015-06-20 21:44 i686 Cygwin
> >=20
> > $ cygcheck -cd cygwin-devel
> > Cygwin Package Information
> > Package              Version
> > cygwin-devel         2.1.0-0.1
> >=20
> > $ cat test.c
> > #include <signal.h>
> > int
> > main()
> > {
> >   int foo =3D SIGSTKSZ;
> >   return 0;
> > }
> >=20
> > $ gcc test.c
> > test.c: In function =E2=80=98main=E2=80=99:
> > test.c:6:13: error: =E2=80=98SIGSTKSZ=E2=80=99 undeclared (first use in=
 this function)
> >    int foo =3D SIGSTKSZ;
> >              ^
>=20
> You're not doing anything wrong.  The relevant definitions in
> sys/signal.h were originally only available for RTEMS.  I just
> made them availbale for all platforms.  The problem was that the
> orignal code missed to include sys/cdefs.h, which is required to
> get the macros guarding the definitions.  I fixed that in the git
> repo.
>=20
> I also made a bigger change to code setting up the alternate stack when
> calling the signal handler function.  It turned out that my code moving
> to the new stack missed to safe all potentially clobbered volatile
> registers on both platforms.
>=20
> I'll upload new snapshots and 2.1.0-0.2 test releases shortly.

did you have a chance to test this a bit, in the meantime?


Thanks,
Corinna

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

--+hz2tM55CCA8Ej21
Content-Type: application/pgp-signature

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

iQIcBAEBCAAGBQJVjTOxAAoJEPU2Bp2uRE+g0ZYQAJO0iVAxmPHsKbWH/THEXZvO
Sxp5yLZzp43Zkd9rejlLb/J2wTTvNTq+hHtED0/AtRBLhc1vkd22E2RWLC4BD1Fr
YMkxmXRM+9dCkuA3lvp0grI0nlsCl/aXLxVPI16LH0OjuG/wJUlXL+aJD9LQuv4/
aAZBqCkWSP0EDkt85o0ZAmO8/0keyWtBbpFTi80D9X3IhkL8x5Ye8Ikk80LfWsvE
SDS1U/C9uh7B9aWaOg8W8R12YoRHPvMBVyS4kk0HRjMgulFn+dLekXHJeA/YeRZE
W7rdX0oyPt4/HTZDlNMuk5H+xkQ36CRYYPITJhIg1WZPZQ+KorSXPr81yWyiH0Sr
3+TU4NfFjBzBH+iB/SkRP05Y/HPPzhLm+8I2ItGqw6NLeRDJnK4zbyal/bKJrDBn
8oMFRNhHEom2A+gq4RrmR5NGisABq2xQgc+UWRQT/LTkgjTKoI9GHAJqD4Pkvgx4
nYY5KqsXMwUI8k2ZR1MWnVEspI9br+tRdXpuxU1GVNm9gAi2Hgk8BAEt9YIKYU0v
W3/95/WQqkZzM099HmVH3lJ6A9pQBrxEq/zfFb0N6EABfT2ofVbjJfxBT8FamW8F
dkpPuipxCkQ3Fc64qZ9cGSijvZCfoehBfMFSYVe/KUcT54h3N22o9QhNy7W0u6Zs
fZpx9upTTwBzXTDUy9CQ
=BYS1
-----END PGP SIGNATURE-----

--+hz2tM55CCA8Ej21--

- Raw text -


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