[63519] trunk/dports/devel/gmp/Portfile

Vincent Lefevre vincent-opdarw at vinc17.org
Wed Feb 17 02:05:56 PST 2010


On 2010-02-14 08:43:48 -0700, Marcus Calhoun-Lopez wrote:
> At the web page http://gmplib.org/gmp5.0.html, the developers of GMP claim:
> "GMP 5.0 is upwardly source and binary compatible with 4.x, and 3.x versions"

It doesn't say that exactly. I read:

  "GMP 5.0 is upwardly source and binary compatible with 4.x, and 3.x
  versions, except for applications that use the semi-documented
  mpn_bdivmod function."

Actually, mpn_bdivmod was fully documented (in the manual), but was
said:

     *This interface is preliminary.  It might change incompatibly in
     future revisions.*

Applications that use this function will no longer work if linked
with the GMP 5 library. Actually, if versioning works, the symlink
should have no effect if the OS really checks that GMP 5.0.1 is
incompatible with GMP 4.3.

FYI, the web page also says:

  The solib numbers now reflect the removal of the documented but
  preliminary mpn_bdivmod function; we correctly flag incompatibility
  with GMP 4.3. GMP 5.0.0 has this wrong, and should perhaps be
  uninstalled to avoid confusion.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


More information about the macports-dev mailing list