[GHC] #16231: GHCi under powershell fails to find libgmp-10.dll when built with hadrian.
GHC
ghc-devs at haskell.org
Sat Jan 26 10:48:12 UTC 2019
#16231: GHCi under powershell fails to find libgmp-10.dll when built with hadrian.
-------------------------------------+-------------------------------------
Reporter: AndreasK | Owner: (none)
Type: bug | Status: new
Priority: high | Milestone:
Component: Build System | Version: 8.6.3
(Hadrian) |
Resolution: | Keywords:
Operating System: Windows | Architecture:
| Unknown/Multiple
Type of failure: GHCi crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by Phyx-):
* priority: normal => high
Comment:
No, it's affecting all shells, the only reason it "works" in msys is
because msys2 has it's own copy of `libgmp-10.dll` which it puts on the
PATH.
But this gmp is there for GCC's use not GHC, on Windows `gmp` is supposed
to be statically linked using `libraries/integer-gmp_CONFIGURE_OPTS +=
--configure-option=--with-intree-gmp` which Make sets.
TL;DR: Hadrian builds integer-gmp incorrectly.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16231#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list