[GHC] #13185: haskell-relational-query: ghc: panic! (the 'impossible' happened)

GHC ghc-devs at haskell.org
Wed May 31 18:28:10 UTC 2017


#13185: haskell-relational-query: ghc: panic! (the 'impossible' happened)
-------------------------------------+-------------------------------------
        Reporter:  LocutusOfBorg     |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Compile-time      |            Test Case:  build
  crash or panic                     |  relational-query with ghc 8.0.2
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Thanks, LocutusOfBorg. I needed to constraint `persistable-record`:

 {{{
 $ cabal install --enable-tests --constraint=persistable-record==0.4.1.0
 --dry-run
 Resolving dependencies...
 In order, the following would be installed (use -v for more details):
 dlist-0.8.0.2
 names-th-0.2.0.2
 primitive-0.6.2.0
 random-1.1
 sql-words-0.1.4.1
 text-1.2.2.2
 tf-random-0.5
 QuickCheck-2.9.2
 quickcheck-simple-0.1.0.1
 th-data-compat-0.0.2.2
 persistable-record-0.4.1.0 (latest: 0.5.0.1)
 th-reify-compat-0.0.1.1
 time-locale-compat-0.1.1.3
 relational-query-0.8.3.2 (latest: 0.9.1.0)
 }}}

 With this set of dependencies, I was able to reproduce the bug.

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


More information about the ghc-tickets mailing list