Opened 11 years ago

Closed 11 years ago

Last modified 8 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: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

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 11 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 11 years ago by simonmar

Description: modified (diff)

comment:3 Changed 11 years ago by simonmar

Resolution: fixed
Status: newclosed

Both changes applied, thanks.

comment:4 Changed 8 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:5 Changed 8 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.