#2553: panic: RegAllocLinear.getStackSlotFor: out of stack slots
----------------------------------+-----------------------------------------
    Reporter:  daniel.is.fischer  |       Owner:          
        Type:  bug                |      Status:  new     
    Priority:  normal             |   Component:  Compiler
     Version:  6.8.3              |    Severity:  normal  
    Keywords:                     |    Testcase:          
Architecture:  x86                |          Os:  Linux   
----------------------------------+-----------------------------------------
 Trying to cabal install the crypto library, I got the error:
 {{{
 [1 of 4] Compiling Codec.Utils      ( Codec/Utils.hs, dist/build/SHA1Test
 /SHA1Test-tmp/Codec/Utils.o )
 [2 of 4] Compiling Data.Digest.SHA1 ( Data/Digest/SHA1.hs,
 dist/build/SHA1Test/SHA1Test-tmp/Data/Digest/SHA1.o )
 [3 of 4] Compiling Codec.Text.Raw   ( Codec/Text/Raw.hs,
 dist/build/SHA1Test/SHA1Test-tmp/Codec/Text/Raw.o )
 [4 of 4] Compiling Main             ( ./SHA1Test.hs, dist/build/SHA1Test
 /SHA1Test-tmp/Main.o )
 ghc-6.8.3: panic! (the 'impossible' happened)
   (GHC version 6.8.3 for i386-unknown-linux):
         RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-
 graph

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

 cabal: Error: some packages failed to install:
 Crypto-4.1.0 failed during the building phase. The exception was:
 exit: ExitFailure 1
 }}}
 twice, so it seems to be reproducible.
 However, passing the flag -fregs-graph, it built without error (though
 compiling the SHA1Test Main took a long time, approximately two minutes).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2553>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to