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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: <558706D5 DOT 1020508 AT cornell DOT edu> <20150622110835 DOT GE28301 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+hz2tM55CCA8Ej21" Content-Disposition: inline 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 > > 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--