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.3.2 sourceware.org CDCB23851C27 |
Authentication-Results: | sourceware.org; |
dmarc=none (p=none dis=none) header.from=eggen.co.uk | |
Authentication-Results: | sourceware.org; |
spf=fail smtp.mailfrom=bre08 AT eggen DOT co DOT uk | |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; |
t=1591196275; bh=/lha/VXcBUaXMPwVEpY4cMylnJT4baIJzn9QeZUMdDM=; | |
h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; | |
b=l0YIPVFTvnjqB0WUAYQ9LsTGGUtZl7XusN0gnk0KUm1NAukBp+Vezmr2Tnf/DzzThPDXIzMDP/AmzYRPDeMFjvoWN7hW8R1q9jievlwm6Cilgrbb3nljBKAv28cuD78U3/10B4GByaEFQ82Yi4v5gh7OVQgp1keTPRwCU5G/Hjqk6CWtIizJKfALfsj+wezYnJVkoMiDuu1YLijolcAOwmX9Ms8AAxGk43rstGBj+JwramUSH+aLRi+oZHxg5A99wUyL2AHul4hJHJB6hEA5lhvZqgwO5nzo9YX0Ki2icMik87Vpxqfs/CBI8fTkPIVl+LsnDY8j+3jhd38BDGvftQ== | |
X-YMail-OSG: | z2UtQdEVM1k0z1CvmtMEs_msIJXiylx.8PUVSCyGwAo.3zjnxzu_6JbAjuyQTZ9 |
7phu2S_ZqYuYzwITAorzo1waBWJgxJx67IIuICdHeLfJqdFpaIn9xIKEGjXAQA3oBpr24kboHbb6 | |
YbLDhTkzkhhnxCcKt0PT0A6HkGRSAOXWzMRToabl7Q_zJ74n.FlR2nwI18lvWM_KMhY9cFFEuucR | |
YuHB.sJ_ij0OsRoG4eVkJbC60AP6eYlImjaGtvS_.uMT3L5rCiO7y2LZbHKrVJRwDBvaCly2bNc9 | |
uJ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WmKpdyn8ejDd4ZbhbhJSmjrzMItlov.WuqO4p.2GWb | |
qjtKmCyGV0S50zkhdXOcO2RNmjhA. | |
Date: | Wed, 3 Jun 2020 14:57:34 +0000 (UTC) |
From: | Bernd Eggen <bre08 AT eggen DOT co DOT uk> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Message-ID: | <1677958530.3739782.1591196254179@mail.yahoo.com> |
In-Reply-To: | <CAJBuouzVpXt7QJtBK7KspzRtuZ5cQmMG5ALA2=0RYx46LOM6uA@mail.gmail.com> |
References: | <1576254042 DOT 16317 DOT ezmlm AT cygwin DOT com> |
<CAJBuouyP7-_WRfNSXzXvmo7BB_F36NwNo8ZnKmnS7Kr86+go2g AT mail DOT gmail DOT com> | |
<1136894358 DOT 3608181 DOT 1576920479449 AT mail DOT yahoo DOT com> | |
<CAJBuouzVpXt7QJtBK7KspzRtuZ5cQmMG5ALA2=0RYx46LOM6uA AT mail DOT gmail DOT com> | |
Subject: | QUERY: Coreutil "factor.exe" in Cygwin still stuck on an old & |
incorrect version (8.26) - was: Cygwin Digest 13 Dec 2019 16:20:42 -0000 | |
Issue 11673 // Bug in "factor" (coreutils: GNU core utilities (8.26-2), | |
64bit... | |
MIME-Version: | 1.0 |
X-Mailer: | WebService/1.1.16037 YMailNorrin Mozilla/5.0 (Windows NT 10.0; Win64; |
x64; rv:76.0) Gecko/20100101 Firefox/76.0 | |
X-Spam-Status: | No, score=1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, HTML_MESSAGE, KAM_COUK, KAM_LOTSOFHASH, KAM_SHORT, | |
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, TXREP, | |
T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.2 | |
X-Spam-Level: | * |
X-Spam-Checker-Version: | SpamAssassin 3.4.2 (2018-09-13) on |
server2.sourceware.org | |
X-Content-Filtered-By: | Mailman/MimeDel 2.1.29 |
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: | <http://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: | <http://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Reply-To: | Bernd Eggen <bre08 AT eggen DOT co DOT uk> |
Cc: | Bernd Eggen <bre08 AT eggen DOT co DOT uk> |
Errors-To: | cygwin-bounces AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces AT cygwin DOT com> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 053EwQn4003295 |
All, In Dec 2019 I reported that the coreutil factor in Cygwin does not work correctly for some composite numbers (more details further below, try eg: echo '3401347*3861211*12099721' | bc | factor which will not stop). While I had a prompt reply about how to build my own version (kindly supplied by Linda Walsh, which I had already done after the developers provided a fix a couple of years ago), I am confused why an updated version of factor has not been incorporated in recent releases of Cygwin. Moreover, I've compiled it with 16-Byte integer support only, so 2^127-1 (~1.7e+38) is the limit in my version (based on 8.29 & higher) -> echo '2^127-2' | bc | factor 170141183460469231731687303715884105726: 2 3 3 3 7 7 19 43 73 127 337 5419 92737 649657 77158673929 -> echo '2^127-1' | bc | factor170141183460469231731687303715884105727: 170141183460469231731687303715884105727 -> echo '2^127' | bc | factorfactor: ‘170141183460469231731687303715884105728’ is too large -> echo '2^127+1' | bc | factorfactor: ‘170141183460469231731687303715884105729’ is too large The faulty version (8.26) has been built with some multi-precision integer arithmetic package (GNU MP ?) and goes to much larger values. ( echo '10^999' | bc | tr -d '\\' | tr -d '\012' ; echo '' ) | & factor_826.exe2^999 5^999 [I've used "x^n" as abbreviation - factor prints "x" n times, separated by spaces] Best wishes, Bernd ---------- Original message ---------From: Bernd Eggen <bre08 AT eggen DOT co DOT uk> Date: Sat, 21 Dec 2019 at 09:28 Subject: Re: cygwin Digest 13 Dec 2019 16:20:42 -0000 Issue 11673 // Bug in "factor" (coreutils: GNU core utilities (8.26-2), 64bit edition) To: Linda Walsh <cygwin AT tlinx DOT org> Dear Linda, Many thanks for your thoughts re "Bug in "factor" (coreutils: GNU core utilities (8.26-2), 64bit edition)". I did get the fix directly via developers / from GNU site (URL https://ftp.gnu.org/gnu/coreutils/coreutils-8.31.tar.xz ). However, what "bugged" me was to see that this has not been taken through to the Cygwin distribution -after almost 2 years ! The error is not obvious, as "factor" can in certain cases take minutes to complete for large numbers. Best wishes & for the holidays, Bernd ---------- Original message ---------From: <cygwin-digest-help AT cygwin DOT com> Date: Fri, 13 Dec 2019 at 16:21 Subject: cygwin Digest 13 Dec 2019 16:20:42 -0000 Issue 11673 To: <cygwin AT cygwin DOT com> cygwin Digest 13 Dec 2019 16:20:42 -0000 Issue 11673 Topics (messages 218573 through 218581): Re: Bug in "factor" (coreutils: GNU core utilities (8.26-2), 64bit edition)     218573 by: L A Walsh Re: non-persistant storage?     218574 by: Brian Inglis     218576 by: L A Walsh     218578 by: Ulli Horlacher Re: non-persistent storage?     218575 by: Jürgen Wagner     218577 by: Ulli Horlacher     218579 by: Ulli Horlacher     218580 by: Marco Atzeri     218581 by: Buchbinder, Barry (NIH/NIAID) [E] Administrivia: To subscribe to the digest, e-mail:     cygwin-digest-subscribe AT cygwin DOT com To unsubscribe from the digest, e-mail:     cygwin-digest-unsubscribe AT cygwin DOT com To post to the list, e-mail:     cygwin AT cygwin DOT com ---------------------------------------------------------------------- ---------- Forwarded message ---------- From: L A Walsh <cygwin AT tlinx DOT org> To: cygwin AT cygwin DOT com Date: Thu, 12 Dec 2019 17:33:25 -0800 Subject: Re: Bug in "factor" (coreutils: GNU core utilities (8.26-2), 64bit edition) On 2019/12/11 23:36, Bernd Eggen wrote: > Hello, > Some time ago I found that the Cygwin-64 "factor" command did not seem to terminate with certain numbers, eg try: >  -> echo '3401347*3861211*12099721' | bc | factor > > The developers provided a fix (in GNU coreutils 8.29), however, after some two years I still find the faulty factor command in the current Cygwin distribution. > When are you planning to upgrade ? > Cheers, Bernd > PS I think this only affects 64bit version >  Wow... The source for factor should be easy to build .. like grab from gnu's website...(goog) tells me this link should work: https://ftp.gnu.org/gnu/coreutils/coreutils-8.31.tar.xz untar it and run configure in the dir where it was extracted, then run "make" in the same dir. You'll find factor in "src/factor". Or you could also get the cygwin source package (in setup checkmark the src package) and substitute in the new coreutils package, and adjust any needed paths in the cygwin make package, then you'd have an installable cygwin package rather than just a binary of factor... Just thinking out-loud, mostly, if I really needed it that is... But dunnow how complicated their packaging is... -linda [...] -- 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 |