From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nisse@lysator.liu.se (Niels =?UTF-8?Q?M=C3=B6ller?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#10519: guile and (mini-)gmp Date: Sat, 11 Aug 2012 23:50:05 +0200 Message-ID: References: <874np05fwz.fsf@gnu.org> <874noawh4r.fsf@gnu.org> <87zk61qkjh.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1344721854 13245 80.91.229.3 (11 Aug 2012 21:50:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Aug 2012 21:50:54 +0000 (UTC) Cc: 10519@debbugs.gnu.org, Torbjorn Granlund To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Aug 11 23:50:53 2012 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T0Ja0-0002Ra-A6 for guile-bugs@m.gmane.org; Sat, 11 Aug 2012 23:50:44 +0200 Original-Received: from localhost ([::1]:38321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0JZz-0006NV-Ea for guile-bugs@m.gmane.org; Sat, 11 Aug 2012 17:50:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0JZw-0006NB-NP for bug-guile@gnu.org; Sat, 11 Aug 2012 17:50:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0JZv-0007NB-J5 for bug-guile@gnu.org; Sat, 11 Aug 2012 17:50:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0JZv-0007N7-Fu for bug-guile@gnu.org; Sat, 11 Aug 2012 17:50:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T0Ji2-000431-5t for bug-guile@gnu.org; Sat, 11 Aug 2012 17:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nisse@lysator.liu.se (Niels =?UTF-8?Q?M=C3=B6ller?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 11 Aug 2012 21:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10519 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 10519-submit@debbugs.gnu.org id=B10519.134472231615528 (code B ref 10519); Sat, 11 Aug 2012 21:59:02 +0000 Original-Received: (at 10519) by debbugs.gnu.org; 11 Aug 2012 21:58:36 +0000 Original-Received: from localhost ([127.0.0.1]:50028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T0Jhc-00042P-0g for submit@debbugs.gnu.org; Sat, 11 Aug 2012 17:58:36 -0400 Original-Received: from mail.lysator.liu.se ([130.236.254.3]:35119) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T0JhZ-00042G-In for 10519@debbugs.gnu.org; Sat, 11 Aug 2012 17:58:34 -0400 Original-Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 4F2E54066D; Sat, 11 Aug 2012 23:50:09 +0200 (CEST) Original-Received: from stalhein.lysator.liu.se (stalhein.lysator.liu.se [IPv6:2001:6b0:17:f0a0::cc]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPS id D4EDB40656; Sat, 11 Aug 2012 23:50:07 +0200 (CEST) Original-Received: from stalhein.lysator.liu.se (localhost [127.0.0.1]) by stalhein.lysator.liu.se (8.14.4+Sun/8.14.4) with ESMTP id q7BLo7Ab012974; Sat, 11 Aug 2012 23:50:07 +0200 (MEST) Original-Received: (from nisse@localhost) by stalhein.lysator.liu.se (8.14.4+Sun/8.14.4/Submit) id q7BLo5rk012973; Sat, 11 Aug 2012 23:50:05 +0200 (MEST) X-Authentication-Warning: stalhein.lysator.liu.se: nisse set sender to nisse@lysator.liu.se using -f In-Reply-To: <87zk61qkjh.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 11 Aug 2012 21:46:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (usg-unix-v) X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6474 Archived-At: ludo@gnu.org (Ludovic Court=C3=A8s) writes: > For me/us, the best workflow would be to have a Gnulib module. That > way, whenever GMP developers fix a bug in mini-gmp, we automatically get > the fix when running =E2=80=9Cgnulib-tool --update=E2=80=9D. I guess you can do whatever you want in gnulib. But it should be made very clear that the gmp repo is the "official" version. Some gmp developers would be upset if a mini-gmp version in gnulib starts to diverge. > What about the maintenance overhead for GMP developers? I mean, of > those 5000 lines, most are copied from GMP, right? Not really. Some of that code is of course copied from various other gmp files, but a lot of it is written from scratch, giving priority to simplicity over performance. > So, bugs found in GMP may have to be fixed in mini-GMP too, for > instance. That's possible, but I don't think it's likely to be a big problem. I'd expect the typical bug in mini-gmp to be in the code which is *not* copied from other GMP files. And I'd expect the typical bug in gmp to be in complex algorithms or assembly code, which doesn't have any counterpart in mini-gmp. mini-gmp does have a reasonable testsuite, even if it's not as thorough as the main gmp testsuite. And mini-gmp is used in a normal gmp build (via bootstrap.c), for computing various tables used by the main gmp code. So the gmp project itself also depends on mini-gmp. Reards, /Niels --=20 Niels M=C3=B6ller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance.