[GHC] #8339: Build fails with panic in vector

GHC ghc-devs at haskell.org
Sun Sep 22 12:30:27 CEST 2013


#8339: Build fails with panic in vector
----------------------------------------+----------------------------------
        Reporter:  trommler             |            Owner:
            Type:  bug                  |           Status:  new
        Priority:  normal               |        Milestone:
       Component:  libraries (other)    |          Version:  7.7
      Resolution:                       |         Keywords:  vector
Operating System:  Unknown/Multiple     |  annotation
 Type of failure:  Building GHC failed  |     Architecture:
       Test Case:                       |  Unknown/Multiple
        Blocking:                       |       Difficulty:  Unknown
                                        |       Blocked By:
                                        |  Related Tickets:  #8203 #8212
----------------------------------------+----------------------------------

Old description:

> I get this on powerpc64 Linux but I suspect from the error message it
> affects all architectures without GHCi support:
> {{{"inplace/bin/ghc-stage2" -hisuf hi -osuf  o -hcsuf hc -static  -H32m
> -O    -package-name vector-0.9.1 -hide-all-packages -i
> -ilibraries/vector/. -ilibraries/vector/dist-install/build
> -ilibraries/vector/dist-install/build/autogen -Ilibraries/vector/dist-
> install/build -Ilibraries/vector/dist-install/build/autogen
> -Ilibraries/vector/include -Ilibraries/vector/internal   -optP-
> DVECTOR_BOUNDS_CHECKS -optP-include -optPlibraries/vector/dist-
> install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package ghc-
> prim-0.3.1.0 -package primitive-0.4.0.1 -O2 -XHaskell98 -XCPP
> -XDeriveDataTypeable -O2  -no-user-package-db -rtsopts      -odir
> libraries/vector/dist-install/build -hidir libraries/vector/dist-
> install/build -stubdir libraries/vector/dist-install/build   -c
> libraries/vector/./Data/Vector/Fusion/Stream/Monadic.hs -o
> libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o
> ghc-stage2: panic! (the 'impossible' happened)
>   (GHC version 7.7.20130828 for powerpc64-unknown-linux):
>         Cant do annotations without GHCi
>     {libraries/vector/Data/Vector/Fusion/Stream/Monadic.hs:104:19-33}
>     base:GHC.Exts.ForceSpecConstr{d rcn}
>
> Please report this as a GHC bug:
> http://www.haskell.org/ghc/reportabug}}}

New description:

 I get this on powerpc64 Linux but I suspect from the error message it
 affects all architectures without GHCi support:

 {{{
 "inplace/bin/ghc-stage2" -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O
 -package-name vector-0.9.1 -hide-all-packages -i -ilibraries/vector/.
 -ilibraries/vector/dist-install/build -ilibraries/vector/dist-
 install/build/autogen -Ilibraries/vector/dist-install/build
 -Ilibraries/vector/dist-install/build/autogen -Ilibraries/vector/include
 -Ilibraries/vector/internal   -optP-DVECTOR_BOUNDS_CHECKS -optP-include
 -optPlibraries/vector/dist-install/build/autogen/cabal_macros.h -package
 base-4.7.0.0 -package ghc-prim-0.3.1.0 -package primitive-0.4.0.1 -O2
 -XHaskell98 -XCPP -XDeriveDataTypeable -O2  -no-user-package-db -rtsopts
 -odir libraries/vector/dist-install/build -hidir libraries/vector/dist-
 install/build -stubdir libraries/vector/dist-install/build   -c
 libraries/vector/./Data/Vector/Fusion/Stream/Monadic.hs -o
 libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o
 ghc-stage2: panic! (the 'impossible' happened)
   (GHC version 7.7.20130828 for powerpc64-unknown-linux):
         Cant do annotations without GHCi
     {libraries/vector/Data/Vector/Fusion/Stream/Monadic.hs:104:19-33}
     base:GHC.Exts.ForceSpecConstr{d rcn}

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

--

Comment (by hvr):

 fix-up markup in description

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



More information about the ghc-tickets mailing list