Skip to content

ghc-9.4: make build system broken by process and Cabal bumps

After bunmping the Cabal and process modules in ghc-9.4 we have Cabal-3.8.1.0 and process-1.6.14.0 pinned in our submodules.

Cabal has build-depends: process >= 1.6.14.0. As a consequence we must add process to PACKAGES_STAGE0 in /ghc.mk.

Building with make build system fails with

compiler/ghc.mk:241: compiler/stage1/build/.depend-v.haskell: No such file or directory
make[1]: *** No rule to make target 'libraries/process/dist-boot/build/System/Process.hi', needed by 'utils/deriveConstants/dist/build/Main.o'.  Stop.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information