This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa]: PATCH: Makefile bug
- From: Dale Johannesen <dalej at apple dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Dale Johannesen <dalej at apple dot com>
- Date: Mon, 15 Dec 2003 10:02:02 -0800
- Subject: [tree-ssa]: PATCH: Makefile bug
tree-optimize.o is in both OBJS-archive and OBJS-common, which makes it
get
linked in twice. The patch below works fine on Darwin, but there are
obviously
some paths we aren't executing here, so maybe somebody who understands
what
the separation is for could comment...
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.903.2.156
diff -u -d -b -w -c -3 -p -r1.903.2.156 Makefile.in
cvs server: conflicting specifications of output style
*** Makefile.in 15 Dec 2003 15:55:33 -0000 1.903.2.156
--- Makefile.in 15 Dec 2003 17:57:30 -0000
*************** OBJS-common = \
*** 903,909 ****
OBJS-md = $(out_object_file)
OBJS-archive = $(EXTRA_OBJS) $(host_hook_obj) hashtable.o
tree-inline.o \
! tree-optimize.o cgraph.o cgraphunit.o
OBJS = $(OBJS-common) $(out_object_file) $(OBJS-archive)
--- 903,909 ----
OBJS-md = $(out_object_file)
OBJS-archive = $(EXTRA_OBJS) $(host_hook_obj) hashtable.o
tree-inline.o \
! cgraph.o cgraphunit.o
OBJS = $(OBJS-common) $(out_object_file) $(OBJS-archive)