[GHC] #15860: Hadrian build fails on FreeBSD
GHC
ghc-devs at haskell.org
Fri Nov 16 00:11:28 UTC 2018
#15860: Hadrian build fails on FreeBSD
-------------------------------------+-------------------------------------
Reporter: raichoo | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 8.7
(Hadrian) |
Resolution: | Keywords:
Operating System: FreeBSD | Architecture: x86_64
Type of failure: Compile-time | (amd64)
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by snowleopard):
Thank you for the patch! Glad you made it work with `--integer-simple`.
It's difficult to figure out what's wrong with `libgmp` on FreeBSD from my
Windows machine, but I can point you to the GMP-related build rule:
https://github.com/ghc/ghc/blob/94756201349685a34c4495addd3484fdfcc8b498/hadrian/src/Rules/Gmp.hs#L46
Also, you could try to build GHC using in-tree GMP. I think the easiest
way to do that is to comment out these lines:
https://github.com/ghc/ghc/blob/94756201349685a34c4495addd3484fdfcc8b498/hadrian/src/Rules/Gmp.hs#L51-L58
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15860#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list