From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1062) id 0B9533858D1E; Sat, 12 Aug 2023 01:02:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B9533858D1E Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Alan Modra To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org Subject: [binutils-gdb] Disable warnings as errors for STAGEautofeedback. X-Act-Checkin: binutils-gdb X-Git-Author: Eugene Rozenfeld X-Git-Refname: refs/heads/master X-Git-Oldrev: 91c7a3089cc04de9a4b65a166ade551485c98280 X-Git-Newrev: 2e834cd27703ad2e378a9dfd4d37f10bc376b7b0 Message-Id: <20230812010215.0B9533858D1E@sourceware.org> Date: Sat, 12 Aug 2023 01:02:15 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Aug 2023 01:02:15 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D2e834cd27703= ad2e378a9dfd4d37f10bc376b7b0 commit 2e834cd27703ad2e378a9dfd4d37f10bc376b7b0 Author: Eugene Rozenfeld Date: Mon Aug 7 13:07:43 2023 +0200 Disable warnings as errors for STAGEautofeedback. =20 Compilation during STAGEautofeedback produces additional warnings since inlining decisions with -fauto-profile are different from other builds. =20 This patches disables warnings as errors for STAGEautofeedback. =20 Tested on x86_64-pc-linux-gnu. =20 * Makefile.tpl: Disable warnings as errors for STAGEautofeedback Diff: --- Makefile.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.tpl b/Makefile.tpl index e34071a4aaf..b0fbf9fe01a 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -566,6 +566,9 @@ STAGEautoprofile_TFLAGS =3D $(STAGE2_TFLAGS) =20 STAGEautofeedback_CFLAGS =3D $(STAGE3_CFLAGS) STAGEautofeedback_TFLAGS =3D $(STAGE3_TFLAGS) +# Disable warnings as errors since inlining decisions with -fauto-profile +# may result in additional warnings. +STAGEautofeedback_CONFIGURE_FLAGS =3D $(filter-out --enable-werror-always,= $(STAGE_CONFIGURE_FLAGS)) =20 do-compare =3D @do_compare@ do-compare3 =3D $(do-compare)