From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id njX3HKDco2CrGwAAWB0awg (envelope-from ) for ; Tue, 18 May 2021 11:26:24 -0400 Received: by simark.ca (Postfix, from userid 112) id 461051F11C; Tue, 18 May 2021 11:26:24 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=MAILING_LIST_MULTI, RDNS_DYNAMIC autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id AA02A1E813 for ; Tue, 18 May 2021 11:26:22 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4390D3854812; Tue, 18 May 2021 15:26:22 +0000 (GMT) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id 61F0C3854812 for ; Tue, 18 May 2021 15:26:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 61F0C3854812 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tdevries@suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 7F17CB184 for ; Tue, 18 May 2021 15:26:19 +0000 (UTC) Subject: Re: gdb build broken in sim with -Wall -Werror To: "gdb-patches@sourceware.org" References: From: Tom de Vries Message-ID: <2e76ac28-6743-06dc-aacd-1c89d1eb0572@suse.de> Date: Tue, 18 May 2021 17:26:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 5/18/21 5:12 PM, Mike Frysinger wrote: > 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. > Yeah, unfortunately I'm keeping building with make 3.81 alive, and consequently I don't have that available. > 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. Ack, understood. Thanks, - Tom