Skip to content

Panic when building HEAD with BuildFlavour=quickest: "Can't use Integer in integer-*"

$ uname -op
x86_64 GNU/Linux

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.8.3

$ git log --oneline | head -1
fa75309 Update .mailmap

$ make
===--- building phase 0
make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
make[1]: Nothing to be done for `phase_0_builds'.
===--- building phase 1
make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds
make[1]: Nothing to be done for `phase_1_builds'.
===--- building final phase
make -r --no-print-directory -f ghc.mk phase=final all
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -H64m -O0 -fasm    -this-package-key integ_2MbWUstH60IEgCAexOk3v3 -hide-all-packages -i -ilibraries/integer-gmp2/src/ -ilibraries/integer-gmp2/dist-install/build -ilibraries/integer-gmp2/dist-install/build/autogen -Ilibraries/integer-gmp2/dist-install/build -Ilibraries/integer-gmp2/dist-install/build/autogen -Ilibraries/integer-gmp2/include    -optP-include -optPlibraries/integer-gmp2/dist-install/build/autogen/cabal_macros.h -package-key ghcpr_BE58KUgBe9ELCsPXiJ1Q2r -this-package-key integer-gmp -Wall -XHaskell2010 -O0 -fasm  -no-user-package-db -rtsopts      -odir libraries/integer-gmp2/dist-install/build -hidir libraries/integer-gmp2/dist-install/build -stubdir libraries/integer-gmp2/dist-install/build  -dynamic-too -c libraries/integer-gmp2/src//GHC/Integer/Type.hs -o libraries/integer-gmp2/dist-install/build/GHC/Integer/Type.o -dyno libraries/integer-gmp2/dist-install/build/GHC/Integer/Type.dyn_o
ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 7.9.20141114 for x86_64-unknown-linux):
	Can't use Integer in integer-*

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

make[1]: *** [libraries/integer-gmp2/dist-install/build/GHC/Integer/Type.o] Error 1
make: *** [all] Error 2
Trac metadata
Trac field Value
Version 7.8.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC hvr
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information