[GHC] #8281: The impossible happened: primRepToFFIType

GHC ghc-devs at haskell.org
Fri Sep 13 02:22:18 CEST 2013


#8281: The impossible happened: primRepToFFIType
-----------------------------------+---------------------------------------
       Reporter:  tibbe            |             Owner:
           Type:  bug              |            Status:  new
       Priority:  normal           |         Milestone:
      Component:  Compiler         |           Version:  7.6.2
       Keywords:                   |  Operating System:  Unknown/Multiple
   Architecture:                   |   Type of failure:  Compile-time crash
  Unknown/Multiple                 |         Test Case:
     Difficulty:  Unknown          |          Blocking:
     Blocked By:                   |
Related Tickets:                   |
-----------------------------------+---------------------------------------
 I ran into this error while trying to use GHCi on the hashable package:

 {{{
 $ cabal repl
 Preprocessing library hashable-1.2.0.10...
 GHCi, version 7.6.2: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Loading package array-0.4.0.1 ... linking ... done.
 Loading package deepseq-1.3.0.1 ... linking ... done.
 Loading package bytestring-0.10.0.2 ... linking ... done.
 Loading package text-0.11.3.1 ... linking ... done.
 Loading object (static) dist/build/cbits/fnv.o ... done
 Loading object (static) dist/build/cbits/getRandomBytes.o ... done
 final link ... done
 [1 of 4] Compiling Data.Hashable.RandomSource (
 Data/Hashable/RandomSource.hs, interpreted ) [flags changed]
 [2 of 4] Compiling Data.Hashable.Class ( Data/Hashable/Class.hs,
 interpreted ) [flags changed]
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.6.2 for x86_64-apple-darwin):
         primRepToFFIType

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

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



More information about the ghc-tickets mailing list