Circular dependency between the compiler and TH?

Joel Reymont joelr1 at gmail.com
Mon Aug 21 15:11:44 EDT 2006


I get to stage two and then this:


ghci/InteractiveUI.hs:74:7:
     Could not find module `System.Console.Readline':
       Use -v to see a list of the files searched for.
<<ghc: 302864492 bytes, 43 GCs, 4361258/9612180 avg/max bytes  
residency (4 samples), 24M in use, 0.01 INIT (0.00 elapsed), 0.79 MUT  
(11.30 elapsed), 0.13 GC (0.15 elapsed) :ghc>>

What do I do?

touch .depend-BASE
../compiler/ghc-inplace -M -optdep-f -optdep.depend-BASE  -osuf o - 
I../includes   -H16m -O -iutils -ibasicTypes -itypes -ihsSyn - 
iprelude -irename -itypecheck -ideSugar -icoreSyn -ispecialise - 
isimplCore -istranal -istgSyn -isimplStg -icodeGen -imain -iprofiling  
-iparser -icprAnalysis -indpFlatten -iiface -icmm -inativeGen -ighci - 
Istage2 -DGHCI -DBREAKPOINT -package template-haskell -threaded - 
package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics - 
Rghc-timing -I. -IcodeGen -InativeGen -Iparser -package unix -package  
Cabal -ignore-package lang -recomp -Rghc-timing -H16M '-#include  
"cutils.h"' -package-name ghc-6.5.20060820 -fgenerics basicTypes/ 
BasicTypes.lhs basicTypes/DataCon.lhs basicTypes/Demand.lhs  
basicTypes/Id.lhs basicTypes/IdInfo.lhs basicTypes/Literal.lhs  
basicTypes/MkId.lhs basicTypes/Module.lhs basicTypes/Name.lhs  
basicTypes/NameEnv.lhs basicTypes/NameSet.lhs basicTypes/ 
NewDemand.lhs basicTypes/OccName.lhs basicTypes/RdrName.lhs  
basicTypes/SrcLoc.lhs basicTypes/UniqSupply.lhs basicTypes/Unique.lhs  
basicTypes/Var.lhs basicTypes/VarEnv.lhs basicTypes/VarSet.lhs cmm/ 
CLabel.hs cmm/Cmm.hs cmm/CmmLex.hs cmm/CmmLint.hs cmm/CmmOpt.hs cmm/ 
CmmParse.hs cmm/CmmUtils.hs cmm/MachOp.hs cmm/PprC.hs cmm/PprCmm.hs  
codeGen/Bitmap.hs codeGen/CgBindery.lhs codeGen/CgCallConv.hs codeGen/ 
CgCase.lhs codeGen/CgClosure.lhs codeGen/CgCon.lhs codeGen/CgExpr.lhs  
codeGen/CgForeignCall.hs codeGen/CgHeapery.lhs codeGen/CgInfoTbls.hs  
codeGen/CgLetNoEscape.lhs codeGen/CgMonad.lhs codeGen/CgParallel.hs  
codeGen/CgPrimOp.hs codeGen/CgProf.hs codeGen/CgStackery.lhs codeGen/ 
CgTailCall.lhs codeGen/CgTicky.hs codeGen/CgUtils.hs codeGen/ 
ClosureInfo.lhs codeGen/CodeGen.lhs codeGen/SMRep.lhs coreSyn/ 
CoreFVs.lhs coreSyn/CoreLint.lhs coreSyn/CorePrep.lhs coreSyn/ 
CoreSubst.lhs coreSyn/CoreSyn.lhs coreSyn/CoreTidy.lhs coreSyn/ 
CoreUnfold.lhs coreSyn/CoreUtils.lhs coreSyn/ExternalCore.lhs coreSyn/ 
MkExternalCore.lhs coreSyn/PprCore.lhs coreSyn/PprExternalCore.lhs  
cprAnalysis/CprAnalyse.lhs deSugar/Check.lhs deSugar/Desugar.lhs  
deSugar/DsArrows.lhs deSugar/DsBinds.lhs deSugar/DsCCall.lhs deSugar/ 
DsExpr.lhs deSugar/DsForeign.lhs deSugar/DsGRHSs.lhs deSugar/ 
DsListComp.lhs deSugar/DsMeta.hs deSugar/DsMonad.lhs deSugar/ 
DsUtils.lhs deSugar/Match.lhs deSugar/MatchCon.lhs deSugar/ 
MatchLit.lhs ghci/ByteCodeAsm.lhs ghci/ByteCodeFFI.lhs ghci/ 
ByteCodeGen.lhs ghci/ByteCodeInstr.lhs ghci/ByteCodeItbls.lhs ghci/ 
ByteCodeLink.lhs ghci/InteractiveUI.hs ghci/Linker.lhs ghci/ 
ObjLink.lhs hsSyn/Convert.lhs hsSyn/HsBinds.lhs hsSyn/HsDecls.lhs  
hsSyn/HsExpr.lhs hsSyn/HsImpExp.lhs hsSyn/HsLit.lhs hsSyn/HsPat.lhs  
hsSyn/HsSyn.lhs hsSyn/HsTypes.lhs hsSyn/HsUtils.lhs iface/BinIface.hs  
iface/BuildTyCl.lhs iface/IfaceEnv.lhs iface/IfaceSyn.lhs iface/ 
IfaceType.lhs iface/LoadIface.lhs iface/MkIface.lhs iface/TcIface.lhs  
main/CmdLineParser.hs main/CodeOutput.lhs main/Config.hs main/ 
Constants.lhs main/DriverMkDepend.hs main/DriverPhases.hs main/ 
DriverPipeline.hs main/DynFlags.hs main/ErrUtils.lhs main/Finder.lhs  
main/GHC.hs main/HeaderInfo.hs main/HscMain.lhs main/HscStats.lhs  
main/HscTypes.lhs main/Main.hs main/PackageConfig.hs main/ 
Packages.lhs main/ParsePkgConf.hs main/PprTyThing.hs main/ 
StaticFlags.hs main/SysTools.lhs main/TidyPgm.lhs nativeGen/ 
AsmCodeGen.lhs nativeGen/MachCodeGen.hs nativeGen/MachInstrs.hs  
nativeGen/MachRegs.lhs nativeGen/NCGMonad.hs nativeGen/ 
PositionIndependentCode.hs nativeGen/PprMach.hs nativeGen/ 
RegAllocInfo.hs nativeGen/RegisterAlloc.hs ndpFlatten/FlattenInfo.hs  
ndpFlatten/FlattenMonad.hs ndpFlatten/Flattening.hs ndpFlatten/ 
NDPCoreUtils.hs ndpFlatten/PArrAnal.hs parser/Ctype.lhs parser/ 
LexCore.hs parser/Lexer.hs parser/Parser.hs parser/ParserCore.hs  
parser/ParserCoreUtils.hs parser/RdrHsSyn.lhs prelude/ForeignCall.lhs  
prelude/PrelInfo.lhs prelude/PrelNames.lhs prelude/PrelRules.lhs  
prelude/PrimOp.lhs prelude/TysPrim.lhs prelude/TysWiredIn.lhs  
profiling/CostCentre.lhs profiling/SCCfinal.lhs rename/RnBinds.lhs  
rename/RnEnv.lhs rename/RnExpr.lhs rename/RnHsSyn.lhs rename/ 
RnNames.lhs rename/RnSource.lhs rename/RnTypes.lhs simplCore/CSE.lhs  
simplCore/FloatIn.lhs simplCore/FloatOut.lhs simplCore/ 
LiberateCase.lhs simplCore/OccurAnal.lhs simplCore/SAT.lhs simplCore/ 
SATMonad.lhs simplCore/SetLevels.lhs simplCore/SimplCore.lhs  
simplCore/SimplEnv.lhs simplCore/SimplMonad.lhs simplCore/ 
SimplUtils.lhs simplCore/Simplify.lhs simplStg/SRT.lhs simplStg/ 
SimplStg.lhs simplStg/StgStats.lhs specialise/Rules.lhs specialise/ 
SpecConstr.lhs specialise/Specialise.lhs stgSyn/CoreToStg.lhs stgSyn/ 
StgLint.lhs stgSyn/StgSyn.lhs stranal/DmdAnal.lhs stranal/ 
SaAbsInt.lhs stranal/SaLib.lhs stranal/StrictAnal.lhs stranal/ 
WorkWrap.lhs stranal/WwLib.lhs typecheck/Inst.lhs typecheck/ 
TcArrows.lhs typecheck/TcBinds.lhs typecheck/TcClassDcl.lhs typecheck/ 
TcDefaults.lhs typecheck/TcDeriv.lhs typecheck/TcEnv.lhs typecheck/ 
TcExpr.lhs typecheck/TcForeign.lhs typecheck/TcGenDeriv.lhs typecheck/ 
TcHsSyn.lhs typecheck/TcHsType.lhs typecheck/TcInstDcls.lhs typecheck/ 
TcMType.lhs typecheck/TcMatches.lhs typecheck/TcPat.lhs typecheck/ 
TcRnDriver.lhs typecheck/TcRnMonad.lhs typecheck/TcRnTypes.lhs  
typecheck/TcRules.lhs typecheck/TcSimplify.lhs typecheck/TcSplice.lhs  
typecheck/TcTyClsDecls.lhs typecheck/TcTyDecls.lhs typecheck/ 
TcType.lhs typecheck/TcUnify.lhs types/Class.lhs types/FunDeps.lhs  
types/Generics.lhs types/InstEnv.lhs types/Kind.lhs types/TyCon.lhs  
types/Type.lhs types/TypeRep.lhs types/Unify.lhs utils/Bag.lhs utils/ 
Binary.hs utils/BitSet.lhs utils/BufWrite.hs utils/Digraph.lhs utils/ 
Encoding.hs utils/FastMutInt.lhs utils/FastString.lhs utils/ 
FastTypes.lhs utils/FiniteMap.lhs utils/IOEnv.hs utils/ListSetOps.lhs  
utils/Maybes.lhs utils/OrdList.lhs utils/Outputable.lhs utils/ 
Panic.lhs utils/Pretty.lhs utils/StringBuffer.lhs utils/UniqFM.lhs  
utils/UniqSet.lhs utils/Util.lhs

ghci/InteractiveUI.hs:74:7:
     Could not find module `System.Console.Readline':
       Use -v to see a list of the files searched for.
<<ghc: 302864492 bytes, 43 GCs, 4361258/9612180 avg/max bytes  
residency (4 samples), 24M in use, 0.01 INIT (0.00 elapsed), 0.79 MUT  
(11.30 elapsed), 0.13 GC (0.15 elapsed) :ghc>>
make[2]: *** [depend] Error 1
make[1]: *** [stage2] Error 2
make: *** [bootstrap2] Error 2

--
http://wagerlabs.com/







More information about the Glasgow-haskell-users mailing list