Skip to content

Drop-in replacements for integer library no longer work

I was trying to replace the integer-gmp library with integer-simple in a recent GHC tree, as described at:

http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes

Unfortunately, simply adding "INTEGER_LIBRARY=integer-simple" to the build.mk no longer works, because compiler/PrelNames has a hard-wired reference to the module GHC.Integer.Internals, which integer-simple doesn't provide.

Trac metadata
Trac field Value
Version 6.10.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information