#2987: panic when compiling again
---------------------------------+------------------------------------------
    Reporter:  dsrogers          |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:                  
   Component:  Compiler          |      Version:  6.10.1          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by Deewiant):

  * os:  MacOS X => Unknown/Multiple
  * architecture:  x86 => Unknown/Multiple

Comment:

 Reproduced on x86-64 Linux, GHC 6.10.1:

 {{{
 [18 of 25] Compiling Database.HaskellDB.Database (
 src/Database/HaskellDB/Database.hs,
 dist/build/Database/HaskellDB/Database.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.1 for x86_64-unknown-linux):
         idInfo r{tv adgM} [tv]
 }}}

 Exact steps followed:

 {{{
 $ cabal fetch haskelldb
 $ cd ~/.cabal/packages/hackage.haskell.org/haskelldb/0.10
 $ tar xf haskelldb-0.10.tar.gz
 $ cd haskelldb-0.10
 $ wget
 
'http://hackage.haskell.org/trac/ghc/attachment/ticket/2987/haskelldb.cabal?format=raw'
 $ mv 'haskelldb.cabal?format=raw' haskelldb.cabal
 $ cabal configure; cabal build; cabal install
 }}}

 And yes, doing a `cabal clean` makes it work again.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2987#comment:2>
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