This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]