[GHC] #10389: ghc: panic! (the 'impossible' happened) when building "bitmap-0.0.2"

GHC ghc-devs at haskell.org
Wed May 6 18:51:23 UTC 2015


#10389: ghc: panic! (the 'impossible' happened) when building "bitmap-0.0.2"
-------------------------------------+-------------------------------------
              Reporter:  yairchu     |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Compiler    |           Version:  7.10.1
              Keywords:              |  Operating System:  MacOS X
          Architecture:              |   Type of failure:  Compile-time
  Unknown/Multiple                   |  crash
             Test Case:              |        Blocked By:
              Blocking:              |   Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
 Output from "cabal install bitmap":

 {{{
 Resolving dependencies...
 Configuring bitmap-0.0.2...
 Building bitmap-0.0.2...
 Failed to install bitmap-0.0.2
 Build log ( /Users/yairchu/.cabal/logs/bitmap-0.0.2.log ):
 Configuring bitmap-0.0.2...
 Building bitmap-0.0.2...
 Preprocessing library bitmap-0.0.2...
 [ 1 of 10] Compiling Data.Bitmap.Internal ( Data/Bitmap/Internal.hs,
 dist/build/Data/Bitmap/Internal.o )
 [ 2 of 10] Compiling Data.Bitmap.Base ( Data/Bitmap/Base.hs,
 dist/build/Data/Bitmap/Base.o )
 [ 3 of 10] Compiling Data.Bitmap.IO   ( Data/Bitmap/IO.hs,
 dist/build/Data/Bitmap/IO.o )

 Data/Bitmap/IO.hs:1248:1: Warning:
     SPECIALISE pragma for non-overloaded function ‘myPlusPtr’

 Data/Bitmap/IO.hs:1249:1: Warning:
     SPECIALISE pragma for non-overloaded function ‘myPlusPtr’
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.1 for x86_64-apple-darwin):
         Template variable unbound in rewrite rule
   $fPixelComponentFloat3_X2Rc
   [$fPixelComponentFloat3_X2Rc]
   [$fPixelComponentFloat3_X2Rc]
   []
   []

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

 cabal: Error: some packages failed to install:
 bitmap-0.0.2 failed during the building phase. The exception was:
 ExitFailure 1
 }}}

 Reporting this here as suggested by the error message..

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


More information about the ghc-tickets mailing list