From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CE820A32A2 for ; Thu, 24 Oct 2019 16:52:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9696B1E906; Thu, 24 Oct 2019 16:52:09 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60055.outbound.protection.outlook.com [40.107.6.55]) by dpdk.org (Postfix) with ESMTP id E9A241E8C2; Thu, 24 Oct 2019 16:52:07 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q/D2uLeeiOFsNoNBsJ/2xfM0QUTOdhAPBKjpEIbZigYhoYqo0bS6pWgdGQ9F4oLdNo/PfkCo8+LJHuBJHJdfKFEfXuJPNORCj3DD60q8FDNPdmHwNNaZM2ayhlUyvkZos6tuvmovCWC6PfWIFImq43t2WplXN6tuf/ljnOoRm+0ZnP04yYGF9DKZi/m7swcz6WVMHNWNvsaLjAq47rtrqSyHB/zKP004z9BOTc+oPSVCzeS3ppXyHGLvXt6bA47qB/IDcN6tQxlbquUfdZJXxG1GqU3AZICcPiRM5NCg0BuWzju93AhdjSMLf9JDHNApmBozWsnm2LGYI2QIZ27yZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=joIcE+vKbkkwmrEtvHCZH/8wzyn/FKjzN1pQf5G4chU=; b=R2BBLDnUtTvZOrB2EHyeNTmar0nQfIaeooxBgm2iEB6O4DSluWGTyelM7y2wxqDQC7gTNrNNGwg6Q8I6FLdn3i3t+b2IdN5OkQaMp+38uNLgOes9RH59dfRpN0bLrQXt+TtdF2wTb3cwWCiZIkN4NV8ysvKdevgbrVC7sD/uLsYA6WeeJybs7HD17i5dPQxBBsSYo8gvumovexmPBXIG8XDq3DZx7TthgiMeGYoo4If5YtGLlZuVjumVX/fQkh7QXz3D3DCl8d9iZ9FYp+jRR3dexMstMZCgmsNC7sqs58m6TsxRlCJwYfSuYFkAhN6nwunQDQS1tCFAD3bhFZ/4Tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=joIcE+vKbkkwmrEtvHCZH/8wzyn/FKjzN1pQf5G4chU=; b=f3X4UQ/yExJYHfIDRpyZBwxZ4H30uG/9afPvtuLGNr4PJtvfeVvTKiv/UIXPTjev6xc6DPZQz3b52OxDIvH0lQry0shQwXX5uwN94IqQflGfWLSrSt9kQ+ND6rTQg9cf5nwYC95WpkxLWljUaWBUgeiAi6Nsaer2tqDHc7yYQrs= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB3948.eurprd05.prod.outlook.com (52.134.72.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Thu, 24 Oct 2019 14:52:06 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::1528:69ed:ffec:764b]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::1528:69ed:ffec:764b%5]) with mapi id 15.20.2387.021; Thu, 24 Oct 2019 14:52:06 +0000 From: Raslan Darawsheh To: "ferruh.yigit@intel.com" CC: Slava Ovsiienko , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v3] net/mlx: fix icc build Thread-Index: AQHVinqaoa/zs8hVNEWsCQ63mraJXg== Date: Thu, 24 Oct 2019 14:52:06 +0000 Message-ID: <1571928712-1037-1-git-send-email-rasland@mellanox.com> References: <1571830296-12039-1-git-send-email-rasland@mellanox.com> In-Reply-To: <1571830296-12039-1-git-send-email-rasland@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: LO2P265CA0396.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:f::24) To DB3PR0502MB3964.eurprd05.prod.outlook.com (2603:10a6:8:3::33) authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 9167df7a-3e43-48b1-5934-08d75891bd26 x-ms-traffictypediagnostic: DB3PR0502MB3948:|DB3PR0502MB3948: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 0200DDA8BE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(396003)(376002)(136003)(366004)(199004)(189003)(71200400001)(64756008)(71190400001)(66446008)(99286004)(76176011)(52116002)(5640700003)(66946007)(50226002)(6512007)(66556008)(36756003)(4326008)(54906003)(8936002)(66476007)(316002)(256004)(3846002)(6116002)(81156014)(81166006)(2906002)(7736002)(8676002)(86362001)(186003)(5660300002)(305945005)(25786009)(478600001)(6916009)(2501003)(2351001)(14454004)(6436002)(26005)(102836004)(6486002)(476003)(2616005)(486006)(11346002)(446003)(66066001)(6506007)(386003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB3948; H:DB3PR0502MB3964.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jCbuBeDflP1XmcnXn+cJNR9JSFwCpTAPquE3yhbPNGe2edwaNAlbjGODiE5WYEUILPWC6UzN7Y2RACwL7SGWOPNg4b1QCwV6S0dU+ESzuVPZmIZvWzu0ehPDmR55AKFOpTp9kstEkzOLxAQidA7HBymX2gLwuTMocexOj4WLdl8WTvzlZIr+Pv8d2mwbLpj3MP4vWndUonHpMHloWH7VNtR4vUCG0sbZ4VKOucPgEBZtV8e4+FrxckJ4X2h7RY/tWrtYVbe4HGVDpN1kUayrPCK9d3Cj8bJ8gf7To1ujaJaH+rrWhLlACWS1mYFgX7U5m0q8wQJ56AisQJLFXtjvpML5PwQDYA4yo7NAmddRgEok7QKrYg7Bj7I5f0hWzVijgrtbKuXRkJlOL2DQwel+gbl1p/iSs6kQSY9y5eulyW2Ahy4M6Kqz5VRpw/wLmFUh Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9167df7a-3e43-48b1-5934-08d75891bd26 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2019 14:52:06.5718 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tsC7lkTEiDsbJADu1RNUBDnT9FmXW7iKJA51PE5ZqG3T+n4GWKuEBKDl4H6B6ad8tVqYuC6Kb3xC6xRpsL9arg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB3948 Subject: [dpdk-dev] [PATCH v3] net/mlx: fix icc build 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" Trying to compile mlx5 pmd in debug mode with icc will lead to compilation failures due to the fact that icc doesn't have support for the pragma of pedantic. Cc: stable@dpdk.org Signed-off-by: Raslan Darawsheh Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx4/Makefile | 5 ++++- drivers/net/mlx5/Makefile | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx4/Makefile b/drivers/net/mlx4/Makefile index 25d7c75..7ea6f74 100644 --- a/drivers/net/mlx4/Makefile +++ b/drivers/net/mlx4/Makefile @@ -67,7 +67,10 @@ endif =20 # User-defined CFLAGS. ifeq ($(CONFIG_RTE_LIBRTE_MLX4_DEBUG),y) -CFLAGS +=3D -pedantic -UNDEBUG -DPEDANTIC +CFLAGS +=3D -pedantic -UNDEBUG +ifneq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) +CFLAGS +=3D -DPEDANTIC +endif AUTO_CONFIG_CFLAGS +=3D -Wno-pedantic else CFLAGS +=3D -DNDEBUG -UPEDANTIC diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile index 04de93a..dae5b9f 100644 --- a/drivers/net/mlx5/Makefile +++ b/drivers/net/mlx5/Makefile @@ -83,7 +83,10 @@ endif =20 # User-defined CFLAGS. ifeq ($(CONFIG_RTE_LIBRTE_MLX5_DEBUG),y) -CFLAGS +=3D -pedantic -UNDEBUG -DPEDANTIC +CFLAGS +=3D -pedantic -UNDEBUG +ifneq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) +CFLAGS +=3D -DPEDANTIC +endif AUTO_CONFIG_CFLAGS +=3D -Wno-pedantic else CFLAGS +=3D -DNDEBUG -UPEDANTIC --=20 2.7.4