kili@ and I are working towards the switch to ghc 9.2.2. Most things are
looking good and I pushed the most recent branch to
https://github.com/blackgnezdo/ports/commits/ghc-9.2
We have a couple of issues remaining to consider.
1) We can no longer produce a viable bootstrap package for i386. This
problem predates ghc-9.2.2. It has become a problem now because we need
to rebuild the bootstrap to get 9.2.2 building. That's because the new
version requires an extra library that previous ghc versions didn't
need. Our inclination is to drop i386 support from lang/ghc. We have
already been limited by i386 RAM and a couple of packages including
haddock for ghc already can't be built.
If you feel strongly enough to debug on i386, the bootstrap is
available in the port. The error is:
+ exec utils/ghc-cabal/dist-install/build/tmp/ghc-cabal copy libraries/ghc-prim dist-install strip /usr/ports/pobj/ghc-9.2.2/bootstrap /usr/ports/pobj/ghc-9.2.2/bootstrap/lib/ghc /usr/ports/pobj/ghc-9.2.2/bootstrap/share/doc/ghc/html/libraries v
Segmentation fault (core dumped)
To reproduce, just don't apply the removal patch from my chain and try
to build lang/ghc. The recipe to build your own bootstrap is in the port
Makefile.
2) git-annex is not ready for ghc-9.2.2. I can probably power through
this but it's not done yet.
Other than that, I feel the branch is almost ready. More tests are
always welcome.
Thanks
Greg
No comments:
Post a Comment