From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30069 invoked by alias); 18 Feb 2013 19:03:02 -0000 Received: (qmail 30035 invoked by uid 22791); 18 Feb 2013 19:03:01 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wg0-f49.google.com (HELO mail-wg0-f49.google.com) (74.125.82.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Feb 2013 19:02:50 +0000 Received: by mail-wg0-f49.google.com with SMTP id 15so4755930wgd.4 for ; Mon, 18 Feb 2013 11:02:48 -0800 (PST) X-Received: by 10.181.13.175 with SMTP id ez15mr22361034wid.8.1361214168333; Mon, 18 Feb 2013 11:02:48 -0800 (PST) Received: from localhost ([2.26.169.65]) by mx.google.com with ESMTPS id bg5sm23489599wib.8.2013.02.18.11.02.46 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 18 Feb 2013 11:02:47 -0800 (PST) From: Richard Sandiford To: Michael Eager Mail-Followup-To: Michael Eager ,"gdb\@sourceware.org" , binutils , Daniel Jacobowitz , rdsandiford@googlemail.com Cc: "gdb\@sourceware.org" , binutils , Daniel Jacobowitz Subject: Re: MIPS build failure References: <51226C66.3010304__32532.8041137711$1361210543$gmane$org@eagerm.com> Date: Mon, 18 Feb 2013 19:03:00 -0000 In-Reply-To: <51226C66.3010304__32532.8041137711$1361210543$gmane$org@eagerm.com> (Michael Eager's message of "Mon, 18 Feb 2013 10:01:10 -0800") Message-ID: <874nh9xx61.fsf@talisman.default> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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/msg00066.txt.bz2 Michael Eager 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