#2001: panic when recompiling after ctrl-C leaves .o without .hi
-----------------------------+----------------------------------------------
    Reporter:  Isaac Dupree  |       Owner:       
        Type:  bug           |      Status:  new  
    Priority:  normal        |   Milestone:       
   Component:  Compiler      |     Version:  6.8.2
    Severity:  minor         |    Keywords:       
  Difficulty:  Unknown       |    Testcase:       
Architecture:  x86           |          Os:  Linux
-----------------------------+----------------------------------------------
 I was just doing some GHC hacking, and I typed Ctrl-C to interrupt a
 compilation just after it output some warnings.  When I tried to repeat
 the compilation so it would finish...
 {{{
 Panic! stage1/cmm/CmmSpillReload.o exists, but
 stage1/cmm/CmmSpillReload.hi does not.
 }}}

 This statement was true, and I removed `stage1/cmm/CmmSpillReload.o` so
 that I could recompile successfully.  I think the correct GHC behavior is
 not to panic, just to recompile when it doesn't find all the correct
 generated files already there.  (although it might indicate something that
 could be different upon reacting to ctrl-C too)

 - Isaac

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