Skip to content

More make boot / make depend problems

Continuing my adventure in trying to delete an include file, I ran make boot under compiler/ to update the dependencies there, and eventually got:

$ make
make: *** No rule to make target `../includes/StgTicky.h', needed by `stage1/parser/cutils.o'.  Stop.

I couldn't find any mention of StgTicky.h anywhere under the ghc tree, except in the .depend files in compiler/. Every time I ran make depend or make boot in compiler/ again, it just re-generated that dependency (seemingly out of nowhere). I finally asked Ian and he suggested deleting all the files beginning with .depend in compiler/, and that worked -- when I ran make depend after that, it correctly figured out that there was no dependency on StgTicky.h anymore.

I don't understand how the dependency-finding works, but this seems like a bug to me.

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