This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfa] gdb_mbuild.sh build errors
- From: Daniel Jacobowitz <drow at false dot org>
- To: Randolph Chung <randolph at tausq dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 18 May 2004 17:25:19 -0400
- Subject: Re: [patch/rfa] gdb_mbuild.sh build errors
- References: <20040518050402.GF566@tausq.org>
On Mon, May 17, 2004 at 10:04:02PM -0700, Randolph Chung wrote:
> A few targets don't build correctly with the gdb_mbuild.sh script (using
> i386-linux as the host):
>
> alpha-elf:
> /home/tausq/gdb/gdb/gdb/alpha-tdep.c: In function `alpha_gdbarch_init':
> /home/tausq/gdb/gdb/gdb/alpha-tdep.c:1502: warning: integer constant is too large for "long" type
Got this one, and several others related - we must be using different
host compiler versions if you didn't see similar problems on a lot of
other targets.
> m32r-elf:
> mloop.c: In function `execute':
> mloop.c:115: too few arguments to function
> /home/tausq/gdb/gdb/sim/m32r/model.c: In function `m32r_init_cpu':
> /home/tausq/gdb/gdb/sim/m32r/model.c:4344: `m32rbf_engine_run_full' undeclared (first use in this function)
> /home/tausq/gdb/gdb/sim/m32r/model.c:4344: (Each undeclared identifier is reported only once
> /home/tausq/gdb/gdb/sim/m32r/model.c:4344: for each function it appears in.)
I'm guessing this is just another symptom of the same problem I just
checked in a fix for.
> Index: sim/v850/Makefile.in
> ===================================================================
> RCS file: /cvs/src/src/sim/v850/Makefile.in,v
> retrieving revision 1.7
> diff -u -r1.7 Makefile.in
> --- sim/v850/Makefile.in 16 May 2003 07:11:43 -0000 1.7
> +++ sim/v850/Makefile.in 18 May 2004 05:00:16 -0000
> @@ -124,6 +124,7 @@
> rm -f table.c simops.h gencode
>
> #interp.o: interp.c table.c $(INCLUDE)
> +interp.o: interp.c $(INCLUDE)
> simops.o: simops.c simops.h $(INCLUDE) targ-vals.h
> #table.o: table.c
> semantics.o: $(INCLUDE)
First of all, delete the line above your addition, and the commented
out rule for table.o, please. Secondly please update the copyright
year in the Makefile.
It looks like it needs these years added:
1998, 2001, 2002, 2003, 2004
--
Daniel Jacobowitz