MIPS build failure
Maciej W. Rozycki
macro@codesourcery.com
Tue Feb 19 14:52:00 GMT 2013
On Mon, 18 Feb 2013, Michael Eager wrote:
> > 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.
>
> Thanks. That was enough of a clue.
>
> I was picking up an old version of gcc which did not support
> -Wno-missing-field-initializers. The makefile set
> $NO_WMISSING_FIELD_INITIALIZERS to null.
That looks like an issue to me, what version of GCC was that? Perhaps we
should resort to -Wno-error for NO_WMISSING_FIELD_INITIALIZERS if the
actual option is not supported.
Maciej
More information about the Binutils
mailing list