From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23919 invoked by alias); 19 Feb 2013 14:52:54 -0000 Received: (qmail 23904 invoked by uid 22791); 19 Feb 2013 14:52:54 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Feb 2013 14:52:48 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1U7oYo-0002IA-LX from Maciej_Rozycki@mentor.com ; Tue, 19 Feb 2013 06:52:46 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 19 Feb 2013 06:52:45 -0800 Received: from [172.30.64.249] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Tue, 19 Feb 2013 14:52:44 +0000 Date: Tue, 19 Feb 2013 14:52:00 -0000 From: "Maciej W. Rozycki" To: Michael Eager CC: "gdb@sourceware.org" , binutils , Daniel Jacobowitz , Richard Sandiford Subject: Re: MIPS build failure In-Reply-To: <5122815C.1000406@eagerm.com> Message-ID: References: <51226C66.3010304__32532.8041137711$1361210543$gmane$org@eagerm.com> <874nh9xx61.fsf@talisman.default> <5122815C.1000406@eagerm.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2013-02/txt/msg00077.txt.bz2 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