[MacPorts] #52582: ghc @7.8.3_4: RTS incompatibility with Sierra
MacPorts
noreply at macports.org
Tue Nov 15 00:57:26 CET 2016
#52582: ghc @7.8.3_4: RTS incompatibility with Sierra
-------------------------+-----------------------------
Reporter: shanemikel | Owner: neverpanic
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: sierra haspatch
Port: ghc |
-------------------------+-----------------------------
Comment (by shanemikel):
Replying to [comment:11 murrayE]:
> ghc still not compatible with macOS Sierra (10.12.1): configures but
does not build.
The particular RTS problem addressed by this issue has been fixed, so I
think this should be closed. The rest of the problems are related to
linking, so I think a new thread should be opened for "GHC linking problem
on Sierra" or something like that. In any case, it does look like those
issues have been fixed, but getting them into a build may be a little
tricky. For one, we need to make sure to pick the correct revision for
the GHC repo (which should be in the 8.0.2 branch, but I'm not sure yet),
and also, the Cabal submodule has to include another revision. Again, I'm
not sure if the GHC head has updated the submodule to include that patch
yet, or not. Finally, having the right source is only half the problem,
as GHC is self-hosting; that is, we need a working GHC to build GHC. I'm
not sure the best way to go about this, but I would start with either
building the new sources on El Capitan, or trying to figure out cross-
building on Linux.
I haven't actually done this before, so it could take me a little time to
figure it out. If you want to give it a go, you can find some information
here: https://ghc.haskell.org/trac/ghc/wiki/Building. Specifically the
page about cross-compiling mentions the possibility of cross-building
(targeting a different OS, as opposed to a different architecture).
--
Ticket URL: <https://trac.macports.org/ticket/52582#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list