From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 118A6A034C for ; Fri, 25 Feb 2022 18:16:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 05FEB41150; Fri, 25 Feb 2022 18:16:07 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 210C341151 for ; Fri, 25 Feb 2022 18:16:06 +0100 (CET) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (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 smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id E0FD83F1D9 for ; Fri, 25 Feb 2022 17:16:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645809365; bh=aLKgSvO+MVMtdFpbH5kPYcZCOkwEQdtqBBfUUWtoAz0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=q0YVJADhaSOopNR2ZeMNmy7rLuA0XeDs8UB/70nOE8xzI0BtF1dAn4yAjFBtnikMj +G6xIhH5UNuMWyBHErlJXrMQXa6fk0iGeA3W93N+B3xQ/JQ472CiExEuzTegrGvu1V xXE1tElDjNHpl/d9MyuhUparj9e0o1Ff04qX8sIxziqAg62VercPGzwKYQIxCrmNA/ YFqnGUJd7lfSEQm8knETl/Bi/EpvT0HvDN3AJnmltFuK7X2pGYyUJbQqbxl9bUGkgI uSeWW5IHKPkYPgzEf9lZ6puVuDwuNoRUvQPyvixkui4Y6HJszj5TURB5sV2V6mCitN OyQRDJMdK/4eQ== Received: by mail-wm1-f72.google.com with SMTP id t2-20020a7bc3c2000000b003528fe59cb9so1600503wmj.5 for ; Fri, 25 Feb 2022 09:16:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aLKgSvO+MVMtdFpbH5kPYcZCOkwEQdtqBBfUUWtoAz0=; b=veOfj748vO/gLXTblfyaxgubGKQ4uVfQqZ50bm7eUus6pBHBVbrXWPyuv1JldFecqN mIBHZwfPBu+7hy/bXTyOcRaJ/MCw968GVr9y0PXvcOsCdnmsZp/uJQzHqRL0VVvU/i/S y4Bq0UjM/UX6hLzohRJ15zVKxyadRc7UzC8yraWOukJiOr8+zNWHLloX6XXmlzvkVigy cW5Ck/NIEIFmUYqnGfzAkCBVHzSAWj2gzRzAxpHU/t4Lq3XdnHGYZZkcLCeyBxYBndxN +WNugf7zOu/Ce1BoO+wEPev6xDWcN8Zt4DSEk2kYPK5EhJjkbHlkV3Xw6TVdHC0ZoulN /Mhg== X-Gm-Message-State: AOAM530GDSY+W+OHZojKldXpebCuTO/+3V+xUIxF9M3HVdzik78wCrLR uVKCTRxT36TVE5Cc2Sy74og5TahCPLymg/DZThiWLtYdCABkbWlwISs/RlPuI22TsS1P4ByGuUK ClXd8uEiofuNtCSOnBihUTUp2 X-Received: by 2002:adf:f542:0:b0:1ea:9ab6:2c77 with SMTP id j2-20020adff542000000b001ea9ab62c77mr6640219wrp.387.1645809361612; Fri, 25 Feb 2022 09:16:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhytFa5ZHFBJmfZK3vht+D59DJ01p9lKgv6DYHfELMwC3ghKwIkdLk4+Sm4CdmmC7tSmO/0w== X-Received: by 2002:adf:f542:0:b0:1ea:9ab6:2c77 with SMTP id j2-20020adff542000000b001ea9ab62c77mr6640209wrp.387.1645809361409; Fri, 25 Feb 2022 09:16:01 -0800 (PST) Received: from Keschdeichel.fritz.box (068-133-067-156.ip-addr.inexio.net. [156.67.133.68]) by smtp.gmail.com with ESMTPSA id n8-20020a5d6608000000b001e73a0f21ffsm2706698wru.6.2022.02.25.09.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 09:16:00 -0800 (PST) From: christian.ehrhardt@canonical.com To: Steve Yang Cc: dpdk stable Subject: patch 'net/ice: build failure with make and GCC > 11' has been queued to stable release 19.11.12 Date: Fri, 25 Feb 2022 18:14:58 +0100 Message-Id: <20220225171550.3499040-5-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.35.0 In-Reply-To: <20220225171550.3499040-1-christian.ehrhardt@canonical.com> References: <20220225171550.3499040-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 19.11.12 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/27/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/4b0a43dcaf3e4cd5f1caf023231db1fd9fd894f2 Thanks. Christian Ehrhardt --- >From 4b0a43dcaf3e4cd5f1caf023231db1fd9fd894f2 Mon Sep 17 00:00:00 2001 From: Steve Yang Date: Wed, 12 Jan 2022 06:45:05 +0000 Subject: [PATCH] net/ice: build failure with make and GCC > 11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since GCC version is greater than 11.1.1, the '-finline-functions' option perhaps causes '-Werror=maybe-uninitialized' issue. Check the gcc version, and enable '-Wno-maybe-uninitialized', otherwise it will have "error: ‘r_bitmap’ may be used uninitialized". Bugzilla ID: 744 Signed-off-by: Steve Yang --- drivers/net/ice/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/ice/Makefile b/drivers/net/ice/Makefile index 9cfd059781..9935d614c8 100644 --- a/drivers/net/ice/Makefile +++ b/drivers/net/ice/Makefile @@ -37,6 +37,10 @@ ifeq ($(shell test $(GCC_VERSION) -ge 44 && echo 1), 1) CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable endif +ifeq ($(shell test $(GCC_VERSION) -ge 110 && echo 1), 1) +CFLAGS_BASE_DRIVER += -Wno-maybe-uninitialized +endif + endif OBJS_BASE_DRIVER=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*.c))) $(foreach obj, $(OBJS_BASE_DRIVER), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER))) -- 2.35.0