Ticket #977 (closed bug: fixed)

Opened 7 years ago

Last modified 5 years ago

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).

Change History

Changed 7 years ago by igloo

  • testcase set to N/A
  • milestone set to 6.6.1

Changed 6 years ago by igloo

  • owner set to igloo

Changed 6 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Creating .hc files and bootstrapping from them now works for me.

Changed 5 years ago by simonmar

  • architecture changed from Multiple to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Multiple to Unknown/Multiple
Note: See TracTickets for help on using tickets.