This is the mail archive of the gcc@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]

Re: Trunk frustration


On 27-Jul-2001, Jan Hubicka <jh@suse.cz> wrote:
> > 
> > Thanks for having a look at this issue!
> BTW I am getting much earlier build failure:
> ar rc libbackend.a alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o combine.o conflict.o convert.o cse.o cselib.o dbxout.o debug.o dependence.o df.o diagnostic.o doloop.o dominance.o dwarf2asm.o dwarf2out.o dwarfout.o emit-rtl.o except.o explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o haifa-sched.o hash.o hashtable.o ifcvt.o insn-attrtab.o insn-emit.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o lcm.o lists.o local-alloc.o loop.o mbchar.o optabs.o params.o predict.o print-rtl.o print-tree.o profile.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o splay-tree.o ssa.o ssa-ccp.o ssa-dce.o stmt.o stor-layout.o stringpool.o timevar.o toplev.o tree.o unroll.o varasm.o varray.o version.o xcoffout.o gg!
 c-page.o sparc.o
> true libbackend.a
> gcc  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  -o cc1 \
>         c-parse.o c-lang.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-format.o
> c-semantics.o c-dump.o libcpp.a  main.o libbackend.a obstack.o      ../libiberty/libiberty.a
> gcc: main.o: No such file or directory
> 
> 
> OK, I will try to figure out where the makefiles got confused.

That one might be my fault; it was my change from a few months ago that
introduced main.o:

	2001-03-05  Fergus Henderson  <fjh@cs.mu.oz.au>

		Put main() in a separate file, so that the language
		front-end can use a different main().

		* main.c: New.
		* toplev.c: (main): Rename as toplev_main.
		* toplev.h: Declare toplev_main.
		* Makefile.in (OBJS): add toplev.o.
		  (BACKEND): remove toplev.o, add main.o.

Hmm, main.o isn't included in STAGESTUFF -- that looks like it might be a problem.
Does the following (as yet untested) patch help?

2001-07-28  Fergus Henderson  <fjh@cs.mu.oz.au>

	* Makefile.in (STAGESTUFF): add main.o.

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.690
diff -u -d -u -r1.690 Makefile.in
--- Makefile.in	2001/07/06 18:39:56	1.690
+++ Makefile.in	2001/07/27 14:44:47
@@ -776,7 +776,7 @@
  $(EXTRA_PARTS) $(EXTRA_PROGRAMS) gcc-cross$(exeext) cc1obj$(exeext) \
  enquire$(exeext) protoize$(exeext) unprotoize$(exeext) \
  specs collect2$(exeext) $(USE_COLLECT2) underscore.c tradcpp0$(exeext) \
- gcov$(exeext) *.[0-9][0-9].* *.[si] libcpp.a libbackend.a libgcc.mk \
+ gcov$(exeext) *.[0-9][0-9].* *.[si] libcpp.a main.o libbackend.a libgcc.mk \
  $(LANG_STAGESTUFF)
 
 # Library members defined in libgcc2.c.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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