Skip to content

Booting from .hc files with GHC 6.6 malfunctions

The method of booting from .hc files as documented in chapter 9 of the GHC building guid does not work for GHC 6.6.

After having built GHC 6.6 the process make hc-file-bundle Project=ghc does not create a tarball, as the rts/AutoApply_thr.hc, rts/AutoApply_thr_p.hc, rts/AutoApply_thr_debug.hc and rts/AutoApply_debug.hc files cannot be found, nor can libraries/haskell-src/Language/Haskell/Parser.hs.

Modifying hc-files-to-go to not include those files and trying to use distrib/hc-build with a sourcetree resulting from unpacking the tarball created from the modified hc-files-to-go file over a pristine sourcetree does not result in a working compile either. The process halts at trying to compile ghc-pkg, as no ghc-inplace is built yet, at that point.

The problem occurs on both Mac OS X (PPC) and Linux (i686).

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