panic : Register allocator: out of stack slots (need 147)
Build current GHC HEAD on linux-powerpc.
Usign the stage1 to build compiler/main/DynFlags.hs -o compiler/stage2/build/DynFlags.o I get:
ghc-stage1: panic! (the 'impossible' happened)
(GHC version 7.7.20121212 for powerpc-unknown-linux):
Register allocator: out of stack slots (need 147)
If you are trying to compile SHA1.hs from the crypto library then this
is a known limitation in the linear allocator.
Try enabling the graph colouring allocator with -fregs-graph instead.
You can still file a bug report if you like.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Linux |
| Architecture |