From patchwork Mon Aug 7 11:07:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Arsen_Arsenovi=C4=87?= X-Patchwork-Id: 131867 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1397166vqr; Mon, 7 Aug 2023 05:03:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGyTqfEaGbwDhu1e6Xx3xoEZRk98BM+e0ZoHxsQGqq3QhWX1nxlxwtyNkrgLz2XHWNqrjam X-Received: by 2002:a17:907:77d6:b0:997:bb66:3ce with SMTP id kz22-20020a17090777d600b00997bb6603cemr9611050ejc.7.1691409832440; Mon, 07 Aug 2023 05:03:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691409832; cv=none; d=google.com; s=arc-20160816; b=JsoBdZ4ZqyzG+SExasdyAtpKzLAxF78cNpyz7j1PXdwyOs+FabfoI7LZRLGGFOFeg2 g7wbJPOrEPUzpm8U4c0XFO7JOH6YI+oUzIg2p0UUNKt0kIHfJmlhd2GnYp+CYz9pDBwM JFYfl+bwRq3oiTnFdblGPdN3bSpw4R1BOSuj/Eb0Bvr2Ijewc8DyC5oh9JCzftqamAKC LF1b2+sUUYDJX3++m97RkK3EO6g1Xa9EI/R2FhR49iayA/a7ib1FLewfZ3/8wTT6fSJ0 iAeyD9PqwtInTQKnxezYZKnkZx6p00mdV01PgL17mIQrUBjM+AJJV6oZvXjvmSWGeVmE TT8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=f0L1lYDspkuBe9OYTI+rnnv2uKd9JMhqnNuec7O21Uo=; fh=c52W0PXFGC4RCQIlxKygkq5VXSkzeg/0BsNnEf3roKg=; b=ERQG1FeCN1bKJj/abL+p04q7DjWTWzUtFPmaqSSeLVNo9iVqJgds0wqvllKH1HwD/n UEJ2yLdj3LYh4hPRjjD8HVEb0auw/1yTpLlTjTT4c1F9EPaSTZjLPTGZoDPta9VOpEwb plrSfcE0IPgtbmqR9fwGJo9YNTrR+9WeqwIwzDwGI3xn13TAei2rPLOkcm8uv1PEIlsH mNruosT3p5xaFj91GvwquFXaNhn0iwVi9jwr7ghSrRZRmio1eUQWwysnOHEsGsK8RbYY 3RP/SyDJNkYe3zMN9uXOhz/sjSnfi3cnE7X2VXf3wjcpUuXYfitlQmpZUFeorVBQ8rAm evmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=X8od8dtI; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id o15-20020a170906358f00b0099bd4f74cbesi5662490ejb.615.2023.08.07.05.03.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 05:03:52 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=X8od8dtI; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9FE9A3955CBA for ; Mon, 7 Aug 2023 11:34:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9FE9A3955CBA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691408074; bh=f0L1lYDspkuBe9OYTI+rnnv2uKd9JMhqnNuec7O21Uo=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=X8od8dtIHbcRCjxnGu29+Sh5xBXtl7Y2CYDxUusDIS3rlbxYc2nGUB91PlLkQeDFq 8wZxsU0zlSAhCJwYQ9c3xvTAOPJf/mscbNUp6sdj+YtRPsDKBtsx0ATxM5tMRRfZQD SMWRPfFLYnDSntikt15Fjny3YnIJqER16wxUSTYQ= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [80.241.56.161]) by sourceware.org (Postfix) with ESMTPS id 855123857737; Mon, 7 Aug 2023 11:19:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 855123857737 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4RKDPR6wZ1z9sQD; Mon, 7 Aug 2023 13:19:55 +0200 (CEST) To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: Eugene Rozenfeld Subject: [PATCH 40/45] Disable warnings as errors for STAGEautofeedback. Date: Mon, 7 Aug 2023 13:07:43 +0200 Message-ID: <20230807111029.2320238-41-arsen@aarsen.me> In-Reply-To: <20230807111029.2320238-1-arsen@aarsen.me> References: <20230807111029.2320238-1-arsen@aarsen.me> MIME-Version: 1.0 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Binutils?= From: =?utf-8?q?Arsen_Arsenovi=C4=87?= Reply-To: =?utf-8?q?Arsen_Arsenovi=C4=87?= Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773571756239367204 X-GMAIL-MSGID: 1773571756239367204 From: Eugene Rozenfeld Compilation during STAGEautofeedback produces additional warnings since inlining decisions with -fauto-profile are different from other builds. This patches disables warnings as errors for STAGEautofeedback. Tested on x86_64-pc-linux-gnu. ChangeLog: * Makefile.tpl: Disable warnings as errors for STAGEautofeedback * Makefile.in: Regenerate --- Makefile.in | 3 +++ Makefile.tpl | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Makefile.in b/Makefile.in index c11edf2925b..cfb31f03318 100644 --- a/Makefile.in +++ b/Makefile.in @@ -643,6 +643,9 @@ STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS) STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS) STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS) +# Disable warnings as errors since inlining decisions with -fauto-profile +# may result in additional warnings. +STAGEautofeedback_CONFIGURE_FLAGS = $(filter-out --enable-werror-always,$(STAGE_CONFIGURE_FLAGS)) do-compare = @do_compare@ do-compare3 = $(do-compare) diff --git a/Makefile.tpl b/Makefile.tpl index e34071a4aaf..b0fbf9fe01a 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -566,6 +566,9 @@ STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS) STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS) STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS) +# Disable warnings as errors since inlining decisions with -fauto-profile +# may result in additional warnings. +STAGEautofeedback_CONFIGURE_FLAGS = $(filter-out --enable-werror-always,$(STAGE_CONFIGURE_FLAGS)) do-compare = @do_compare@ do-compare3 = $(do-compare)