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

GHC ghc-devs at haskell.org
Sat Sep 28 06:28:36 CEST 2013


#8374: `tcIfaceGlobal (local): not found` while compiling
----------------------------------------+---------------------------
        Reporter:  bgamari              |            Owner:
            Type:  bug                  |           Status:  new
        Priority:  normal               |        Milestone:
       Component:  Compiler             |          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:
----------------------------------------+---------------------------

Comment (by bgamari):

 Hmm, apparently Github flavored Markdown doesn't work here. Let's try that
 again,

 {{{
 "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -H64m -O0
 -fasm    -package-name base-4.7.0.0 -hide-all-packages -i
 -ilibraries/base/. -ilibraries/base/dist-install/build -ilibraries/base
 /dist-install/build/autogen -Ilibraries/base/dist-install/build
 -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include
 -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-
 install/build/autogen/cabal_macros.h -package ghc-prim-0.3.1.0 -package
 integer-gmp-0.5.1.0 -package rts-1.0 -package-name base -XHaskell98 -XCPP
 -O -fasm  -no-user-package-db -rtsopts      -odir libraries/base/dist-
 install/build -hidir libraries/base/dist-install/build -stubdir
 libraries/base/dist-install/build   -c libraries/base/./GHC/Base.lhs -o
 libraries/base/dist-install/build/GHC/Base.o

 when making flags consistent: Warning:
     No native code generator, so using LLVM
 ghc-stage1: panic! (the 'impossible' happened)
   (GHC version 7.7.20130924 for arm-unknown-linux):
         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}’),
      (rB, Data constructor ‛base:GHC.Base.O{d rB}’),
      (rD, Identifier ‛base:GHC.Base.<${v rD}’),
      (rhP, Identifier ‛base:GHC.Base.O{v rhP}’),
      (ri5, Data constructor ‛base:GHC.Base.D:Functor{d ri5}’),
      (rit, Identifier ‛base:GHC.Base.$dm<${v rit}’),
      (riv, Identifier ‛base:GHC.Base.D:Functor{v riv}’),
      (riX, Data constructor ‛base:GHC.Base.D:Monad{d riX}’),
      (rjw, Identifier ‛base:GHC.Base.$dm>>{v rjw}’),
      (rjx, Identifier ‛base:GHC.Base.$dmfail{v rjx}’),
      (rjz, Identifier ‛base:GHC.Base.D:Monad{v rjz}’)]
 }}}

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



More information about the ghc-tickets mailing list