[GHC] #10630: Template variable unbound in rewrite rule (GHC 7.10.1)

#10630: Template variable unbound in rewrite rule (GHC 7.10.1) -------------------------------------+------------------------------------- Reporter: Otini | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 7.10.1 Keywords: panic, | Operating System: Linux template, bitmap | Type of failure: GHC rejects Architecture: x86_64 | valid program (amd64) | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- I read this bug had been fixed in GHC 7.10, and yet I get this when trying to compile bitmap : {{{ $ cabal install bitmap Resolving dependencies... Configuring bitmap-0.0.2... Building bitmap-0.0.2... Failed to install bitmap-0.0.2 Build log ( /home/olivier/.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-unknown-linux): 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 $ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.10.1 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10630 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10630: Template variable unbound in rewrite rule (GHC 7.10.1) -------------------------------------+------------------------------------- Reporter: Otini | Owner: Type: bug | Status: new Priority: high | Milestone: ⊥ Component: Compiler | Version: 7.10.1 Resolution: | Keywords: panic, Operating System: Linux | template, bitmap Type of failure: GHC rejects | Architecture: x86_64 valid program | (amd64) Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by Otini): * milestone: => ⊥ -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10630#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10630: Template variable unbound in rewrite rule (GHC 7.10.1) -------------------------------------+------------------------------------- Reporter: Otini | Owner: Type: bug | Status: new Priority: high | Milestone: ⊥ Component: Compiler | Version: 7.10.1 Resolution: | Keywords: panic, Operating System: Linux | template, bitmap Type of failure: GHC rejects | Architecture: x86_64 valid program | (amd64) Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by slyfox): Should be fixed in 7.10.2 as part of #10251 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10630#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10630: Template variable unbound in rewrite rule (GHC 7.10.1) -------------------------------------+------------------------------------- Reporter: Otini | Owner: Type: bug | Status: closed Priority: high | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 Resolution: fixed | Keywords: panic, | template, bitmap Operating System: Linux | Architecture: x86_64 Type of failure: GHC rejects | (amd64) valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by rwbarton): * status: new => closed * resolution: => fixed * milestone: ⊥ => 7.10.2 Comment: I confirmed that this is fixed in the ghc-7.10 branch. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10630#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC