[GHC] #3435: ghc-stage2 panic while compiling ghc-paths-0.1.0.5

GHC trac at galois.com
Tue Aug 18 07:07:07 EDT 2009


#3435: ghc-stage2 panic while compiling ghc-paths-0.1.0.5
-------------------------+--------------------------------------------------
    Reporter:  jsch      |        Owner:  simonmar
        Type:  bug       |       Status:  new     
    Priority:  high      |    Milestone:  6.12.1  
   Component:  Compiler  |      Version:  6.11    
    Severity:  normal    |   Resolution:          
    Keywords:            |   Difficulty:  Unknown 
    Testcase:            |           Os:  Linux   
Architecture:  x86       |  
-------------------------+--------------------------------------------------
Comment (by jsch):

 I had used the ghc-paths sources for installing the module with another
 GHC version before, so that should explain the old interface files (and
 why it worked with "cabal install" which downloaded fresh sources to
 /tmp).

 I guess I simply assumed the compiler would handle incompatible .hi and .o
 files by itself (by simply recompiling) as it does for changed source
 files. Anyway, I did not think about it, otherwise I would have cleaned
 the directory first (and probably not tickled this in the first place).

 (works for me now that I know why it happens)

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


More information about the Glasgow-haskell-bugs mailing list