[GHC] #1096: More make boot / make depend problems
GHC
trac at galois.com
Fri Jan 12 13:46:53 EST 2007
#1096: More make boot / make depend problems
-----------------------------+----------------------------------------------
Reporter: kirsten | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: Build System | Version: 6.6
Severity: minor | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-----------------------------+----------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1096>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list