[GHC] #13886: GHC panic when using GHC plugins

GHC ghc-devs at haskell.org
Wed Jun 28 23:23:30 UTC 2017


#13886: GHC panic when using GHC plugins
-------------------------------------+-------------------------------------
        Reporter:  Darwin226         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Urgh. Reasons like this is why I find testing GHC HEAD with `stack` to be
 infuriating.

 If you really must use `stack`, my guess is that adding dependencies of
 the `ghc` library (e.g., `bytestring`) to `extra-deps` is confusing it and
 causing it to link against two different copies of the same library,
 causing linker shenanigans. What happens if you remove everything except
 `dump-core`, `deepseq`, and `hashable`?

 When I get a chance, I'll try installing `dump-core` myself on my Windows
 machine with `cabal-install` (if someone else doesn't do so before me).

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


More information about the ghc-tickets mailing list