Ticket #977 (closed bug: fixed)
Booting from .hc files with GHC 6.6 malfunctions
| Reported by: | guest | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6.1 |
| Component: | Build System | Version: | 6.6 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | N/A | Blocked By: | |
| Blocking: | Related Tickets: |
Description
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).
