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

GHC ghc-devs at haskell.org
Sat Sep 28 13:58:00 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:
----------------------------------------+---------------------------
Description changed by simonpj:

Old description:

> On commit fa3ffb43144eadc406031110b01ba3dc4f9bd94e on compiling on ARM,
>
> ```
> "rm" -f libraries/integer-gmp/dist-install/build/libHSinteger-
> gmp-0.5.1.0.a.contents
> "/usr/bin/ld"  -r -o libraries/integer-gmp/dist-install/build/HSinteger-
> gmp-0.5.1.0.o  libraries/integer-gmp/dist-install/build/GHC/Integer.o
> libraries/integer-gmp/dist-install/build/GHC/Integer/GMP/Internals.o
> libraries/integer-gmp/dist-install/build/GHC/Integer/GMP/Prim.o libraries
> /integer-gmp/dist-install/build/GHC/Integer/Logarithms.o libraries
> /integer-gmp/dist-install/build/GHC/Integer/Logarithms/Internals.o
> libraries/integer-gmp/dist-install/build/GHC/Integer/Type.o libraries
> /integer-gmp/dist-install/build/cbits/gmp-wrappers.o  libraries/integer-
> gmp/dist-install/build/cbits/cbits.o
> 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}’)]
> ```

New description:

 On commit fa3ffb43144eadc406031110b01ba3dc4f9bd94e on compiling on ARM,

 {{{
 "rm" -f libraries/integer-gmp/dist-install/build/libHSinteger-
 gmp-0.5.1.0.a.contents
 "/usr/bin/ld"  -r -o libraries/integer-gmp/dist-install/build/HSinteger-
 gmp-0.5.1.0.o  libraries/integer-gmp/dist-install/build/GHC/Integer.o
 libraries/integer-gmp/dist-install/build/GHC/Integer/GMP/Internals.o
 libraries/integer-gmp/dist-install/build/GHC/Integer/GMP/Prim.o libraries
 /integer-gmp/dist-install/build/GHC/Integer/Logarithms.o libraries
 /integer-gmp/dist-install/build/GHC/Integer/Logarithms/Internals.o
 libraries/integer-gmp/dist-install/build/GHC/Integer/Type.o libraries
 /integer-gmp/dist-install/build/cbits/gmp-wrappers.o  libraries/integer-
 gmp/dist-install/build/cbits/cbits.o
 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:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list