Ticket #762 (closed bug: fixed)

Opened 7 years ago

Last modified 5 years ago

Unregistered build fails because libghccompat is not built

Reported by: jeremy at n-heptane.com Owned by:
Priority: normal Milestone:
Component: Build System Version: 6.4.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by simonmar) (diff)

I believe that this bug:

 http://article.gmane.org/gmane.comp.lang.haskell.glasgow.user/9108

Can be fixed by changing the build instructions on this page:

http://www.haskell.org/ghc/docs/6.4.1/html/building/sec-porting-ghc.html#unregisterised-porting

These two lines, currently do *not* cause the .hc files for compat to be created:

$ make boot UseStage1=YES
$ make -k UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files'

but changing the first line to:

$ make boot UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files'

does.

Change History

Changed 7 years ago by guest

I also had to edit ghc/Makefile and change the order of subdirs so that libs comes before compiler as Simon suggested in that thread.

Here is the order I used:

ifeq "$(BootingFromHc?)" "YES" SUBDIRS = includes rts docs lib compiler utils driver else

Changed 7 years ago by simonmar

  • description modified (diff)

Changed 7 years ago by simonmar

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

Both changes applied, thanks.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

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