From patchwork Wed Mar 25 14:11:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Traynor X-Patchwork-Id: 67103 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EBC6DA058B; Wed, 25 Mar 2020 15:13:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 938744C8E; Wed, 25 Mar 2020 15:13:05 +0100 (CET) Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by dpdk.org (Postfix) with ESMTP id DFFBD2BAE for ; Wed, 25 Mar 2020 15:13:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585145581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ItVgccSLYqY3XEMSIfuWz0AlDmeZKStq/2PGhU5l3PY=; b=gMu3M1/5ETNwftrRt7xqUxcpJ1vPZ9TfqLkHifL7bfCqy0TeKXwExVHsiupUgrSdHkHSvh LM1boRkObO3mgwmIdKP+O2kdVkqFL9DG8x2dgdp9Hm59BWCJMiYwVBxd6qyra6rPoO+PgJ v4nrrjl9UdwvlnUyL6IUQqBJdBOrifA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-309-iqnzIDSWNgKzIOUqJzdzhA-1; Wed, 25 Mar 2020 10:12:57 -0400 X-MC-Unique: iqnzIDSWNgKzIOUqJzdzhA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 86153107ACC4; Wed, 25 Mar 2020 14:12:54 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id B21C85C1B0; Wed, 25 Mar 2020 14:12:41 +0000 (UTC) From: Kevin Traynor To: dev@dpdk.org, thomas@monjalon.net, bruce.richardson@intel.com Cc: ravi1.kumar@amd.com, g.singh@nxp.com, hemant.agrawal@nxp.com, akhil.goyal@nxp.com, johndale@cisco.com, hyonkim@cisco.com, jingjing.wu@intel.com, wenzhuo.lu@intel.com, rmody@marvell.com, shshaikh@marvell.com, matan@mellanox.com, shahafs@mellanox.com, declan.doherty@intel.com, cristian.dumitrescu@intel.com, Kevin Traynor Date: Wed, 25 Mar 2020 14:11:36 +0000 Message-Id: <20200325141137.7088-2-ktraynor@redhat.com> In-Reply-To: <20200325141137.7088-1-ktraynor@redhat.com> References: <20200325141137.7088-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [dpdk-dev] [RFC 1/2] meson: gcc 10 disable stringop-overflow warnings X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Disable this warning at the top level as it is being raised on several components. Bugzilla ID: 421 Signed-off-by: Kevin Traynor --- config/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/meson.build b/config/meson.build index abedd76f2..522368a29 100644 --- a/config/meson.build +++ b/config/meson.build @@ -200,5 +200,6 @@ warning_flags = [ '-Wno-address-of-packed-member', '-Wno-packed-not-aligned', - '-Wno-missing-field-initializers' + '-Wno-missing-field-initializers', + '-Wno-stringop-overflow' ] if not dpdk_conf.get('RTE_ARCH_64') From patchwork Wed Mar 25 14:11:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Traynor X-Patchwork-Id: 67104 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9D4E8A058B; Wed, 25 Mar 2020 15:13:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E38C01C027; Wed, 25 Mar 2020 15:13:11 +0100 (CET) Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by dpdk.org (Postfix) with ESMTP id 6331B1C027 for ; Wed, 25 Mar 2020 15:13:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585145589; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6mj89NNiOf4UHgOmGTA1e8LxmSJ3PciN0kEaNpu/ivI=; b=hps0Atzev/rt11+/GgnDq4QRFHTuJU5cpIZ2mTcC9zVZ5Qp6VraUDNvg9ZN+CPO7lxRrUT nsrf8aM34mUQkvHP1xAHtuv2TNZVTz03F0igZ3E71j2WJ9QvW5oadzUzSpb30lZzS0YEew BMuOwFFGyh5zsFwZKyGD9a1+eNlXUzQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-258-XYC8ulw2NJqgobNUIOrUGg-1; Wed, 25 Mar 2020 10:13:05 -0400 X-MC-Unique: XYC8ulw2NJqgobNUIOrUGg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 390E3107ACC4; Wed, 25 Mar 2020 14:13:03 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id D24AF5C1B0; Wed, 25 Mar 2020 14:12:54 +0000 (UTC) From: Kevin Traynor To: dev@dpdk.org, thomas@monjalon.net, bruce.richardson@intel.com Cc: ravi1.kumar@amd.com, g.singh@nxp.com, hemant.agrawal@nxp.com, akhil.goyal@nxp.com, johndale@cisco.com, hyonkim@cisco.com, jingjing.wu@intel.com, wenzhuo.lu@intel.com, rmody@marvell.com, shshaikh@marvell.com, matan@mellanox.com, shahafs@mellanox.com, declan.doherty@intel.com, cristian.dumitrescu@intel.com, Kevin Traynor Date: Wed, 25 Mar 2020 14:11:37 +0000 Message-Id: <20200325141137.7088-3-ktraynor@redhat.com> In-Reply-To: <20200325141137.7088-1-ktraynor@redhat.com> References: <20200325141137.7088-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [dpdk-dev] [RFC 2/2] mk: gcc 10 disable stringop-overflow warnings X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Disable this warning at the top level as it is being raised on several components. Bugzilla ID: 421 Signed-off-by: Kevin Traynor --- mk/toolchain/gcc/rte.vars.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mk/toolchain/gcc/rte.vars.mk b/mk/toolchain/gcc/rte.vars.mk index f19305e49..fe4b8c705 100644 --- a/mk/toolchain/gcc/rte.vars.mk +++ b/mk/toolchain/gcc/rte.vars.mk @@ -101,4 +101,7 @@ endif WERROR_FLAGS += -Wno-address-of-packed-member +# disable stringop-overflow warnings +WERROR_FLAGS += -Wno-stringop-overflow + export CC AS AR LD OBJCOPY OBJDUMP STRIP READELF export TOOLCHAIN_CFLAGS TOOLCHAIN_LDFLAGS TOOLCHAIN_ASFLAGS