Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#762 closed bug (fixed)

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: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description (last modified by simonmar)

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 (5)

comment:1 Changed 9 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

comment:2 Changed 9 years ago by simonmar

  • Description modified (diff)

comment:3 Changed 9 years ago by simonmar

  • Resolution set to fixed
  • Status changed from new to closed

Both changes applied, thanks.

comment:4 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:5 Changed 6 years ago by simonmar

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