From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 8DF4B385481A for ; Tue, 18 May 2021 15:12:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8DF4B385481A Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 949C3340C42; Tue, 18 May 2021 15:12:27 +0000 (UTC) Date: Tue, 18 May 2021 11:12:27 -0400 From: Mike Frysinger To: Tom de Vries Cc: "gdb-patches@sourceware.org" Subject: Re: gdb build broken in sim with -Wall -Werror Message-ID: Mail-Followup-To: Tom de Vries , "gdb-patches@sourceware.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2021 15:12:29 -0000 On 17 May 2021 17:39, Tom de Vries wrote: > On 5/17/21 5:39 PM, Tom de Vries wrote: > > On 5/17/21 5:02 PM, Mike Frysinger wrote: > >> On 17 May 2021 09:02, Tom de Vries wrote: > >>> this morning I tried to rebuild gdb from trunk @ f4fdd84587e (with > >>> --enable-werror and CFLAGS="-O0 -g -Wall", as usual) > >> > >> the build will add appropriate warning flags for you. you shouldn't be > >> forcing your own set into the mix. > >> > > > > True. This configuration did build before though, so it actually seems > > to work quite well. > > > >>> and ran into build errors in sim. > >>> > >>> Specifically: > >> > >> these snippets are much too truncated to be actionable. > > > > I'll send you the build log off-list. > > There you go. it's a bit hard to read ... you should pass -O to make to avoid all of the intermingling of jobs. it looks like all the errors are coming from sim/ppc/. it's built with -Werror now, but not -Wall, so that's why it's not failing in general. prob not too hard to cleanup & add -Wall, but i'm not looking into that atm. -mike