#5965: pref-llvm failed at integer-gmp-0.3.0.0: stored value and pointer type do
not match
----------------------------------+-----------------------------------------
Reporter: Favonia | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.6.1
Component: libraries (other) | Version: 7.5
Resolution: | Keywords:
Os: Linux | Architecture: x86_64 (amd64)
Failure: Building GHC failed | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
----------------------------------+-----------------------------------------
Comment(by dterei):
hmmm I wasn't sure here either, the docs for the GMP function specify some
strange type for the function def.
If it is expecting a long I guess we should apply two casts to keep the
physical storage the same but truncate it to 32bit representation.
From [http://gmplib.org/manual/Integer-Arithmetic.html#Integer-Arithmetic
GMP Docs]:
{{{
Function: void mpz_mul_2exp (mpz_t rop, mpz_t op1, mp_bitcnt_t op2)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5965#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs