This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: MIPS build failure
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: Michael Eager <eager at eagerm dot com>
- Cc: "gdb\ at sourceware dot org" <gdb at sourceware dot org>, binutils <binutils at sourceware dot org>, Daniel Jacobowitz <drow at false dot org>
- Date: Mon, 18 Feb 2013 19:02:46 +0000
- Subject: Re: MIPS build failure
- References: <51226C66.3010304__32532.8041137711$1361210543$gmane$org@eagerm.com>
Michael Eager <eager@eagerm.com> writes:
> Hi --
>
> I'm seeing failures building gdb-head for MIPS targets. The
> failure are warnings while compiling the MIPS opcode tables. Gdb
> is built with -Werror and the tables have missing initializers for
> the 'exclusions' field.
>
> Is anyone else seeing this build failure? If not, what are
> you doing different from a minimal configuration?
There are special makefile rules to handle this:
micromips-opc.lo: micromips-opc.c
$(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) -c -o $@ $<
mips-opc.lo: mips-opc.c
$(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) -c -o $@ $<
mips16-opc.lo: mips16-opc.c
$(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) -c -o $@ $<
Not sure why it isn't working for gdb though.
Richard