Skip to content

Build the ghc-bin package in the standard way

In ghc/ghc.mk we have

# ToDo
ghc_USES_CABAL = NO

which I think is responsible for these (non-fatal) errors during the build:

"inplace/bin/mkdependC" -f ghc/stage1/build/.depend.tmp   --   -Wall -Werror           -- ghc/hschooks.c
ghc/hschooks.c:7:17: error: Rts.h: No such file or directory
ghc/hschooks.c:9:22: error: RtsFlags.h: No such file or directory
ghc/hschooks.c:12:19: error: HsFFI.h: No such file or directory
ghc/hschooks.c:7:17: error: Rts.h: No such file or directory
ghc/hschooks.c:9:22: error: RtsFlags.h: No such file or directory
ghc/hschooks.c:12:19: error: HsFFI.h: No such file or directory

We should build ghc-bin in the standard way, without ghc_USES_CABAL = NO.

Trac metadata
Trac field Value
Version 6.10.4
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information