[GHC] #10003: integer-gmp2 tries to be GMP 4.x compatible but uses functions from GMP 5.x

GHC ghc-devs at haskell.org
Mon Jan 19 13:56:53 UTC 2015


#10003: integer-gmp2 tries to be GMP 4.x compatible but uses functions from GMP 5.x
-------------------------------------+-------------------------------------
        Reporter:  kgardas           |                   Owner:  hvr
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.10.1
       Component:  libraries         |                 Version:  7.10.1-rc1
  (other)                            |                Keywords:
      Resolution:                    |            Architecture:  sparc
Operating System:  Solaris           |               Test Case:
 Type of failure:  Building GHC      |                Blocking:
  failed                             |  Differential Revisions:
      Blocked By:                    |
 Related Tickets:                    |
-------------------------------------+-------------------------------------
Changes (by hvr):

 * owner:   => hvr
 * version:  7.11 => 7.10.1-rc1
 * milestone:   => 7.10.1


Comment:

 With GMP 5.0.0, the following new functions were added relative to GMP
 4.x, so we need some compatibility layer to support GMP 4.x

 ----

 == FEATURES

   * New mpz function: mpz_powm_sec for side-channel quiet modexp
     computations.

   * New mpn functions: mpn_sqr, mpn_and_n, mpn_ior_n, mpn_xor_n,
 mpn_nand_n,
     mpn_nior_n, mpn_xnor_n, mpn_andn_n, mpn_iorn_n, mpn_com, mpn_neg,
     mpn_copyi, mpn_copyd, mpn_zero.

   * The function mpn_tdiv_qr now allows certain argument overlap.

   * Support for fat binaries for 64-bit x86 processors has been added.

   * A new type, mp_bitcnt_t for bignum bit counts, has been introduced.

   * Support for Windows64 through mingw64 has been added.

   * The cofactors of mpz_gcdext and mpn_gcdext are now more strictly
     normalised, returning to how GMP 4.2 worked.  (Note that also release
     4.3.2 has this change.)

 ----

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10003#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list