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 DD6A8A054F for ; Tue, 7 Jun 2022 17:10:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D064541611; Tue, 7 Jun 2022 17:10:01 +0200 (CEST) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mails.dpdk.org (Postfix) with ESMTP id 743364021D for ; Tue, 7 Jun 2022 17:09:59 +0200 (CEST) Received: by mail-pg1-f178.google.com with SMTP id c18so7797578pgh.11 for ; Tue, 07 Jun 2022 08:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fL3fXZi2JDbHetAB0Go6e5C9ynhxlBPK1o0QDkQmmRw=; b=pfCqQeZYb86oTNceIFTwblASHYjoUslqVtLRXdZWomE8+kasGuVMu/VsC5EAAWqa6V HJLa5lx8KCSSp3rzXViVs5sawz6NpqxA3TcoNXAFq2F53Dp1gRQkLV5+x6t9W8va+8tE Y6dzr3TPxp2xOMQYLfDSMmiemK/8KNVF5t0iFo2xwi1fjCE+vP64Up+c10DwgWo5UF5J VmdNCSIpwoonKcx/ag3LE/Zh6N1i3w/wOM62jvtMs9UB6KKxzrgw1GyJFuTgXW8xdJtX Ks1dCfSiE6t/1HXHCfhfWvIySDIbye+q9k68sw6HR78ASdtZdiQXNqr9tcw4C5VtqmoR KSiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fL3fXZi2JDbHetAB0Go6e5C9ynhxlBPK1o0QDkQmmRw=; b=7aM1ZZ39SMxy6Xnfa+hPxFN6I9nwCq4msL+iAzjRrHyquRMn+/G6s4gzkgN3zcxF8e u6Z0soB0gqP6DB83u61GAVYWqlBfLuYH5StR9DcpmBuHUXOh6Xd2ppvtWf1fxyOFJ7j4 TzBaNVrpZ/OrJevQwgqFNw1Cg5xIJSMrmXWSD7AO8NTXrve9mh06dS6kvujtdI1JMSVN HCKDt2zuIIJ8y2o0tMaMPfKX5c6yyihbh/iSmlX2Py8D/aLQ7uiQeYaneWtewBvYfDHc GjDeWbgLinoKO1Gz1EwkYbyT27J88vzOQF5fez37nXea23ROIjOSy0vv/Epc+qyZGrGG j9yQ== X-Gm-Message-State: AOAM533e8KYaN/YqtqXs8R45AhI84eIHmHp6dawYfoOIrx5aa2vzTsBF dAChP4lMlCuUobuQvDk1n7l7HQ== X-Google-Smtp-Source: ABdhPJyAU7XlS0dUWZDs37NJ09wPxJKQ8x76VMUAqnBq3hOFOpP43bKu1LrDObr+tx/3Ak/CJ/793g== X-Received: by 2002:a65:6e88:0:b0:39d:2647:f75d with SMTP id bm8-20020a656e88000000b0039d2647f75dmr26146543pgb.523.1654614598583; Tue, 07 Jun 2022 08:09:58 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id z14-20020a1709027e8e00b001676dac529asm5636457pla.146.2022.06.07.08.09.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 08:09:58 -0700 (PDT) Date: Tue, 7 Jun 2022 08:09:53 -0700 From: Stephen Hemminger To: Thomas Monjalon Cc: Wenxuan Wu , bruce.richardson@intel.com, dev@dpdk.org, stable@dpdk.org, david.marchand@redhat.com Subject: Re: [PATCH] build: fix meson build when gcc >= 10.0 Message-ID: <20220607080953.1f35df17@hermes.local> In-Reply-To: <26640576.6Emhk5qWAg@thomas> References: <20220607025652.1114683-1-wenxuanx.wu@intel.com> <26640576.6Emhk5qWAg@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 07 Jun 2022 12:52:32 +0200 Thomas Monjalon wrote: > 07/06/2022 04:56, wenxuanx.wu@intel.com: > > From: Wenxuan Wu > > > > GCC version greater than 10.0, with compile option -O2, several warnings info would appear, > > this fix omitted these warnings. > [...] > > # FIXME: Bugzilla 396 > > - warning_flags += '-Wno-zero-length-bounds' > > + warning_flags += [ > > + '-Wno-zero-length-bounds', > > + '-Wno-stringop-overflow', > > + '-Wno-array-bounds', > > + '-Wno-format-overflow', > > The compilers are reported warnings to help us having a better code. > We should try to resolve the warnings, not hiding them. > > Agree with Thomas. This not how to address this. There are fixes already for the zero-length-bounds that are being merged. Patches accepted to fix the rest.