On 2/2/25 23:36, Jonathan Perkin wrote:
* On 2025-02-02 at 12:52 GMT, PHO wrote:I am about to switch the default Haskell compiler from GHC 9.8 to 9.10. I have tested the new compiler on all of the platforms our GHC supports, but if it causes problems please let me know.It's still broken on illumos. 9.10 fails due to the broken bootstrap:https://us-central.manta.mnx.io/pkgsrc/public/reports/upstream- trunk/20250201.2249/ghc-9.10.1nb1/configure.log
Ugh... so pkgsrc libgcc_s.so, libiconv.so, and libncurses.so leaked into my bootkit. This is indeed broken. Sorry I should have watched out for them.
I reverted back to the working bootstrap for 9.8, but that now breaks due to patch issues:https://us-central.manta.mnx.io/pkgsrc/public/reports/upstream- trunk/20250201.2249/ghc-9.8.2nb2/build.logOnce 9.8 is fixed I can generate a working bootstrap for 9.10, or maybe I should just go back to 2024Q4 and use that one to bootstrap as it used to work fine?
Unfortunately the 9.8 source cannot be made bootstrappable with both 9.4 and 9.8 at the same time. So yes, you need to go back to 2024Q4.
While looking at your 9.4 bootkit I found it had several shared libraries in ./lib/pkgsrc, and GHC binaries had relative rpaths to them. How did you do this? Could you provide instructions in files/BOOTSTRAP.md so that future me can produce bootkits like this?