From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95304 invoked by alias); 20 Jul 2015 18:19:09 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 95293 invoked by uid 89); 20 Jul 2015 18:19:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 20 Jul 2015 18:19:07 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 900AD3673DC for ; Mon, 20 Jul 2015 18:19:06 +0000 (UTC) Received: from [10.3.113.178] (ovpn-113-178.phx2.redhat.com [10.3.113.178]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6KIJ6vd009333 for ; Mon, 20 Jul 2015 14:19:06 -0400 Subject: Re: [ANNOUNCEMENT] Updated for 32-bit, new for 64-bit: libsigsegv-2.10-2 To: cygwin-apps@cygwin.com References: <55AA9882.1030407@redhat.com> <20150718201106.GE3864@calimero.vinschen.de> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Message-ID: <55AD3B95.9050809@redhat.com> Date: Mon, 20 Jul 2015 18:19:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20150718201106.GE3864@calimero.vinschen.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NQJu5w90E41GJteGd1JvE204gkMPTXRth" X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00142.txt.bz2 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NQJu5w90E41GJteGd1JvE204gkMPTXRth Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1168 On 07/18/2015 02:11 PM, Corinna Vinschen wrote: >> m4 was >> originally creating an alternate stack of 16k in size, based on a pure >> guess that it would be large enough (since the headers didn't declare >> any constant otherwise); but cygwin's sigaltstack() requires an >> alternate stack of 64k or larger. >=20 > No, 32K (MINSIGSTKSZ) is sufficient. >=20 >> I see a couple of options: >> >> 1. see if we can relax cygwin.dll to live with a 16k alternate stack >=20 > So, what about MINSIGSTKSZ =3D=3D 8192 and SIGSTKSZ =3D=3D 32768? >=20 > Or MINSIGSTKSZ =3D=3D 16384 and SIGSTKSZ =3D=3D 65536? >=20 > That could go into Cygwin 2.2.0 which I could release next week. I just tested: m4-1.4.17-1 (which uses the 16k alt-stack, compared to 1.4.17-2 using 64k) coupled with the test cygwin 2.2.0-0.1 is once again able to make use of libsigsegv-2.10-2. And if I recompile m4 against cygwin 2.2.0-0.1 headers, I end up with a 32k stack which also works. That means that so far, I have not found any problems with your new smaller stack sizing requirements. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --NQJu5w90E41GJteGd1JvE204gkMPTXRth Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 604 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVrTuVAAoJEKeha0olJ0NqEmkH/1yI4aVy1DgC2/b4aCUgHtTL WljQsENYYzUTU/LfwUzcObRwnXTGJK0coTNz0X7oAuo5VsRquQFbgzRmoJtgAgmJ KeNmiC5MIBPYILMEebwQjwpdhIzMiEpOpS7RyzjBe2vpfgenQc2MgIBaI78UTbht UtwnjmbTJj8R15Eyxjlesy3b1QO0MvD7PyzMcSoWFRzrL/DUXS7Hya/+fYvPZV2B SNmACyy9AJogS3tyVxn4HHkCG7NlMx8rwI+Ig83BVnoS6v9HfB7s78SY198HkFLW kG2/5vAzAjsA9zSx5K8j3X6QspK2Ixp5Ee1KIkCIWfmHI9DCN9q50ct+I6qAmJk= =lKgP -----END PGP SIGNATURE----- --NQJu5w90E41GJteGd1JvE204gkMPTXRth--