Skip to content

GHC build fails when setting GhcWithInterpreter=No

My GHC build (latest source from darcs) is configured to leave out GHCI, by setting GhcWithInterpreter=No in build.mk. Since the last update, the GHC build now fails in stage2 with

main/Main.hs:26:0:

Failed to load interface for `InteractiveUI':

(which is clear, since none of the compiler/ghci/ files have been compiled, as I requested)

The Makefile responsible for the failing command is Makefile.ghcbin, introduced by this patch:

Tue Jul 25 15:01:54 CEST 2006 Simon Marlow <simonmar@microsoft.com>

  • Generalise Package Support

This Makefile contains an option -DGHCI responsible for the error. Unfortunately, I have no idea whether just protecting -DGHCI as in the normal Makefile would break something.

Trac metadata
Trac field Value
Version 6.5
Type Bug
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information