Skip to content

Panic in harpy with GHC 6.10 RC

Panic in GHC 6.10 RC.

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/harpy

Harpy dies with a panic in

[3 of 7] Compiling Harpy.Call       ( Harpy/Call.hs, dist/build/Harpy/Call.o )

Here's the build log,

Configuring harpy-0.4...
Flags chosen: small_base=True
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Dependency array -any && ==0.2.0.0: using array-0.2.0.0
Dependency base >=3 && ==4.0.0.0: using base-4.0.0.0
Dependency containers -any && ==0.2.0.0: using containers-0.2.0.0
Dependency mtl -any && ==1.1.0.1: using mtl-1.1.0.1
Dependency parsec -any && ==2.1.0.0: using parsec-2.1.0.0
Dependency pretty -any && ==1.0.1.0: using pretty-1.0.1.0
Dependency template-haskell -any && ==2.3.0.0: using template-haskell-2.3.0.0
Using Cabal-1.5.5 compiled by ghc-6.10
Using compiler: ghc-6.10.0.20081007
Using install prefix: /home/dons/.cabal
Binaries installed in: /home/dons/.cabal/bin
Libraries installed in: /home/dons/.cabal/lib/harpy-0.4/ghc-6.10.0.20081007
Private binaries installed in: /home/dons/.cabal/libexec
Data files installed in: /home/dons/.cabal/share/harpy-0.4
Documentation installed in: /home/dons/.cabal/share/doc/harpy-0.4
Using alex version 2.2 found on system at: /home/dons/.cabal/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.15.1 found on system at: /home/dons/.cabal/bin/c2hs
Using cpphs version 1.5 found on system at: /home/dons/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.3.2 found on system at: /usr/bin/gcc
Using ghc version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc
Using ghc-pkg version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc-pkg
Using greencard found on system at: /home/dons/.cabal/bin/greencard
Using haddock version 2.2.2 found on system at: /home/dons/testing/bin/haddock
Using happy version 1.17 found on system at: /home/dons/.cabal/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /home/dons/testing/bin/hsc2hs
Using hscolour version 1.10.1 found on system at:
/home/dons/.cabal/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No nhc98 found
Using pkg-config version 0.23 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library harpy-0.4...
Building harpy-0.4...
Building library...
Creating dist/build (and its parents)
/home/dons/testing/bin/ghc -package-name harpy-0.4 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package array-0.2.0.0 -package base-4.0.0.0 -package containers-0.2.0.0 -package mtl-1.1.0.1 -package parsec-2.1.0.0 -package pretty-1.0.1.0 -package template-haskell-2.3.0.0 -O2 -XForeignFunctionInterface -XMultiParamTypeClasses -XTemplateHaskell -XCPP -XFlexibleContexts -XFlexibleInstances -XRankNTypes Harpy Harpy.X86CodeGen Harpy.X86Assembler Harpy.CodeGenMonad Harpy.Call Harpy.X86Disassembler Harpy.X86CGCombinators
[1 of 7] Compiling Harpy.X86Disassembler ( Harpy/X86Disassembler.hs, dist/build/Harpy/X86Disassembler.o )
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word64->a"
    Rule 2: "fromIntegral/a->Word32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Int16"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Int32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word8->a"
    Rule 2: "fromIntegral/a->Int8"
WARNING: file stranal/DmdAnal.lhs line 445
harpy-0.4:Harpy.X86Disassembler.anyWord8{v rJK} [lid]
[2 of 7] Compiling Harpy.CodeGenMonad ( Harpy/CodeGenMonad.hs, dist/build/Harpy/CodeGenMonad.o )
WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 6419

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5545

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5570

[3 of 7] Compiling Harpy.Call       ( Harpy/Call.hs, dist/build/Harpy/Call.o )
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Loading package syb ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package packedstring-0.1.0.1 ... linking ... done.
Loading package pretty-1.0.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package parsec-2.1.0.0 ... linking ... done.
Loading package mtl-1.1.0.1 ... linking ... done.
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.0.20081007 for x86_64-unknown-linux):
	mkUsage
    harpy-0.4:Harpy.CodeGenMonad CodeGen{d} [(01T,
                                              base:GHC.Base.return{v 01T}),
                                             (32I, base:GHC.IOBase.IO{tc 32I}),
                                             (333, base:GHC.Word.Word32{tc 333}),
                                             (33A, base:GHC.Ptr.Ptr{tc 33A}),
                                             (33D, base:GHC.Ptr.FunPtr{tc 33D}),
                                             (40, ghc-prim:GHC.Unit.(){(w) tc 40}),
                                             (6Q, base:Data.Either.Right{d 6Q}),
                                             (rj, base:GHC.Base.${v rj}),
                                             (r4J, mtl-1.1.0.1:Control.Monad.Trans.liftIO{v r4J}),
                                             (rgC, base:GHC.Ptr.castPtrToFunPtr{v rgC}),
                                             (rLH7,
                                              harpy-0.4:Harpy.CodeGenMonad.firstBuffer{v rLH7}),
                                             (rLHx, harpy-0.4:Harpy.CodeGenMonad.CodeGen{d rLHx}),
                                             (rLIN, harpy-0.4:Harpy.CodeGenMonad.callDecl{v rLIN}),
                                             (rTcX, harpy-0.4:Harpy.Call.conv[aTcP]{v rTcX}),
                                             (rTeB, harpy-0.4:Harpy.Call.conv[aTes]{v rTeB}),
                                             (rTkg, harpy-0.4:Harpy.Call.conv[aTk1]{v rTkg})]

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

Configuring harpy-0.4...
Flags chosen: small_base=True
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Dependency array -any && ==0.2.0.0: using array-0.2.0.0
Dependency base >=3 && ==3.0.3.0: using base-3.0.3.0
Dependency containers -any && ==0.2.0.0: using containers-0.2.0.0
Dependency mtl -any && ==1.1.0.1: using mtl-1.1.0.1
Dependency parsec -any && ==2.1.0.0: using parsec-2.1.0.0
Dependency pretty -any && ==1.0.1.0: using pretty-1.0.1.0
Dependency template-haskell -any && ==2.3.0.0: using template-haskell-2.3.0.0
Using Cabal-1.5.5 compiled by ghc-6.10
Using compiler: ghc-6.10.0.20081007
Using install prefix: /home/dons/.cabal
Binaries installed in: /home/dons/.cabal/bin
Libraries installed in: /home/dons/.cabal/lib/harpy-0.4/ghc-6.10.0.20081007
Private binaries installed in: /home/dons/.cabal/libexec
Data files installed in: /home/dons/.cabal/share/harpy-0.4
Documentation installed in: /home/dons/.cabal/share/doc/harpy-0.4
Using alex version 2.2 found on system at: /home/dons/.cabal/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.15.1 found on system at: /home/dons/.cabal/bin/c2hs
Using cpphs version 1.5 found on system at: /home/dons/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.3.2 found on system at: /usr/bin/gcc
Using ghc version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc
Using ghc-pkg version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc-pkg
Using greencard found on system at: /home/dons/.cabal/bin/greencard
Using haddock version 2.2.2 found on system at: /home/dons/testing/bin/haddock
Using happy version 1.17 found on system at: /home/dons/.cabal/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /home/dons/testing/bin/hsc2hs
Using hscolour version 1.10.1 found on system at:
/home/dons/.cabal/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No nhc98 found
Using pkg-config version 0.23 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library harpy-0.4...
Building harpy-0.4...
Building library...
Creating dist/build (and its parents)
/home/dons/testing/bin/ghc -package-name harpy-0.4 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package array-0.2.0.0 -package base-3.0.3.0 -package containers-0.2.0.0 -package mtl-1.1.0.1 -package parsec-2.1.0.0 -package pretty-1.0.1.0 -package template-haskell-2.3.0.0 -O2 -XForeignFunctionInterface -XMultiParamTypeClasses -XTemplateHaskell -XCPP -XFlexibleContexts -XFlexibleInstances -XRankNTypes Harpy Harpy.X86CodeGen Harpy.X86Assembler Harpy.CodeGenMonad Harpy.Call Harpy.X86Disassembler Harpy.X86CGCombinators
[1 of 7] Compiling Harpy.X86Disassembler ( Harpy/X86Disassembler.hs, dist/build/Harpy/X86Disassembler.o )
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word64->a"
    Rule 2: "fromIntegral/a->Word32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Int16"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Int32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word8->a"
    Rule 2: "fromIntegral/a->Int8"
WARNING: file stranal/DmdAnal.lhs line 445
harpy-0.4:Harpy.X86Disassembler.anyWord8{v rD8} [lid]
[2 of 7] Compiling Harpy.CodeGenMonad ( Harpy/CodeGenMonad.hs, dist/build/Harpy/CodeGenMonad.o )
WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 6419

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5545

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5570

[3 of 7] Compiling Harpy.Call       ( Harpy/Call.hs, dist/build/Harpy/Call.o )
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Loading package syb ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package packedstring-0.1.0.1 ... linking ... done.
Loading package pretty-1.0.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package base-3.0.3.0 ... linking ... done.
Loading package parsec-2.1.0.0 ... linking ... done.
Loading package mtl-1.1.0.1 ... linking ... done.
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.0.20081007 for x86_64-unknown-linux):
	mkUsage
    harpy-0.4:Harpy.CodeGenMonad CodeGen{d} [(01T,
                                              base:GHC.Base.return{v 01T}),
                                             (32I, base:GHC.IOBase.IO{tc 32I}),
                                             (333, base:GHC.Word.Word32{tc 333}),
                                             (33A, base:GHC.Ptr.Ptr{tc 33A}),
                                             (33D, base:GHC.Ptr.FunPtr{tc 33D}),
                                             (40, ghc-prim:GHC.Unit.(){(w) tc 40}),
                                             (6Q, base:Data.Either.Right{d 6Q}),
                                             (r7, base:GHC.Base.${v r7}),
                                             (r4E, mtl-1.1.0.1:Control.Monad.Trans.liftIO{v r4E}),
                                             (r8S, base:GHC.Ptr.castPtrToFunPtr{v r8S}),
                                             (rLCE,
                                              harpy-0.4:Harpy.CodeGenMonad.firstBuffer{v rLCE}),
                                             (rLD4, harpy-0.4:Harpy.CodeGenMonad.CodeGen{d rLD4}),
                                             (rLEk, harpy-0.4:Harpy.CodeGenMonad.callDecl{v rLEk}),
                                             (rT8u, harpy-0.4:Harpy.Call.conv[aT8m]{v rT8u}),
                                             (rTa8, harpy-0.4:Harpy.Call.conv[aT9Z]{v rTa8}),
                                             (rTfN, harpy-0.4:Harpy.Call.conv[aTfy]{v rTfN})]

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

Configuring harpy-0.4...
Flags chosen: small_base=True
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Dependency array -any && ==0.2.0.0: using array-0.2.0.0
Dependency base >=3 && ==3.0.3.0: using base-3.0.3.0
Dependency containers -any && ==0.2.0.0: using containers-0.2.0.0
Dependency mtl -any && ==1.1.0.1: using mtl-1.1.0.1
Dependency parsec -any && ==2.1.0.2: using parsec-2.1.0.2
Dependency pretty -any && ==1.0.1.0: using pretty-1.0.1.0
Dependency template-haskell -any && ==2.3.0.0: using template-haskell-2.3.0.0
Using Cabal-1.5.5 compiled by ghc-6.10
Using compiler: ghc-6.10.0.20081007
Using install prefix: /home/dons/.cabal
Binaries installed in: /home/dons/.cabal/bin
Libraries installed in: /home/dons/.cabal/lib/harpy-0.4/ghc-6.10.0.20081007
Private binaries installed in: /home/dons/.cabal/libexec
Data files installed in: /home/dons/.cabal/share/harpy-0.4
Documentation installed in: /home/dons/.cabal/share/doc/harpy-0.4
Using alex version 2.2 found on system at: /home/dons/.cabal/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.15.1 found on system at: /home/dons/.cabal/bin/c2hs
Using cpphs version 1.5 found on system at: /home/dons/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.3.2 found on system at: /usr/bin/gcc
Using ghc version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc
Using ghc-pkg version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc-pkg
Using greencard found on system at: /home/dons/.cabal/bin/greencard
Using haddock version 2.2.2 found on system at: /home/dons/testing/bin/haddock
Using happy version 1.17 found on system at: /home/dons/.cabal/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /home/dons/testing/bin/hsc2hs
Using hscolour version 1.10.1 found on system at:
/home/dons/.cabal/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No nhc98 found
Using pkg-config version 0.23 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library harpy-0.4...
Building harpy-0.4...
Building library...
Creating dist/build (and its parents)
/home/dons/testing/bin/ghc -package-name harpy-0.4 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package array-0.2.0.0 -package base-3.0.3.0 -package containers-0.2.0.0 -package mtl-1.1.0.1 -package parsec-2.1.0.2 -package pretty-1.0.1.0 -package template-haskell-2.3.0.0 -O2 -XForeignFunctionInterface -XMultiParamTypeClasses -XTemplateHaskell -XCPP -XFlexibleContexts -XFlexibleInstances -XRankNTypes Harpy Harpy.X86CodeGen Harpy.X86Assembler Harpy.CodeGenMonad Harpy.Call Harpy.X86Disassembler Harpy.X86CGCombinators
[1 of 7] Compiling Harpy.X86Disassembler ( Harpy/X86Disassembler.hs, dist/build/Harpy/X86Disassembler.o )
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word64->a"
    Rule 2: "fromIntegral/a->Word32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Int16"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Int32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word8->a"
    Rule 2: "fromIntegral/a->Int8"
[2 of 7] Compiling Harpy.CodeGenMonad ( Harpy/CodeGenMonad.hs, dist/build/Harpy/CodeGenMonad.o )
WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 6413

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5539

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5564

[3 of 7] Compiling Harpy.Call       ( Harpy/Call.hs, dist/build/Harpy/Call.o )
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Loading package syb ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package packedstring-0.1.0.1 ... linking ... done.
Loading package pretty-1.0.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package base-3.0.3.0 ... linking ... done.
Loading package parsec-2.1.0.2 ... linking ... done.
Loading package mtl-1.1.0.1 ... linking ... done.
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.0.20081007 for x86_64-unknown-linux):
	mkUsage
    harpy-0.4:Harpy.CodeGenMonad CodeGen{d} [(01T,
                                              base:GHC.Base.return{v 01T}),
                                             (32I, base:GHC.IOBase.IO{tc 32I}),
                                             (333, base:GHC.Word.Word32{tc 333}),
                                             (33A, base:GHC.Ptr.Ptr{tc 33A}),
                                             (33D, base:GHC.Ptr.FunPtr{tc 33D}),
                                             (40, ghc-prim:GHC.Unit.(){(w) tc 40}),
                                             (6Q, base:Data.Either.Right{d 6Q}),
                                             (r7, base:GHC.Base.${v r7}),
                                             (r4E, mtl-1.1.0.1:Control.Monad.Trans.liftIO{v r4E}),
                                             (r8S, base:GHC.Ptr.castPtrToFunPtr{v r8S}),
                                             (rO69,
                                              harpy-0.4:Harpy.CodeGenMonad.firstBuffer{v rO69}),
                                             (rO6z, harpy-0.4:Harpy.CodeGenMonad.CodeGen{d rO6z}),
                                             (rO7P, harpy-0.4:Harpy.CodeGenMonad.callDecl{v rO7P}),
                                             (rVBT, harpy-0.4:Harpy.Call.conv[aVBL]{v rVBT}),
                                             (rVDx, harpy-0.4:Harpy.Call.conv[aVDo]{v rVDx}),
                                             (rVJc, harpy-0.4:Harpy.Call.conv[aVIX]{v rVJc})]

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

Configuring harpy-0.4...
Flags chosen: small_base=True
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Dependency array -any && ==0.2.0.0: using array-0.2.0.0
Dependency base >=3 && ==3.0.3.0: using base-3.0.3.0
Dependency containers -any && ==0.2.0.0: using containers-0.2.0.0
Dependency mtl -any && ==1.1.0.1: using mtl-1.1.0.1
Dependency parsec -any && ==2.1.0.2: using parsec-2.1.0.2
Dependency pretty -any && ==1.0.1.0: using pretty-1.0.1.0
Dependency template-haskell -any && ==2.3.0.0: using template-haskell-2.3.0.0
Using Cabal-1.5.5 compiled by ghc-6.10
Using compiler: ghc-6.10.0.20081007
Using install prefix: /home/dons/.cabal
Binaries installed in: /home/dons/.cabal/bin
Libraries installed in: /home/dons/.cabal/lib/harpy-0.4/ghc-6.10.0.20081007
Private binaries installed in: /home/dons/.cabal/libexec
Data files installed in: /home/dons/.cabal/share/harpy-0.4
Documentation installed in: /home/dons/.cabal/share/doc/harpy-0.4
Using alex version 2.2 found on system at: /home/dons/.cabal/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.15.1 found on system at: /home/dons/.cabal/bin/c2hs
Using cpphs version 1.5 found on system at: /home/dons/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.3.2 found on system at: /usr/bin/gcc
Using ghc version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc
Using ghc-pkg version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc-pkg
Using greencard found on system at: /home/dons/.cabal/bin/greencard
Using haddock version 2.2.2 found on system at: /home/dons/testing/bin/haddock
Using happy version 1.17 found on system at: /home/dons/.cabal/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /home/dons/testing/bin/hsc2hs
Using hscolour version 1.10.1 found on system at:
/home/dons/.cabal/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No nhc98 found
Using pkg-config version 0.23 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library harpy-0.4...
Building harpy-0.4...
Building library...
Creating dist/build (and its parents)
/home/dons/testing/bin/ghc -package-name harpy-0.4 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package array-0.2.0.0 -package base-3.0.3.0 -package containers-0.2.0.0 -package mtl-1.1.0.1 -package parsec-2.1.0.2 -package pretty-1.0.1.0 -package template-haskell-2.3.0.0 -O2 -XForeignFunctionInterface -XMultiParamTypeClasses -XTemplateHaskell -XCPP -XFlexibleContexts -XFlexibleInstances -XRankNTypes Harpy Harpy.X86CodeGen Harpy.X86Assembler Harpy.CodeGenMonad Harpy.Call Harpy.X86Disassembler Harpy.X86CGCombinators
[1 of 7] Compiling Harpy.X86Disassembler ( Harpy/X86Disassembler.hs, dist/build/Harpy/X86Disassembler.o )
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word64->a"
    Rule 2: "fromIntegral/a->Word32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Int16"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Int32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word8->a"
    Rule 2: "fromIntegral/a->Int8"
[2 of 7] Compiling Harpy.CodeGenMonad ( Harpy/CodeGenMonad.hs, dist/build/Harpy/CodeGenMonad.o )
WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 6413

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5539

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5564

[3 of 7] Compiling Harpy.Call       ( Harpy/Call.hs, dist/build/Harpy/Call.o )
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Loading package syb ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package packedstring-0.1.0.1 ... linking ... done.
Loading package pretty-1.0.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package base-3.0.3.0 ... linking ... done.
Loading package parsec-2.1.0.2 ... linking ... done.
Loading package mtl-1.1.0.1 ... linking ... done.
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.0.20081007 for x86_64-unknown-linux):
	mkUsage
    harpy-0.4:Harpy.CodeGenMonad CodeGen{d} [(01T,
                                              base:GHC.Base.return{v 01T}),
                                             (32I, base:GHC.IOBase.IO{tc 32I}),
                                             (333, base:GHC.Word.Word32{tc 333}),
                                             (33A, base:GHC.Ptr.Ptr{tc 33A}),
                                             (33D, base:GHC.Ptr.FunPtr{tc 33D}),
                                             (40, ghc-prim:GHC.Unit.(){(w) tc 40}),
                                             (6Q, base:Data.Either.Right{d 6Q}),
                                             (r7, base:GHC.Base.${v r7}),
                                             (r4E, mtl-1.1.0.1:Control.Monad.Trans.liftIO{v r4E}),
                                             (r8S, base:GHC.Ptr.castPtrToFunPtr{v r8S}),
                                             (rO69,
                                              harpy-0.4:Harpy.CodeGenMonad.firstBuffer{v rO69}),
                                             (rO6z, harpy-0.4:Harpy.CodeGenMonad.CodeGen{d rO6z}),
                                             (rO7P, harpy-0.4:Harpy.CodeGenMonad.callDecl{v rO7P}),
                                             (rVBT, harpy-0.4:Harpy.Call.conv[aVBL]{v rVBT}),
                                             (rVDx, harpy-0.4:Harpy.Call.conv[aVDo]{v rVDx}),
                                             (rVJc, harpy-0.4:Harpy.Call.conv[aVIX]{v rVJc})]

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

Configuring harpy-0.4...
Flags chosen: small_base=True
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Dependency array -any && ==0.2.0.0: using array-0.2.0.0
Dependency base >=3 && ==3.0.3.0: using base-3.0.3.0
Dependency containers -any && ==0.2.0.0: using containers-0.2.0.0
Dependency mtl -any && ==1.1.0.1: using mtl-1.1.0.1
Dependency parsec -any && ==2.1.0.2: using parsec-2.1.0.2
Dependency pretty -any && ==1.0.1.0: using pretty-1.0.1.0
Dependency template-haskell -any && ==2.3.0.0: using template-haskell-2.3.0.0
Using Cabal-1.5.5 compiled by ghc-6.10
Using compiler: ghc-6.10.0.20081007
Using install prefix: /home/dons/.cabal
Binaries installed in: /home/dons/.cabal/bin
Libraries installed in: /home/dons/.cabal/lib/harpy-0.4/ghc-6.10.0.20081007
Private binaries installed in: /home/dons/.cabal/libexec
Data files installed in: /home/dons/.cabal/share/harpy-0.4
Documentation installed in: /home/dons/.cabal/share/doc/harpy-0.4
Using alex version 2.2 found on system at: /home/dons/.cabal/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.15.1 found on system at: /home/dons/.cabal/bin/c2hs
Using cpphs version 1.5 found on system at: /home/dons/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.3.2 found on system at: /usr/bin/gcc
Using ghc version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc
Using ghc-pkg version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc-pkg
Using greencard found on system at: /home/dons/.cabal/bin/greencard
Using haddock version 2.2.2 found on system at: /home/dons/testing/bin/haddock
Using happy version 1.17 found on system at: /home/dons/.cabal/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /home/dons/testing/bin/hsc2hs
Using hscolour version 1.10.1 found on system at:
/home/dons/.cabal/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No nhc98 found
Using pkg-config version 0.23 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library harpy-0.4...
Building harpy-0.4...
Building library...
Creating dist/build (and its parents)
/home/dons/testing/bin/ghc -package-name harpy-0.4 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package array-0.2.0.0 -package base-3.0.3.0 -package containers-0.2.0.0 -package mtl-1.1.0.1 -package parsec-2.1.0.2 -package pretty-1.0.1.0 -package template-haskell-2.3.0.0 -O2 -XForeignFunctionInterface -XMultiParamTypeClasses -XTemplateHaskell -XCPP -XFlexibleContexts -XFlexibleInstances -XRankNTypes Harpy Harpy.X86CodeGen Harpy.X86Assembler Harpy.CodeGenMonad Harpy.Call Harpy.X86Disassembler Harpy.X86CGCombinators
[1 of 7] Compiling Harpy.X86Disassembler ( Harpy/X86Disassembler.hs, dist/build/Harpy/X86Disassembler.o )
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word64->a"
    Rule 2: "fromIntegral/a->Word32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Int16"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Int32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word8->a"
    Rule 2: "fromIntegral/a->Int8"
[2 of 7] Compiling Harpy.CodeGenMonad ( Harpy/CodeGenMonad.hs, dist/build/Harpy/CodeGenMonad.o )
WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 6413

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5539

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5564

[3 of 7] Compiling Harpy.Call       ( Harpy/Call.hs, dist/build/Harpy/Call.o )
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Loading package syb ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package packedstring-0.1.0.1 ... linking ... done.
Loading package pretty-1.0.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package base-3.0.3.0 ... linking ... done.
Loading package parsec-2.1.0.2 ... linking ... done.
Loading package mtl-1.1.0.1 ... linking ... done.
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.0.20081007 for x86_64-unknown-linux):
	mkUsage
    harpy-0.4:Harpy.CodeGenMonad CodeGen{d} [(01T,
                                              base:GHC.Base.return{v 01T}),
                                             (32I, base:GHC.IOBase.IO{tc 32I}),
                                             (333, base:GHC.Word.Word32{tc 333}),
                                             (33A, base:GHC.Ptr.Ptr{tc 33A}),
                                             (33D, base:GHC.Ptr.FunPtr{tc 33D}),
                                             (40, ghc-prim:GHC.Unit.(){(w) tc 40}),
                                             (6Q, base:Data.Either.Right{d 6Q}),
                                             (r7, base:GHC.Base.${v r7}),
                                             (r4E, mtl-1.1.0.1:Control.Monad.Trans.liftIO{v r4E}),
                                             (r8S, base:GHC.Ptr.castPtrToFunPtr{v r8S}),
                                             (rO69,
                                              harpy-0.4:Harpy.CodeGenMonad.firstBuffer{v rO69}),
                                             (rO6z, harpy-0.4:Harpy.CodeGenMonad.CodeGen{d rO6z}),
                                             (rO7P, harpy-0.4:Harpy.CodeGenMonad.callDecl{v rO7P}),
                                             (rVBT, harpy-0.4:Harpy.Call.conv[aVBL]{v rVBT}),
                                             (rVDx, harpy-0.4:Harpy.Call.conv[aVDo]{v rVDx}),
                                             (rVJc, harpy-0.4:Harpy.Call.conv[aVIX]{v rVJc})]

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

Configuring harpy-0.4...
Flags chosen: small_base=True
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Dependency array -any && ==0.2.0.0: using array-0.2.0.0
Dependency base >=3 && ==3.0.3.0: using base-3.0.3.0
Dependency containers -any && ==0.2.0.0: using containers-0.2.0.0
Dependency mtl -any && ==1.1.0.1: using mtl-1.1.0.1
Dependency parsec -any && ==2.1.0.2: using parsec-2.1.0.2
Dependency pretty -any && ==1.0.1.0: using pretty-1.0.1.0
Dependency template-haskell -any && ==2.3.0.0: using template-haskell-2.3.0.0
Using Cabal-1.5.5 compiled by ghc-6.10
Using compiler: ghc-6.10.0.20081007
Using install prefix: /home/dons/.cabal
Binaries installed in: /home/dons/.cabal/bin
Libraries installed in: /home/dons/.cabal/lib/harpy-0.4/ghc-6.10.0.20081007
Private binaries installed in: /home/dons/.cabal/libexec
Data files installed in: /home/dons/.cabal/share/harpy-0.4
Documentation installed in: /home/dons/.cabal/share/doc/harpy-0.4
Using alex version 2.2 found on system at: /home/dons/.cabal/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.15.1 found on system at: /home/dons/.cabal/bin/c2hs
Using cpphs version 1.5 found on system at: /home/dons/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.3.2 found on system at: /usr/bin/gcc
Using ghc version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc
Using ghc-pkg version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc-pkg
Using greencard found on system at: /home/dons/.cabal/bin/greencard
Using haddock version 2.2.2 found on system at: /home/dons/testing/bin/haddock
Using happy version 1.17 found on system at: /home/dons/.cabal/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /home/dons/testing/bin/hsc2hs
Using hscolour version 1.10.1 found on system at:
/home/dons/.cabal/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No nhc98 found
Using pkg-config version 0.23 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library harpy-0.4...
Building harpy-0.4...
Building library...
Creating dist/build (and its parents)
/home/dons/testing/bin/ghc -package-name harpy-0.4 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package array-0.2.0.0 -package base-3.0.3.0 -package containers-0.2.0.0 -package mtl-1.1.0.1 -package parsec-2.1.0.2 -package pretty-1.0.1.0 -package template-haskell-2.3.0.0 -O2 -XForeignFunctionInterface -XMultiParamTypeClasses -XTemplateHaskell -XCPP -XFlexibleContexts -XFlexibleInstances -XRankNTypes Harpy Harpy.X86CodeGen Harpy.X86Assembler Harpy.CodeGenMonad Harpy.Call Harpy.X86Disassembler Harpy.X86CGCombinators
[1 of 7] Compiling Harpy.X86Disassembler ( Harpy/X86Disassembler.hs, dist/build/Harpy/X86Disassembler.o )
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word64->a"
    Rule 2: "fromIntegral/a->Word32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Int16"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Int32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word8->a"
    Rule 2: "fromIntegral/a->Int8"
[2 of 7] Compiling Harpy.CodeGenMonad ( Harpy/CodeGenMonad.hs, dist/build/Harpy/CodeGenMonad.o )
WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 6413

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5539

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5564

[3 of 7] Compiling Harpy.Call       ( Harpy/Call.hs, dist/build/Harpy/Call.o )
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Loading package syb ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package packedstring-0.1.0.1 ... linking ... done.
Loading package pretty-1.0.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package base-3.0.3.0 ... linking ... done.
Loading package parsec-2.1.0.2 ... linking ... done.
Loading package mtl-1.1.0.1 ... linking ... done.
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.0.20081007 for x86_64-unknown-linux):
	mkUsage
    harpy-0.4:Harpy.CodeGenMonad CodeGen{d} [(01T,
                                              base:GHC.Base.return{v 01T}),
                                             (32I, base:GHC.IOBase.IO{tc 32I}),
                                             (333, base:GHC.Word.Word32{tc 333}),
                                             (33A, base:GHC.Ptr.Ptr{tc 33A}),
                                             (33D, base:GHC.Ptr.FunPtr{tc 33D}),
                                             (40, ghc-prim:GHC.Unit.(){(w) tc 40}),
                                             (6Q, base:Data.Either.Right{d 6Q}),
                                             (r7, base:GHC.Base.${v r7}),
                                             (r4E, mtl-1.1.0.1:Control.Monad.Trans.liftIO{v r4E}),
                                             (r8S, base:GHC.Ptr.castPtrToFunPtr{v r8S}),
                                             (rO69,
                                              harpy-0.4:Harpy.CodeGenMonad.firstBuffer{v rO69}),
                                             (rO6z, harpy-0.4:Harpy.CodeGenMonad.CodeGen{d rO6z}),
                                             (rO7P, harpy-0.4:Harpy.CodeGenMonad.callDecl{v rO7P}),
                                             (rVBT, harpy-0.4:Harpy.Call.conv[aVBL]{v rVBT}),
                                             (rVDx, harpy-0.4:Harpy.Call.conv[aVDo]{v rVDx}),
                                             (rVJc, harpy-0.4:Harpy.Call.conv[aVIX]{v rVJc})]

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

Configuring harpy-0.4...
Flags chosen: small_base=True
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Dependency array -any && ==0.2.0.0: using array-0.2.0.0
Dependency base >=3 && ==3.0.3.0: using base-3.0.3.0
Dependency containers -any && ==0.2.0.0: using containers-0.2.0.0
Dependency mtl -any && ==1.1.0.1: using mtl-1.1.0.1
Dependency parsec -any && ==2.1.0.2: using parsec-2.1.0.2
Dependency pretty -any && ==1.0.1.0: using pretty-1.0.1.0
Dependency template-haskell -any && ==2.3.0.0: using template-haskell-2.3.0.0
Using Cabal-1.6.0.0 compiled by ghc-6.10
Using compiler: ghc-6.10.0.20081007
Using install prefix: /home/dons/.cabal
Binaries installed in: /home/dons/.cabal/bin
Libraries installed in: /home/dons/.cabal/lib/harpy-0.4/ghc-6.10.0.20081007
Private binaries installed in: /home/dons/.cabal/libexec
Data files installed in: /home/dons/.cabal/share/harpy-0.4
Documentation installed in: /home/dons/.cabal/share/doc/harpy-0.4
Using alex version 2.2 found on system at: /home/dons/.cabal/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.15.1 found on system at: /home/dons/.cabal/bin/c2hs
Using cpphs version 1.5 found on system at: /home/dons/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.3.2 found on system at: /usr/bin/gcc
Using ghc version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc
Using ghc-pkg version 6.10.0.20081007 found on system at:
/home/dons/testing/bin/ghc-pkg
Using greencard found on system at: /home/dons/.cabal/bin/greencard
Using haddock version 2.2.2 found on system at: /home/dons/testing/bin/haddock
Using happy version 1.17 found on system at: /home/dons/.cabal/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /home/dons/testing/bin/hsc2hs
Using hscolour version 1.10.1 found on system at:
/home/dons/.cabal/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No nhc98 found
Using pkg-config version 0.23 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library harpy-0.4...
Building harpy-0.4...
Building library...
Creating dist/build (and its parents)
/home/dons/testing/bin/ghc -package-name harpy-0.4 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package array-0.2.0.0 -package base-3.0.3.0 -package containers-0.2.0.0 -package mtl-1.1.0.1 -package parsec-2.1.0.2 -package pretty-1.0.1.0 -package template-haskell-2.3.0.0 -O2 -XForeignFunctionInterface -XMultiParamTypeClasses -XTemplateHaskell -XCPP -XFlexibleContexts -XFlexibleInstances -XRankNTypes Harpy Harpy.X86CodeGen Harpy.X86Assembler Harpy.CodeGenMonad Harpy.Call Harpy.X86Disassembler Harpy.X86CGCombinators
[1 of 7] Compiling Harpy.X86Disassembler ( Harpy/X86Disassembler.hs, dist/build/Harpy/X86Disassembler.o )
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word64->a"
    Rule 2: "fromIntegral/a->Word32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Int16"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Int32"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word16->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word32->a"
    Rule 2: "fromIntegral/a->Word64"
Rules.findBest: rule overlap (Rule 1 wins)
    Rule 1: "fromIntegral/Word8->a"
    Rule 2: "fromIntegral/a->Int8"
[2 of 7] Compiling Harpy.CodeGenMonad ( Harpy/CodeGenMonad.hs, dist/build/Harpy/CodeGenMonad.o )
WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 6413

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5539

WARNING: file simplCore/SimplCore.lhs line 501
Simplifier still going after 4 iterations; bailing out.  Size = 5564

[3 of 7] Compiling Harpy.Call       ( Harpy/Call.hs, dist/build/Harpy/Call.o )
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Loading package syb ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package containers-0.2.0.0 ... linking ... done.
Loading package packedstring-0.1.0.1 ... linking ... done.
Loading package pretty-1.0.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package base-3.0.3.0 ... linking ... done.
Loading package parsec-2.1.0.2 ... linking ... done.
Loading package mtl-1.1.0.1 ... linking ... done.

ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.0.20081007 for x86_64-unknown-linux):
	mkUsage
    harpy-0.4:Harpy.CodeGenMonad CodeGen{d} [(01T,
                                              base:GHC.Base.return{v 01T}),
                                             (32I, base:GHC.IOBase.IO{tc 32I}),
                                             (333, base:GHC.Word.Word32{tc 333}),
                                             (33A, base:GHC.Ptr.Ptr{tc 33A}),
                                             (33D, base:GHC.Ptr.FunPtr{tc 33D}),
                                             (40, ghc-prim:GHC.Unit.(){(w) tc 40}),
                                             (6Q, base:Data.Either.Right{d 6Q}),
                                             (r7, base:GHC.Base.${v r7}),
                                             (r4E, mtl-1.1.0.1:Control.Monad.Trans.liftIO{v r4E}),
                                             (r8S, base:GHC.Ptr.castPtrToFunPtr{v r8S}),
                                             (rO69,
                                              harpy-0.4:Harpy.CodeGenMonad.firstBuffer{v rO69}),
                                             (rO6z, harpy-0.4:Harpy.CodeGenMonad.CodeGen{d rO6z}),
                                             (rO7P, harpy-0.4:Harpy.CodeGenMonad.callDecl{v rO7P}),
                                             (rVBT, harpy-0.4:Harpy.Call.conv[aVBL]{v rVBT}),
                                             (rVDx, harpy-0.4:Harpy.Call.conv[aVDo]{v rVDx}),
                                             (rVJc, harpy-0.4:Harpy.Call.conv[aVIX]{v rVJc})]

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field Value
Version 6.9
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information