delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/15/03:51:42

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=yOGit0fhaim13p+V+pDkDFjbbTltgdBlMquEwutrOflkTJSoUZCCv
yHzYN6vGUG5YrEmdWfaKVNtkL30FnCCcbXzFMrGZEkO6MORIxEbJ8C7HwL4Z8XS4
eW/ouU2Rm2gubbMhGgGngnIRWUZ3jYWgWPyjTAhKpliv0hlZWM6d0o=
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=FGkHdbp7lkIFwssK/S/rOHeTTZM=; b=ur4dFNxfJaAFgM+SOoN7ypdF4CdE
B44lD9bvzhVwzu2YB36G9LjGypAHqBI43B1ikg3nzd0Y5zn+UBKk/wVcLR7K8f5k
Ub/nYHLhRgy4zZTP3jn7Xlp/ekWRTCOfXnSKJhL+xdB5uQwSz+PdzsZAJ7bLAERJ
WLqRvrnc4/t7UCY=
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=-2.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,URIBL_BLACK autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 15 Jul 2015 09:51:17 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: TEST RELEASE: Cygwin 2.1.0-0.4
Message-ID: <20150715075117.GA19844@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20150705213417 DOT GH2918 AT calimero DOT vinschen DOT de> <70AD8D85-7D30-4894-857B-4FD12E55BBBE AT etr-usa DOT com> <55A58727 DOT 6060807 AT redhat DOT com> <55A5C073 DOT 1020401 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <55A5C073.1020401@cornell.edu>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

Hi guys,

On Jul 14 22:07, Ken Brown wrote:
> On 7/14/2015 6:03 PM, Eric Blake wrote:
> >On 07/08/2015 01:39 PM, Warren Young wrote:
> >>A search for "sigaltstack=E2=80=9D on code.openhub.net found only 95 pr=
ojects with this string in their source code, almost entirely consisting of=
 *receivers* of that call, such as NetBSD, glibc, and a bunch of Linux fork=
s.
> >
> >libsigsegv is a cygwin package (currently 32-bit only) that has
> >configure checks to use sigaltstack if present; I have not yet tested if
> >it can be configured to work with the new API, but hope to do so in the
> >near future.  In fact, if sigaltstack works, it may finally be possible
> >to port libsigsegv to 64-bit cygwin (the reason the current package is
> >not ported to 64-bit is that libsigsegv is relying on raw assembly and
> >Windows native calls to emulate the lack of sigaltstack; but if
> >sigaltstack works, then we don't need to port the 64-bit counterpart for
> >the 32-bit specific hacks).
>=20
> I just did a quick test, and it looks promising.  I removed all
> Cygwin-specific code from configure.ac and Makefile.am (see attached patc=
h),
> and it then built on 64-bit Cygwin.  Here's the result of 'make check':
>=20
> Entering directory
> '/home/kbrown/src/cyglibsigsegv/libsigsegv-2.10-1.x86_64/build/tests'
> Test passed.
> PASS: sigsegv1.exe
> Test passed.
> PASS: sigsegv2.exe
> Doing SIGSEGV pass 1.
> Stack overflow 1 caught.
> Doing SIGSEGV pass 2.
> Stack overflow 2 caught.
> Test passed.
> PASS: sigsegv3.exe
> SKIP: stackoverflow1.exe
> SKIP: stackoverflow2.exe

Any idea why these two tests have been skipped?  That means the
HAVE_STACK_OVERFLOW_RECOVERY autoconf test failed.  You removed cygwin
from the explicit

  mingw* | cygwin*) sv_cv_have_stack_overflow_recovery=3Dyes ;;

which is the right thing to do, but that means CFG_LEAVE has been
set to leave-none.c, apparently.

I haven't much time to look into that right now, but will later today if
you don't beat me to it.

> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> All 3 tests passed
> (2 tests were not run)
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> [...]
> Please send the following summary line via email to the main author
> Bruno Haible <bruno AT clisp DOT org> for inclusion into the list of
> successfully tested platforms (see PORTING file).
>=20
> libsigsegv: x86_64-unknown-cygwin | yes | no | 2.10
>=20
> >I'm not the cygwin packager for libsigsegv,
>=20
> No one is; it's orphaned.
>=20
> >but am one of the upstream
> >contributors, and so this thread has piqued my interest.
>=20
> So it seems that you would be the obvious person to maintain it, if you h=
ave
> the time.  If you don't have the time, I'd be willing to ITA it just to g=
et
> it into the 64-bit distro.  But in that case I'd appreciate it if you wou=
ld
> review my build after I send the ITA, since you actually know something
> about libsigsegv, and I don't.

Thanks a lot, this is most helpful.


Corinna

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

--envbJBWh7q8WU6mo
Content-Type: application/pgp-signature

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

iQIcBAEBCAAGBQJVphD1AAoJEPU2Bp2uRE+gGs4P/jOskJvXpaPWqbgvx1f2U5rq
n6aOzYDALWevoXChnE/vvbXrujAkoDXPrrR6uUFMuyuc6enP/56zQeNbsL5vn+FQ
vWjZxbE5Tnmte5eyBnkEl4cCaCmWfUeUjXhiHV37qIJGn0YJGiAyP6Tt81sy26ts
rRfG0rj9WEOI2hfWoeSQ08ErlJ+jJYyJF2RFBCZQ2OgfbonwY6uLhIKWbLI0U3C4
05/a/IAYxk5wCoaG0OGhzzA7L6VLxKH64Cuod26+4hucols/ENzvN+9Heqr2hwlf
PY/E6218GiwqgqPJfowSGr9q7E6uXbpzJEuQJ9h8z5DFshb70hX10E0Kk+VOHnwF
Y4rKlgskF8BSBryr3cfs3tjEp8+kzlKr44o9LRB9WnF5W99HZf3E41/p7cEF5Nk1
kZJKFXHtV4BBXM4AwlSTMlR2WTCIkhTWfrQl/tGz3qnR6T8gM/pia1YqmFQNVj+X
eQpCeo7+8aB5EcTdDGrkzi4+oGNYnUl2xI5Q5UNGofNnPDcW7pL7v65xXbDvzCRW
UNr/IxVQYSzar31D8eYpSgMj2c9sYsYDsxiStXromKmTvl9J/zaAin1B7OAIkrgA
fH0hAgFKftyA+GoiylJbGgJPwR7nE3Kl/Mkve7RJKtm7intC/5LLkRJtaPrHTn4G
Oygr4YJ3lqBFXEHehoSM
=fCft
-----END PGP SIGNATURE-----

--envbJBWh7q8WU6mo--

- Raw text -


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