Skip to content

PPC: Panic in native code generator

Head fails on powerpc64le:

ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 8.7.20181103 for powerpc64le-unknown-linux):
        PPC.CodeGen.getRegister: no match

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

libraries/ghc-prim/ghc.mk:4: recipe for target 'libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.o' failed

I think I know what is going on and will work on a fix.

Trac metadata
Trac field Value
Version 8.7
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