Skip to content

GHC 8.4 build failure on ARM

Using the same environment I used to build 8.6 and got the following error:

ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 8.4.4.20181014 for arm-unknown-linux):
        padLiveArgs -- i > regNum ??
CallStack (from HasCallStack):
  error, called at compiler/llvmGen/LlvmCodeGen/Base.hs:194:27 in ghc:LlvmCodeGen.Base

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

rts/ghc.mk:295: recipe for target 'rts/dist/build/HeapStackCheck.o' failed
make[1]: *** [rts/dist/build/HeapStackCheck.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Trac metadata
Trac field Value
Version 8.4.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