delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.1 sourceware.org D1ED43858C83 |
Authentication-Results: | sourceware.org; |
dmarc=none (p=none dis=none) header.from=dinwoodie.org | |
Authentication-Results: | sourceware.org; spf=pass smtp.mailfrom=dinwoodie.org |
Date: | Mon, 7 Feb 2022 22:37:21 +0000 |
From: | Adam Dinwoodie <adam AT dinwoodie DOT org> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Cygwin latest: grep and other self-compiled Cygwin-programs are |
crashing | |
Message-ID: | <20220207223721.iem3u6tsye5i5ajf@lucy.dinwoodie.org> |
References: | <0a45073e2ce940309b82d74f3baa667a AT frims060 DOT wamas DOT com> |
<97de4ae40364445d92e8b8ed682890d6 AT frims060 DOT wamas DOT com> | |
<172810776 DOT 1509902 DOT 1644265991761 AT webmail DOT mymagenta DOT at> | |
MIME-Version: | 1.0 |
In-Reply-To: | <172810776.1509902.1644265991761@webmail.mymagenta.at> |
X-Spam-Status: | No, score=-0.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, |
PDS_RDNS_DYNAMIC_FP, RDNS_DYNAMIC, SPF_HELO_PASS, SPF_PASS, TXREP, | |
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.4 (2020-01-24) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
On Mon, Feb 07, 2022 at 09:33:11PM +0100, Mario wrote: > Hello, > > With the latest Cygwin-DLL and C/C++ developer packages I am experiencing issues to run self-compiled programs. Can you give a bit more detail about the issues you're experiencing, and what the self-compiled programs are that you're experiencing them with? It'd also be useful to know whether you've been able to compile these programs previously, and if so, what (if you can tell) has changed about your environment since they were working. > I prepared an example using the grep-Package > > grep-3.7-2 from your GIT-repo > and compiled using "cygport" > > The linked binary grep.exe crashes I have been able to reproduce a failure compiling the latest grep; running the below with `v=3.7-2` has the final command fail with a SIGABRT and the output "grep: program error // Aborted (core dumped)". ``` v=<version> curl https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/x86_64/release/grep/grep-"$v"-src.tar.xz | tar -xJ && cd grep-"$v".src && cygport grep.cygport prep compile install && grep-"$v".x86_64/inst/usr/bin/grep.exe grep grep.cygport ``` However, I don't see this with either `v=3.6-1` or `v=3.0-2`, so while there's clearly something odd going on -- which I expect we'll need Eric Blake and/or Brian Inglis to weigh in on, as grep co-maintainers -- this sounds like a different issue, given you seem to be saying what you're seeing affects anything that you compile yourself. > It appears to me that there is an issue with threading. Building grep without thread-usage makes it runnable. > > Unfortunately, I didn't get any usable stack-trace. > > Maybe the newer binutils require additional compiler flags, those haven't been provided yet? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |