From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id QP0gJdTGgGBDSQAAWB0awg (envelope-from ) for ; Wed, 21 Apr 2021 20:44:04 -0400 Received: by simark.ca (Postfix, from userid 112) id 891A31F104; Wed, 21 Apr 2021 20:44:04 -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.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED 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 DCB4F1E783 for ; Wed, 21 Apr 2021 20:44:03 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 490183857809; Thu, 22 Apr 2021 00:44:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 490183857809 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619052243; bh=qDoaZ2bHwmYKdS0rO8cCT53z7fwMG8AjqccLgUKn+UM=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=OrKJZc7hRTd0M1W1XROf0GFy+MAWcYnfaEpD6GUNePgC3Hq/bnccWSiEsrQfRs9LQ x9CasJs50MLzvBiKwBpbNB2C/ealrKMe7OSa+/lgb2U1ej9Unthr/rQUs36IbV+2sT tgJxJA8C30rhI69QUY9iakVXZeOm0K8ySQbZlrZc= Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id B7CC33857809 for ; Thu, 22 Apr 2021 00:44:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B7CC33857809 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 6B5A93410ED; Thu, 22 Apr 2021 00:43:58 +0000 (UTC) Date: Wed, 21 Apr 2021 20:43:57 -0400 To: Simon Marchi Subject: Re: [PATCH] sim: use -Werror when probing for supported warning flags Message-ID: Mail-Followup-To: Simon Marchi , gdb-patches@sourceware.org References: <20210421185110.2788705-1-simon.marchi@polymtl.ca> <79a06b96-8797-15b6-6626-b85efef07a6b@polymtl.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <79a06b96-8797-15b6-6626-b85efef07a6b@polymtl.ca> 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: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 21 Apr 2021 19:39, Simon Marchi via Gdb-patches wrote: > On 2021-04-21 6:38 p.m., Mike Frysinger wrote: > > do we have guidelines for how devs are supposed to do this ? i've been > > running the individual tools, but i want to make sure we aren't constantly > > stepping on each other. > > Yes, if we can document it or even have a script that does the right > thing it would be nice. This is one of those things that were never > explained to me, how to re-generate those files, that's why I converged > towards using autoreconf. So far it worked well for the other projects > in the tree (I don't get a different result than what is checked in). i dislike autoreconf in this situation because it's too slow, and i have to regen these files constantly (since i'm (re)writing them a lot). i have a small python script to do things in parallel. $ time autoreconf -vf real 1m43.379s $ time ./regen.py real 0m23.977s that said, the problem was in my custom regen.py ;). i hadn't fully updated it after the introduction of the sim/m4/ dir. once i adjust that, i see the same behavior as you, so i've pushed that now. thanks for pointing it out. -mike