Skip to content

Unregisterised GHC panics when building test cgrun018

An unregisterised ghc-8.4 on amd64 panics when building test cgrun018.

Compile failed (exit code 1) errors were:
[1 of 1] Compiling Main             ( cgrun018.hs, cgrun018.o )
ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 8.4.4 for x86_64-unknown-linux):
        pprStatics: float
  F32
  F32
  F32
  F32
  F32
  F32
  F32
  F32
  F32
  F32
  F32
  Call stack:
      CallStack (from HasCallStack):
        callStackDoc, called at compiler/utils/Outputable.hs:1150:37 in ghc:Outputable
        pprPanic, called at compiler/cmm/PprC.hs:525:5 in ghc:PprC

We have seen this error while building packages for Debian on 64-bit architectures where GHC is unregisterised (e.g., mips64el, s390x): gloss on mips64el, juicypixels on s390x

Trac metadata
Trac field Value
Version 8.4.3
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler (CodeGen)
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