[GHC] #2788: GHC panic

GHC trac at galois.com
Tue Nov 18 02:18:00 EST 2008


#2788: GHC panic
-------------------------+--------------------------------------------------
    Reporter:  rodprice  |       Owner:          
        Type:  bug       |      Status:  new     
    Priority:  normal    |   Component:  Compiler
     Version:  6.10.1    |    Severity:  normal  
    Keywords:            |    Testcase:          
Architecture:  x86       |          Os:  MacOS X 
-------------------------+--------------------------------------------------
 Attempting to compile SHA1Test.hs in the Crypto-4.1.0 package on Hackage
 generates the following

 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.1 for i386-apple-darwin):
         RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-
 graph

 Compiling by hand with
 ghc --make -fglasgow-exts -fregs-graph SHA1Test.hs
 resolves the problem.

 I'm using an Intel MacBook Pro running Leopard (10.5.5).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2788>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list