This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/28561] New: Broken dependencies
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2006 23:47:52 -0000
- Subject: [Bug bootstrap/28561] New: Broken dependencies
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
We've got some broken dependencies in the Makefiles:
The definitions of REGS_H and BASIC_BLOCK_H in Makefile.in contain
varray.h instead of $(VARRAY_H).
Fixing this results in circular dependencies:
make then reports problems with build/gencondmd.o:
make[2]: Circular build/gencondmd.o <- insn-flags.h dependency dropped.
The problem boils down to the following dependencies:
build/gencondmd.o : ... $(REGS_H) ...
REGS_H: ... $(VARRAY_H) ... $(BASIC_BLOCK_H) ...
BASIC_BLOCK_H: ... $(VARRAY_H) ...
VARRAY_H = ... $(TM_H)
And $(TM_H) shouldn't be included by gen*.
A second problem is that the #includes in a couple of header files
don't really match the dependencies, e.g. in:
basic-block.h
c-common.h
cgraph.h
ddg.h
expr.h
ggc.h
lambda.h
regs.h
tree-dump.h
tree.h
--
Summary: Broken dependencies
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28561