Hi Matthias, In my attempts to port ghc 8.10.2 I didn't figure out how to avoid requiring threaded rts for ghc bootstrap. I propose we change the bootstrap ghc 8.6.4 to include libHSrts_thr.a. So far I confirmed that applying the patch below makes libHSrts_thr.a appear in the generated *xz file which is then good enough to bootstrap 8.6.4. I will verify that I can successfully bootstrap ghc-8.10.2.
I don't have a full update yet because I've never updated the bootstrap before. Matthias, do you think you can rebuild and host the new bootstrap packages starting from this change? Thanks Greg diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index 0168e13fe4c..f5f5c53c5ae 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -217,9 +217,9 @@ _bootstrap_prepare: echo GhcStage2HcOpts=-O -fasm >> ${WRKSRC}/mk/build.mk echo SplitObjs=NO >> ${WRKSRC}/mk/build.mk echo GhcLibWays=v >> ${WRKSRC}/mk/build.mk - echo GhcRTSWays= >> ${WRKSRC}/mk/build.mk + echo GhcRTSWays=thr >> ${WRKSRC}/mk/build.mk echo GhcWithInterpreter=NO >> ${WRKSRC}/mk/build.mk - echo GhcThreaded=NO >> ${WRKSRC}/mk/build.mk + echo GhcThreaded=YES >> ${WRKSRC}/mk/build.mk echo INTEGER_LIBRARY=integer-simple >> ${WRKSRC}/mk/build.mk echo SRC_CC_OPTS+=-g -O0 >> ${WRKSRC}/mk/build.mk echo HADDOCK_DOCS=NO >> ${WRKSRC}/mk/build.mk