From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#10519: guile and (mini-)gmp Date: Sun, 12 Aug 2012 00:48:21 +0200 Message-ID: <87lihlqc3u.fsf@gnu.org> 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 1344725328 3414 80.91.229.3 (11 Aug 2012 22:48:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Aug 2012 22:48:48 +0000 (UTC) Cc: 10519@debbugs.gnu.org, Torbjorn Granlund To: nisse@lysator.liu.se (Niels =?UTF-8?Q?M=C3=B6ller?=) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Aug 12 00:48:48 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 1T0KUB-0008J2-DV for guile-bugs@m.gmane.org; Sun, 12 Aug 2012 00:48:47 +0200 Original-Received: from localhost ([::1]:47614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0KUA-00083I-Ax for guile-bugs@m.gmane.org; Sat, 11 Aug 2012 18:48:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0KU6-00083A-0v for bug-guile@gnu.org; Sat, 11 Aug 2012 18:48:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0KU3-0002Ju-M9 for bug-guile@gnu.org; Sat, 11 Aug 2012 18:48:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0KU3-0002Jq-Ic for bug-guile@gnu.org; Sat, 11 Aug 2012 18:48:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T0KcA-0006FR-CK for bug-guile@gnu.org; Sat, 11 Aug 2012 18:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 11 Aug 2012 22:57: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.134472581124000 (code B ref 10519); Sat, 11 Aug 2012 22:57:02 +0000 Original-Received: (at 10519) by debbugs.gnu.org; 11 Aug 2012 22:56:51 +0000 Original-Received: from localhost ([127.0.0.1]:50104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T0Kbz-0006F3-4s for submit@debbugs.gnu.org; Sat, 11 Aug 2012 18:56:51 -0400 Original-Received: from xanadu.aquilenet.fr ([88.191.123.111]:48794) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T0Kbw-0006Eu-2N for 10519@debbugs.gnu.org; Sat, 11 Aug 2012 18:56:49 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id CBB6D8C07; Sun, 12 Aug 2012 00:48:22 +0200 (CEST) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0a7oAaX5l0m5; Sun, 12 Aug 2012 00:48:22 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 2B5BE8BCF; Sun, 12 Aug 2012 00:48:22 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Thermidor an 220 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: ("Niels \=\?iso-8859-1\?Q\?M\=F6ller\=22's\?\= message of "Sat, 11 Aug 2012 23:50:05 +0200") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.1 (gnu/linux) 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:6475 Archived-At: nisse@lysator.liu.se (Niels M=C3=B6ller) skribis: > 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. Yes, sure. There are cases where Gnulib contains copies of code actually maintained elsewhere, such as in glibc. I=E2=80=99ll check with t= he Gnulib folks whether/how such an arrangement could be made. >> 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. OK. >> 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. Right. > 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. OK, good to know. ;-) Thanks! Ludo=E2=80=99.