[GHC] #8374: `tcIfaceGlobal (local): not found` while compiling

GHC ghc-devs at haskell.org
Sun Sep 29 04:30:58 CEST 2013


#8374: `tcIfaceGlobal (local): not found` while compiling
----------------------------------------+---------------------------
        Reporter:  bgamari              |            Owner:
            Type:  bug                  |           Status:  new
        Priority:  high                 |        Milestone:
       Component:  Build System         |          Version:  7.7
      Resolution:                       |         Keywords:
Operating System:  Unknown/Multiple     |     Architecture:  arm
 Type of failure:  Building GHC failed  |       Difficulty:  Unknown
       Test Case:                       |       Blocked By:
        Blocking:                       |  Related Tickets:
----------------------------------------+---------------------------
Changes (by leroux):

 * priority:  normal => high
 * resolution:  invalid =>
 * status:  closed => new
 * component:  Compiler => Build System


Comment:

 Error
 {{{

 ghc-stage1: panic! (the 'impossible' happened)
   (GHC version 7.7.20130928 for x86_64-apple-darwin):
         tcIfaceGlobal (local): not found:
     base:GHC.Base.$fMonadIO{v r1}
     [(02K, Identifier ‛base:GHC.Base.fail{v 02K}’),
      (02L, Identifier ‛base:GHC.Base.>>={v 02L}’),
      (02M, Identifier ‛base:GHC.Base.>>{v 02M}’),
      (02N, Identifier ‛base:GHC.Base.fmap{v 02N}’),
      (02O, Identifier ‛base:GHC.Base.return{v 02O}’),
      (28, Class ‛base:GHC.Base.Monad{tc 28}’),
      (2a, Class ‛base:GHC.Base.Functor{tc 2a}’),
      (36r, Type constructor ‛base:GHC.Base.Opaque{tc 36r}’),
      (36u, Type constructor ‛base:GHC.Base.String{tc 36u}’),
      (rx, Data constructor ‛base:GHC.Base.O{d rx}’),
      (ry, Identifier ‛base:GHC.Base.<${v ry}’),
      (rhK, Identifier ‛base:GHC.Base.O{v rhK}’),
      (ri0, Data constructor ‛base:GHC.Base.D:Functor{d ri0}’),
      (rio, Identifier ‛base:GHC.Base.$dm<${v rio}’),
      (riq, Identifier ‛base:GHC.Base.D:Functor{v riq}’),
      (riS, Data constructor ‛base:GHC.Base.D:Monad{d riS}’),
      (rjr, Identifier ‛base:GHC.Base.$dm>>{v rjr}’),
      (rjs, Identifier ‛base:GHC.Base.$dmfail{v rjs}’),
      (rju, Identifier ‛base:GHC.Base.D:Monad{v rju}’)]

 }}}

 ----

 To reproduce
 {{{

 cd ghc-local
 perl boot; ./configure; make

 cd ..
 cp -Rv ghc-local ghc-clone
 cd ghc-clone

 make

 # error should occur

 }}}

 Also, why does everything rebuild even though they were already built
 before? Path issues or make just can't detect it that way?

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



More information about the ghc-tickets mailing list