From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30073.outbound.protection.outlook.com [40.107.3.73]) by dpdk.org (Postfix) with ESMTP id E2D462BF4 for ; Fri, 25 May 2018 12:55:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4jtkq7YEjw2/IVktZ0P/cZcDMrEggxohyxa2IkLVm5Y=; b=ky/K6i+MxpiWVUHNWSN7flV8qwO0InNAjuPGwJ4epi+lbt0LLtcQry/xLZiDeN4sEpTPZVDE3UhMzzcOvVhvMrpI19yz9twbgJecGfGp0DBDfyhBHvstCG5KEZRwnt0JU+QGUSB5w8cxvTBwsRpNW3neVf2lxIlOjO04AEr3Ve4= Received: from HE1PR0402MB2780.eurprd04.prod.outlook.com (10.175.29.14) by HE1PR0402MB2940.eurprd04.prod.outlook.com (10.175.32.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.11; Fri, 25 May 2018 10:54:59 +0000 Received: from HE1PR0402MB2780.eurprd04.prod.outlook.com ([fe80::4831:d6f3:9af0:d5f8]) by HE1PR0402MB2780.eurprd04.prod.outlook.com ([fe80::4831:d6f3:9af0:d5f8%18]) with mapi id 15.20.0776.019; Fri, 25 May 2018 10:54:59 +0000 From: Shreyansh Jain To: Liu Hongbo CC: "dev@dpdk.org" Thread-Topic: [PATCH] lib/librte_rawdev: fix compile error when using sanitizer Thread-Index: AQHT89dV/2odENNmBUiKxcDKrLKiFaRAJCfw Date: Fri, 25 May 2018 10:54:33 +0000 Deferred-Delivery: Fri, 25 May 2018 09:17:55 +0000 Message-ID: References: <1527218411-3305-1-git-send-email-cnliuhb@gmail.com> In-Reply-To: <1527218411-3305-1-git-send-email-cnliuhb@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; x-originating-ip: [92.121.36.197] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0402MB2940; 7:HnmcDhzSY2Z31OILmimUfMwoC0MAF0OA3iXYY23qJfxUcrAGiF1wCHk0TZH8J1ngJSUwvzO8uj6fQ6v9zMneQBBeCI+bMPsCiu+zvsG20InFWLPkO1EbAad2k/gK89qu0Cgz0gxxAJ68oHcN7zQZTxpI1dl/TmI9yg/SafpnGa/NcK9MFu25Zb/XXLGCNVoACHltdFeliLWHseA1xRSPtn5FuBZJ9g2PfQ6JDP9eBzpJlJVSkGwSm6VADs1AIoMf x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0402MB2940; x-ms-traffictypediagnostic: HE1PR0402MB2940: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197)(85827821059158); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:HE1PR0402MB2940; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0402MB2940; x-forefront-prvs: 06833C6A67 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(366004)(346002)(39860400002)(376002)(199004)(189003)(13464003)(2906002)(55016002)(6666003)(97736004)(74316002)(39060400002)(478600001)(53376002)(8676002)(229853002)(68736007)(305945005)(81156014)(7736002)(966005)(4326008)(2900100001)(81166006)(6306002)(8936002)(25786009)(9686003)(6246003)(1411001)(66066001)(11346002)(86362001)(5660300001)(446003)(53936002)(486006)(3280700002)(476003)(3660700001)(44832011)(53546011)(105586002)(316002)(186003)(106356001)(6506007)(6436002)(5250100002)(7696005)(76176011)(6916009)(14454004)(26005)(102836004)(99286004)(6116002)(33656002)(3846002)(59450400001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0402MB2940; H:HE1PR0402MB2780.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: AJYI69aY5tx9OviVS7gT839HT7pFskJ/4D80j5Y848+Ja2ALeaZF+c7WoHuiTu/bTYXF1GRSlGX1sZfug0YWJ6JA93+vFPSuFz6GMzfRgFWy9DyyUthlLGmzuLbvyRu6QUuP3Yl06yzAR8/XdsvMFGg/gDgd5zHzW0/JsjHEWLH/ADrWfyrp1jxeSu/+EnBR spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 926bbcdf-dfc2-4fd7-38d9-08d5c22df5ed X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 926bbcdf-dfc2-4fd7-38d9-08d5c22df5ed X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2018 10:54:59.6824 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2940 Subject: Re: [dpdk-dev] [PATCH] lib/librte_rawdev: fix compile error when using sanitizer 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: , X-List-Received-Date: Fri, 25 May 2018 10:55:03 -0000 > -----Original Message----- > From: Liu Hongbo [mailto:cnliuhb@gmail.com] > Sent: Friday, May 25, 2018 8:50 AM > To: dev@dpdk.org > Cc: Shreyansh Jain ; Liu Hongbo > > Subject: [PATCH] lib/librte_rawdev: fix compile error when using > sanitizer >=20 > Otherwise, make will report the following error: > rte_rawdevs is not flagged as experimental > but is listed in version map > By command: EXTRA_CFLAGS=3D"-fsanitize=3Daddress" make >=20 > Fixes: c88b3f2558 ("rawdev: introduce raw device library") > Cc: shreyansh.jain@nxp.com >=20 > Signed-off-by: Liu Hongbo > --- > lib/librte_rawdev/rte_rawdev_version.map | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/lib/librte_rawdev/rte_rawdev_version.map > b/lib/librte_rawdev/rte_rawdev_version.map > index af4465e..7778f44 100644 > --- a/lib/librte_rawdev/rte_rawdev_version.map > +++ b/lib/librte_rawdev/rte_rawdev_version.map > @@ -28,7 +28,6 @@ EXPERIMENTAL { > rte_rawdev_xstats_get; > rte_rawdev_xstats_names_get; > rte_rawdev_xstats_reset; > - rte_rawdevs; Even before I could respond that compilation would fail, the patchwork syst= em reported this error. http://dpdk.org/ml/archives/test-report/2018-May/05= 4572.html I am not sure what would be the problem. rte_rawdev is defined in experimen= tal already and anyone using it would need the ALLOW_EXPERIMENTAL_API. I tried with EXTRA_CFLAGS=3D"-fsanitize=3Daddress" and it ran successfully.= I am working on gcc 7.3.0 for x86_64. >=20 > local: *; > }; > -- > 2.7.4