#5869: Compiling the Haskell bindings for ROSE causes a ghc panic
--------------------------------+-------------------------------------------
 Reporter:  axch                |          Owner:                
     Type:  bug                 |         Status:  new           
 Priority:  normal              |      Component:  Compiler      
  Version:  6.12.1              |       Keywords:                
       Os:  Linux               |   Architecture:  x86_64 (amd64)
  Failure:  Compile-time crash  |       Testcase:                
Blockedby:                      |       Blocking:                
  Related:                      |  
--------------------------------+-------------------------------------------
Changes (by axch):

 * cc: axch@… (added)


Comment:

 Carrying out the suggestion of compiling with -fregs-graph (by the
 mechanism of adding {{{ {-# OPTIONS_GHC -fregs-graph #-} }}} to the
 offending
 source file) produces this:

 {{{
 Preprocessing library rose-0.9.5.1...
 Building rose-0.9.5.1...
 [ 21 of 708] Compiling ROSE.Sage3.Methods.SgSymbolTable (
 ROSE/Sage3/Methods/SgSymbolTable.hs,
 dist/build/ROSE/Sage3/Methods/SgSymbolTable.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.12.1 for x86_64-unknown-linux):
         regSpill: out of spill slots!
        regs to spill = 2103
        slots left    = 2040

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 Debian-specific note: please remove old .hi files and try again.
 For details, see /usr/share/doc/ghc6/README.Debian
 }}}

 P.S.  This is ROSE version 0.9.5a

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to