[GHC] #11223: Dynamic linker on Windows is unable to link against libmingwex
GHC
ghc-devs at haskell.org
Wed Dec 16 08:54:38 UTC 2015
#11223: Dynamic linker on Windows is unable to link against libmingwex
-------------------------------------+-------------------------------------
Reporter: Phyx- | Owner: Phyx-
Type: task | Status: new
Priority: normal | Milestone: 8.2.1
Component: Runtime System | Version: 7.10.3
(Linker) |
Resolution: | Keywords:
Operating System: Windows | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash | Test Case:
Blocked By: | Blocking:
Related Tickets: #10726 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Phyx-):
Yeah, It's not on the top of the list of possible solutions for sure.
I have another thing I want to try next, instead of linking in
`libmingw32.a` to get `__mingw_raise_matherr` I can just inline the
definition of `__mingw_raise_matherr` in the `rts` and export the symbol
as a **weak** symbol. That way you can still link to `libmingw32` if you
want to and thus override it, but I don't need to link in everything else
including the kitchen sink to use `libmingwex`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11223#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list