[GHC] #15700: Plugins cause GHC to panic: cannot find dynamic libraries

GHC ghc-devs at haskell.org
Wed Oct 3 20:12:23 UTC 2018


#15700: Plugins cause GHC to panic: cannot find dynamic libraries
-------------------------------------+-------------------------------------
        Reporter:  sheaf             |                Owner:  (none)
            Type:  bug               |               Status:  infoneeded
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.1
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #15492            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by sheaf):

 Using any plugin at all triggers the bug, including an empty file e.g.


 {{{
 {-# OPTIONS_GHC -fplugin GHC.TypeLits.Normalise #-}
 module Bug where
 }}}

 I don't know how plugins are set-up to work on Windows, but it doesn't
 seem like any DLL files are generated when I use plugins in GHC 8.4.3.
 From what I understand of comment:4, maybe GHC 8.4.3 on Windows could run
 plugins without using DLLs, whereas GHC 8.6.1 is insisting on using them
 when it could perhaps do without?

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


More information about the ghc-tickets mailing list