[GHC] #14264: unregisterised GHC fails buid as: ghc-stage1: panic! (the 'impossible' happened): pprCLbl AsmTempLabel

GHC ghc-devs at haskell.org
Thu Sep 21 09:47:43 UTC 2017


#14264: unregisterised GHC fails buid as: ghc-stage1: panic! (the 'impossible'
happened): pprCLbl AsmTempLabel
-------------------------------------+-------------------------------------
        Reporter:  slyfox            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by slyfox):

 This tiny change (reverts only change from
 changeset:8b007abbeb3045900a11529d907a835080129176)
 seems to restore the build:

 {{{#!diff
 --- a/compiler/cmm/BlockId.hs
 +++ b/compiler/cmm/BlockId.hs
 @@ -42,3 +42,3 @@ newBlockId = mkBlockId <$> getUniqueM
  blockLbl :: BlockId -> CLabel
 -blockLbl label = mkAsmTempLabel (getUnique label)
 +blockLbl label = mkEntryLabel (mkFCallName (getUnique label) "block")
 NoCafRefs
 }}}

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


More information about the ghc-tickets mailing list