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 07867A0562; Sun, 1 Mar 2020 18:09:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 403D51C067; Sun, 1 Mar 2020 18:09:48 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80042.outbound.protection.outlook.com [40.107.8.42]) by dpdk.org (Postfix) with ESMTP id 9C6441BE81; Sun, 1 Mar 2020 18:09:46 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GSzEMdXrAeOx7Hc0vwXcc37Tb/2CLqmpx0mfXfBsEJPnjwGsoLhqjKOg6YCoRzp/rVmo6uwoeiF3lYd0lmzjVh8QyJxQr1KKW8Q6DrsQTyf4vSNs7SQVbzy/aGogaGxMKqOlsnNLzLzeAxKz3+U8Msew+45czSrtLxOdhfNmhIKJvO9iiybKcEZ7xvOsfJMyAlSrX0XHSsvrQmTV6oosermNzR8Te4C8G0pPxHNB6Z14Qvhtz7AmP9sls7CbsQZWuo78yQ6lqAmavwW++G6roqAvrVSORSX1E7SReAERU7EkZ7/vcLwkRyP1q2lB20Eyhm7mtZgoWYrQMfnqVwEIHA== 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=eOPpkz2M+k/bed7ugXYROcRJqFvkBOsqIstwoSCY7fI=; b=NHI2UssIPHzLyEenFO02vqFskUu7rWN1HxSWN5ni0PsSys9VLUmkJeIzCSaliHvaBvPo396OGU0rLImDO+/jNpccCND+B23AdtPPY00NZhnf7PDnBQOjDZqMb/qiCdhlX3+HKo/DFhlcJ7+hEa5NuZ2L8NiGN+UigYsfAFGyBupu8ZMsNMMQTwqQM+lMmi5/ZjAPDqm44FdQ3ZW7X0YBs6aoQBQGygtZfgZzFrsPMt84qYFIt76Z9wLSk/SHFKXh6jqwZIGc0k0pMDkcIZ6FBWgLLcBXSbX2LyKiCR+uNpbyx3nav8E1gI8syP9bfh77TJ8SRMA1ZPYwFd7D0/4nkw== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eOPpkz2M+k/bed7ugXYROcRJqFvkBOsqIstwoSCY7fI=; b=hsOH9XgH9Ep4hifKoxaIu/LbScDtLH42g+mgxwAJooY6TX1tU/ptyoC6z7KpTM5S+xX0jT+bRYBjdfFeg18yeozS/zZbUNJBbWyudfpt96yYqynSy6xU06/UWV6HzqhCjnblwlXQGB5ncwgBmOQ6YiLAdEQzA6rhelLjsnRHMV4= Received: from AM0PR05MB4401.eurprd05.prod.outlook.com (52.134.124.20) by AM0PR05MB6129.eurprd05.prod.outlook.com (20.178.117.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18; Sun, 1 Mar 2020 17:09:45 +0000 Received: from AM0PR05MB4401.eurprd05.prod.outlook.com ([fe80::835:a6a7:7ead:8438]) by AM0PR05MB4401.eurprd05.prod.outlook.com ([fe80::835:a6a7:7ead:8438%4]) with mapi id 15.20.2772.019; Sun, 1 Mar 2020 17:09:45 +0000 From: Ali Alnubani To: "xiangxia.m.yue@gmail.com" CC: "stable@dpdk.org" , Matan Azrad , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [dpdk v1] net/mlx5: fix possible building error Thread-Index: AQHV7urZ7DTWCQ/dHkmg8xOah2YnAqgz8liQ Date: Sun, 1 Mar 2020 17:09:45 +0000 Message-ID: References: <1582972040-7026-1-git-send-email-xiangxia.m.yue@gmail.com> In-Reply-To: <1582972040-7026-1-git-send-email-xiangxia.m.yue@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=alialnu@mellanox.com; x-originating-ip: [176.65.19.213] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 4510cff8-a080-4af2-7c2f-08d7be035758 x-ms-traffictypediagnostic: AM0PR05MB6129:|AM0PR05MB6129: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 0329B15C8A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(39860400002)(366004)(136003)(346002)(189003)(199004)(76116006)(4744005)(66946007)(8936002)(9686003)(86362001)(6506007)(2906002)(52536014)(54906003)(7696005)(5660300002)(64756008)(66446008)(66556008)(66476007)(53546011)(55016002)(33656002)(8676002)(478600001)(71200400001)(316002)(6916009)(4326008)(186003)(81156014)(81166006)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB6129; H:AM0PR05MB4401.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: 4ZKnbsEcV7XtIzwkD0j9Abhe2bvwnEFf+8RicODApmDletk7dWeuwzILCwuXfcxd4UiGldYRG6kt0Vny7oexjyxBUt1sp+3Q42mpQ2UJP4Uo1liEpkBVSKKixI0uIUjyy++P3HycC9Q8gObFDRwDLXGulCi37mfhxbSCt9JXQhRhKz8GQ+uVHiOOmGecXCx7RR77URobSShtnZCaAMKCckMCmsO5RtnojzKyRtaBMoE5r3nQj8vFJ/yloSszYJ0r7gnjebFgFQEcgvBVgcwh6+zdPUVf+LMdQlomluePAFqOqO6Rn3K1r54y0mvICwbIxSKDR6ojeiUVTw5xHw+g8TlOuJnXqVqENZNqPZZJ5hymtLr1JjB6LTuHipuPn7pXuCdDw7Xu/S1ZO0CHHgpJfchqLQq687LII3wlP8r+oo8TNeOA1T3OqrZi1uz1BQ+m x-ms-exchange-antispam-messagedata: XfuNC+aXUGvNifKRQFscQlHFzr1npMSHn1dmwNQIdWAzwgERu0VN+ycVcWaZoZ8AUBm5IIACoqbM6TAmKCi5YJRkeH8hZSx0/IxEy88NKdt7fQ7Af56784ac5U0DnhSdlbwfE5oBbsTP/AI1S7xdZQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4510cff8-a080-4af2-7c2f-08d7be035758 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2020 17:09:45.3881 (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: 8mPqW2rkYegEoNKlDbhMrOLK9houXSzPCMubAhTMIQ9j1FAw97ylqE+VXhIG/FQH0KFQp0nYkDzC6wKvb2HYRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6129 Subject: Re: [dpdk-dev] [dpdk v1] net/mlx5: fix possible building error 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" Hi Tonghao, > -----Original Message----- > From: dev On Behalf Of > xiangxia.m.yue@gmail.com > Sent: Saturday, February 29, 2020 12:27 PM > To: Matan Azrad ; dev@dpdk.org > Cc: Tonghao Zhang ; stable@dpdk.org > Subject: [dpdk-dev] [dpdk v1] net/mlx5: fix possible building error >=20 > From: Tonghao Zhang >=20 > When setting the CONFIG_RTE_BUILD_SHARED_LIB to y, and build the mlx5 > pmd, there is a building error. > To fix it, add RTE_IBVERBS_LINK_DLOPEN to include relative codes. >=20 > > mlx5_common.o: In function `mlx5_glue_init': > > drivers/common/mlx5/mlx5_common.c:324: undefined reference to > `dlclose' >=20 > Fixes: 7b4f1e6bd367 ("common/mlx5: introduce common library") > Cc: stable@dpdk.org >=20 > Signed-off-by: Tonghao Zhang > --- > drivers/common/mlx5/mlx5_common.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 I test this case on multiple environments and don't see the build failure. = Can you please provide more information about yours, and how to reproduce t= his? Thanks, Ali