This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

Re: MIPS build failure


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


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