#5502: ghc-stage2: internal error: invalid closure
------------------------+---------------------------------------------------
    Reporter:  erikd    |       Owner:                     
        Type:  bug      |      Status:  new                
    Priority:  normal   |   Component:  Compiler           
     Version:  7.3      |    Keywords:                     
    Testcase:           |   Blockedby:                     
          Os:  Linux    |    Blocking:                     
Architecture:  powerpc  |     Failure:  Building GHC failed
------------------------+---------------------------------------------------
 GHC head from git (commit 488e21c8cf07340c4d2f86f8177825a321cb312d).

 Stage 1 of compile completes but first compile command of second stage
 fails with:

 {{{
 "inplace/bin/ghc-stage2"   -H64m -O0 -fasm     -i -iutils/ghctags/.
 -iutils/ghctags/dist-install/build -iutils/ghctags/dist-
 install/build/autogen -Iutils/ghctags/dist-install/build -Iutils/ghctags
 /dist-install/build/autogen        -package ghc -no-user-package-conf
 -rtsopts     -odir utils/ghctags/dist-install/build -hidir utils/ghctags
 /dist-install/build -stubdir utils/ghctags/dist-install/build -hisuf hi
 -osuf  o -hcsuf hc -c utils/ghctags/./Main.hs -o utils/ghctags/dist-
 install/build/Main.o
 ghc-stage2: internal error: invalid closure, info=(nil)
     (GHC version 7.3.20110923 for powerpc_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 }}}

 This was working 10 days ago (commit
 493146ac822f05cebacf819d2f6a396f6e11d704). If needed, I can bisect to find
 the exact commit which broke it.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to