Opened 3 years ago

Closed 3 years ago

#5502 closed bug (worksforme)

ghc-stage2: internal error: invalid closure

Reported by: erikd Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.3
Keywords: Cc:
Operating System: Linux Architecture: powerpc
Type of failure: Building GHC failed Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:


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:

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

Change History (1)

comment:1 Changed 3 years ago by erikd

  • Resolution set to worksforme
  • Status changed from new to closed

Strange. It failed in two successive builds and now it compiles.

Closing this.

Note: See TracTickets for help on using tickets.