delorie.com/archives/browse.cgi | search |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type; q=dns; s=default; b=vvK242 | |
e+GaO6qLYHs+ZRXP4ys4F4bnG2isiu5wHzI4UNQaoVhXWQvtOVvY0ot/8GD3TLK9 | |
OoNzAFMwa9UvE2j8OU2CytB3p5t0a9k4zU0St+CYq/Z6UpwzJKKd9NZ5rQWl37yN | |
h0pXE3W0BIWo+tvAlzJxfwZkNRBl2IaIz4DV4= | |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type; s=default; bh=dNhGbQk1qm4D | |
/vixq/9/5PUsPtY=; b=WMVKUTs257PJyt7q26gZkFqRShWCoFr1nWurIsSqxDLI | |
S8jU5GvEwCi4Bhgfjt/S69TygMiEBHWGw8ov3U3UpxP3C2QLuGJ4/EnweYOkMzgL | |
KcgDlnPmm0W/2TcaWzmY8oClD7YcGCXQr1mtjzVXYugxiPtr2dKET5DYkK+UqEA= | |
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=-0.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,URIBL_BLACK autolearn=no version=3.3.2 |
X-HELO: | limerock01.mail.cornell.edu |
X-CornellRouted: | This message has been Routed already. |
Message-ID: | <55A5C073.1020401@cornell.edu> |
Date: | Tue, 14 Jul 2015 22:07:47 -0400 |
From: | Ken Brown <kbrown AT cornell DOT edu> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: TEST RELEASE: Cygwin 2.1.0-0.4 |
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> |
In-Reply-To: | <55A58727.6060807@redhat.com> |
X-IsSubscribed: | yes |
--------------070000080200050301050007 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 7/14/2015 6:03 PM, Eric Blake wrote: > On 07/08/2015 01:39 PM, Warren Young wrote: > >>> - New API sigaltstack, plus definitions for SA_ONSTACK, SS_ONSTACK, SS_DISABLE, >>> MINSIGSTKSZ, SIGSTKSZ. >> >> Since these were entirely missing before, this can’t be tested without rebuilding software, right? When rebuilt, existing Cygwin packages may discover the new APIs via autoconf or similar. >> >> A search for "sigaltstack” on code.openhub.net found only 95 projects with this string in their source code, almost entirely consisting of *receivers* of that call, such as NetBSD, glibc, and a bunch of Linux forks. >> > > 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). I just did a quick test, and it looks promising. I removed all Cygwin-specific code from configure.ac and Makefile.am (see attached patch), and it then built on 64-bit Cygwin. Here's the result of 'make check': 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 ====================== All 3 tests passed (2 tests were not run) ====================== [...] 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). libsigsegv: x86_64-unknown-cygwin | yes | no | 2.10 > I'm not the cygwin packager for libsigsegv, No one is; it's orphaned. > but am one of the upstream > contributors, and so this thread has piqued my interest. So it seems that you would be the obvious person to maintain it, if you have the time. If you don't have the time, I'd be willing to ITA it just to get it into the 64-bit distro. But in that case I'd appreciate it if you would review my build after I send the ITA, since you actually know something about libsigsegv, and I don't. > Sadly, I'm a > bit late to the testing because I was on vacation last month, and am now > trying to catch up with several things that happened during my > (much-needed) downtime, such as a new upstream release of coreutils. Ken --------------070000080200050301050007 Content-Type: text/plain; charset=windows-1252; name="libsigsegv-2.10-1.src.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="libsigsegv-2.10-1.src.patch" LS0tIG9yaWdzcmMvbGlic2lnc2Vndi0yLjEwL2NvbmZpZ3VyZS5hYwkyMDE1 LTA3LTE0IDIwOjMyOjQ1LjAzNjIyODIwMCAtMDQwMAorKysgc3JjL2xpYnNp Z3NlZ3YtMi4xMC9jb25maWd1cmUuYWMJMjAxNS0wNy0xNCAyMDo0MjozNi40 ODkwNTczMDAgLTA0MDAKQEAgLTUyMiwxOSArNTIyLDYgQEAgY2FzZSAiJGhv c3Rfb3MiIGluCiAgICAgRkFVTFRfQ09OVEVYVF9JTkNMVURFPScjaW5jbHVk ZSA8d2luZG93cy5oPicKICAg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4KLSAgY3lnd2luKikgZW5hYmxlX0VGQVVMVD15ZXMg OzsKICAgKikgICAgICAgZW5hYmxlX0VGQVVMVD1ubyA7OwogZXNhYwogaWYg dGVzdCAkZW5hYmxlX0VGQVVMVCA9IHllczsgdGhlbgotLS0gb3JpZ3NyYy9s aWJzaWdzZWd2LTIuMTAvdGVzdHMvTWFrZWZpbGUuYW0JMjAxMC0xMC0yNCAx MzoyNToxNS4wMDAwMDAwMDAgLTA0MDAKKysrIHNyYy9saWJzaWdzZWd2LTIu MTAvdGVzdHMvTWFrZWZpbGUuYW0JMjAxNS0wNy0xNCAyMTozNzoyNS44NjQ5 Mzc5MDAgLTA0MDAKQEAgLTI5LDExICsyOSw2IEBAIERFRlMgPSBAREVGU0AK IExEQUREID0gLi4vc3JjL2xpYnNpZ3NlZ3YubGEKIG5vaW5zdF9QUk9HUkFN UyA9IHNpZ3NlZ3YxIHNpZ3NlZ3YyIHNpZ3NlZ3YzIHN0YWNrb3ZlcmZsb3cx IHN0YWNrb3ZlcmZsb3cyCiAKLWlmIENZR1dJTgotVEVTVFMgKz0gY3lnd2lu MQotbm9pbnN0X1BST0dSQU1TICs9IGN5Z3dpbjEKLWVuZGlmCi0KIGlmIEVO QUJMRV9FRkFVTFQKIFRFU1RTICs9IGVmYXVsdDEgZWZhdWx0MiBlZmF1bHQz CiBub2luc3RfUFJPR1JBTVMgKz0gZWZhdWx0MSBlZmF1bHQyIGVmYXVsdDMK --------------070000080200050301050007 Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple --------------070000080200050301050007--
webmaster | delorie software privacy |
Copyright 2019 by DJ Delorie | Updated Jul 2019 |