[GHC] #13606: GHCi segfaults on Windows with D3D code

GHC ghc-devs at haskell.org
Mon Apr 24 21:53:45 UTC 2017


#13606: GHCi segfaults on Windows with D3D code
----------------------------------+----------------------------------------
        Reporter:  RyanGlScott    |                Owner:  (none)
            Type:  bug            |               Status:  new
        Priority:  normal         |            Milestone:
       Component:  GHCi           |              Version:  8.2.1-rc2
      Resolution:                 |             Keywords:
Operating System:  Windows        |         Architecture:  Unknown/Multiple
 Type of failure:  GHCi crash     |            Test Case:
      Blocked By:                 |             Blocking:
 Related Tickets:  #12499 #12498  |  Differential Rev(s):
       Wiki Page:                 |
----------------------------------+----------------------------------------
Changes (by Phyx-):

 * related:   => #12499 #12498


Comment:

 This has to do with the fact that we don't recognize import libraries that
 are named anything other than ".dll.a" or ".lib". Unfortunately, msys2
 names all import libraries that they generate using `gendef` with a `.a`
 extension.

 It's currently trying to treat the library as a normal archive, resulting
 in the segfault because there's no executable code.

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


More information about the ghc-tickets mailing list