Changes between Version 1 and Version 2 of Ticket #52582, comment 12


Ignore:
Timestamp:
Nov 15, 2016, 12:28:00 AM (7 years ago)
Author:
shanemikel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52582, comment 12

    v1 v2  
    22> ghc still not compatible with macOS Sierra (10.12.1): configures but does not build.
    33
    4 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 using a (Stage-1 or Stage-2?) GHC from El Capitan, or trying to figure out cross-building on Linux.
     4The 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 using a (Stage-1 or Stage-2?) GHC from El Capitan, or trying to figure out cross-building on Linux.  I may try the Linux route as I no longer have access to an El Capitan machine.
    55
    66I 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).