[GHC] #5361: regSpill: out of spill slots!

GHC ghc-devs at haskell.org
Sat Dec 28 03:16:25 UTC 2013


#5361: regSpill: out of spill slots!
-------------------------------------+-------------------------------------
        Reporter:  markwright        |            Owner:
            Type:  bug               |           Status:  new
        Priority:  high              |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.1
      Resolution:                    |         Keywords:  regSpill panic
Operating System:  Linux             |  impossible
 Type of failure:  Compile-time      |     Architecture:  x86_64 (amd64)
  crash                              |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
  http://hackage.haskell.org/package/SHA|  Related Tickets:
        Blocking:                    |
-------------------------------------+-------------------------------------

Comment (by kazu-yamamoto):

 I can reproduce this on 32 bit Linux:

 {{{
 % ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.7.20131202

 % cabal install SHA
 Configuring SHA-1.6.1...
 Building SHA-1.6.1...
 Failed to install SHA-1.6.1
 Last 10 lines of the build log ( /home/kazu/.cabal/logs/SHA-1.6.1.log ):
 Preprocessing library SHA-1.6.1...
 [1 of 1] Compiling Data.Digest.Pure.SHA ( Data/Digest/Pure/SHA.hs,
 dist/build/Data/Digest/Pure/SHA.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.7.20131202 for i386-unknown-linux):
         regSpill: out of spill slots!
        regs to spill = 1129
        slots left    = 677

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

 cabal: Error: some packages failed to install:
 SHA-1.6.1 failed during the building phase. The exception was:
 ExitFailure 1
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5361#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list