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

GHC ghc-devs at haskell.org
Wed Oct 3 19:46:32 UTC 2018


#15700: Plugins cause GHC to panic: cannot find dynamic libraries
-------------------------------------+-------------------------------------
        Reporter:  sheaf             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.6.2
       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 Phyx-):

 Don't know, I only briefly looked at the implementation. as it currently
 is, it requires DynWay. but even before
 13105a1ae870da6936a27cdd1d6a4bd25a661368 the only way it could work
 without being a shared library is if the plugin is "local", in which case
 it would load the object file.  The comments around the code before the
 change suggest this shouldn't be possible, but who knows, it didn't abort
 before so maybe it did eventually find something to load.

 So maybe that's what was happening before, it thought the plugin was local
 instead of an external one. Dunno, never looked at plugins for longer then
 30mins.

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


More information about the ghc-tickets mailing list