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 7FD66A034F; Mon, 29 Mar 2021 10:09:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 155CA40151; Mon, 29 Mar 2021 10:09:06 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2124.outbound.protection.outlook.com [40.107.244.124]) by mails.dpdk.org (Postfix) with ESMTP id 6FBE940685 for ; Fri, 26 Mar 2021 15:14:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XQBPCuU5PwKb4RhmXo+woe7JSnAzq9kjvq5mrRAWBDwOqqU9aJT9npRQ9Yyd7TE/nU1KrGoKzxcm+014Jnh1AJnNPIT3bcUUOGTg/7nscbKLNJ4TwJF2ukEdx3oAqXswz/+gdLxrnGPDfT8X7Et9tLSMd3QbqTISvxmqnL/38o+0r9gHT6IG2SVlb1KsqfwWvpPqGLvRIio+v6FqMeTi7Ad7kVWkunVL7D3HAGfhuaKmWWxYuZSRtdoEMDIIR3aZ4XHXZYTvVZj5h6IPtxf67lHGdoGNZubKPQbroraY0R5FkL0rw00auzuQyn9QJ6FCKdoNsQyUeIDJcMIPDTJAAQ== 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=rNg5RZxqSw5iFkDkzCKWnE81bnoCwe3bqn7QWzlFdBY=; b=lNNUSLSjn2DQkTWS3lIOc7EU+naUTw0vpGiUCqo4/wvp9KPb3f24QpSnR1YlVxCeCtTVG1hXKo9AVDtIBeNlw0pR1njjiX7EKYvt8NgO4jUOjfTogz3K20mR9JdoEC4rhT6Yk//9xVSHmr3C7NaG4+ncalrgYqRaimpcDhAOYu6cKKJbyfqGWI9stQNN+f2CCLcAcM+AVm21RP+n5yHLBJRN4Y19s2Kv4K5tjgnWuamcMbfBJ0MXj/KDV7ZKKwuZbXcd5Lh0lnzrAimLXXBl+m4BhGitnWPZklGVjdaqQgkFqQCmLlLajwa0gx23ZkWGFRkHh+Eu/ddNCROFDFimUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rNg5RZxqSw5iFkDkzCKWnE81bnoCwe3bqn7QWzlFdBY=; b=jpy0BKJqd9nQ9OqbGvOsCSbUgdodC17AVQc4TIMpnJotpcaG1chZwr9qll+p5UBtLSL6cbE/55qIjZ4jH794lFVMvMKp5x67i/PpnQZHYU8eKuE7uo24E824CvVOhHdVqIJGb64HtJ5ZaGUxU6HznhmBje4FuzN+YzLJfYyAvj0= Received: from MWHPR21MB1579.namprd21.prod.outlook.com (2603:10b6:301:81::27) by MWHPR21MB0480.namprd21.prod.outlook.com (2603:10b6:300:ec::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.2; Fri, 26 Mar 2021 14:14:33 +0000 Received: from MWHPR21MB1579.namprd21.prod.outlook.com ([fe80::240a:377f:756f:b44d]) by MWHPR21MB1579.namprd21.prod.outlook.com ([fe80::240a:377f:756f:b44d%7]) with mapi id 15.20.3999.018; Fri, 26 Mar 2021 14:14:33 +0000 From: Tyler Retzlaff To: thomas , Dmitry Kozlyuk , ranjit.menon , "Kadam, Pallavi" , Harini Ramakrishnan , "navasile@linux.microsoft.com" , Dmitry Malloy CC: "dev@dpdk.org" , talshn , "bruce.richardson@intel.com" , David Marchand , Omar Cardona Thread-Topic: [EXTERNAL] Re: [dpdk-dev] Handling missing export functions in MSVC linkage Thread-Index: AQHXIhuRxSIIhE+VMEKVxyxtI4hTHqqWT+hA Date: Fri, 26 Mar 2021 14:14:33 +0000 Message-ID: References: <20200608030932.5d09c061@sovereign> <6178668.jC4cgjogLs@thomas> In-Reply-To: <6178668.jC4cgjogLs@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=1dab5555-e05a-4872-b513-6a3db6d91b6d; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-03-26T14:12:31Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [50.47.142.187] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f01a8a0b-1faa-4f04-974b-08d8f0617ac9 x-ms-traffictypediagnostic: MWHPR21MB0480: x-ms-exchange-transport-forked: True x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zFBG6EZ+aTwUhOyS/1+PXyz86kh0uQ/882GB81djyfjEr4kWmy7XmP5jJ6X4NYPKt+sXy/rrdgHNCQjt8E0atxKhhluV81EZI+8TYsjGB6r5X5iD6//xPU7p4WeVxLmEnxe3rW+4mjvar83Xf0pONqlVAaFYHSMN2Jle9e0Ov6A0/lb/dZqsdtPL0kEJm5v08zAGwGb93ZkFHZ8GmWU4Auh0caQS5SmoAaELBiTSiw7cX7+QuqR5IlgWPfltDGkk8EW06/uJdL01yN49oZjW5RbsiqPxWKRTWS4VHPDcrOg12j010PauBtRPLgqlX9H9JMX2zI7/eXq+4rHzfrs9Xv9deh6ClYye9TAZzR2LYFTg1OhdM4UFoWoh95HxfDptIiqv7OqKoTSn9Vu1lGbV5k6f0131OCG+anAzzX4Mj47iDjrn7d5g9MYjJppSvcixkhV4NIOmpY3smA1dou6vCQdfJs2DglULcBqfP71xPeksmTte6wUeYe0ietn+l48MPDGjToayYva31R3cz57wIrvecn4c2/w61oU1Xg+lLYNf52A2Zi7kdfiQGmIWhNLiDct5qBPA9VS6Ea6ZNoAn6c9amhbOuIe3IMTVTRBJSLTXEu6gtIkAjSOR0lUCQqgBQCPfB/VRNhf+j9GeoshyBslo+am4z46dT9WegPiL9Jo= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR21MB1579.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(376002)(346002)(39860400002)(396003)(66446008)(64756008)(66476007)(5660300002)(8990500004)(66946007)(86362001)(76116006)(53546011)(10290500003)(66556008)(83380400001)(6506007)(52536014)(55016002)(2906002)(186003)(9686003)(26005)(38100700001)(110136005)(33656002)(8676002)(8936002)(71200400001)(4326008)(316002)(6636002)(107886003)(82960400001)(54906003)(82950400001)(478600001)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?F2oy2y0E4G6kRa47932OPYIhJfQ1EIAkeurZPri+V26lsm6dwgWw08+jGYR4?= =?us-ascii?Q?DOxvWzORVREVWtquUfWkhOmEqgb5uHrv3+MTZuIduY2M/bX7+0qEEkPAGAbL?= =?us-ascii?Q?nobqezlW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= =?us-ascii?Q?UBmx/OCf6Cc2mG83HfVD7J2hmIU5cL7eniaqYLPEDm/NFiEjn+wzKjImHmsQ?= =?us-ascii?Q?nrnTCZfyfPqvdEGhF4PvqSj/EPyQmmT9B6PGRs3q9AA8dnVXURC7RdFEN55b?= =?us-ascii?Q?GGLpIsnbyAA0aeSC/YnOdTXLKZGaBzbIaV8/Xp0PtRBXhhK6j38dqZO6ReoM?= =?us-ascii?Q?sVA/JVzBbNnKi64Q53+fnns4OgarUSD4/0GvXKqzuVzATxX5ApDnhUJwJHe1?= =?us-ascii?Q?lGzCnFIzQwwVlFlusvc0g8BSPWIv/RUVtLYpEXtZH2CzAtKFOOducS6o6jj3?= =?us-ascii?Q?oVzLMuVBUWeNtcJR3V6JIFht?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR21MB1579.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f01a8a0b-1faa-4f04-974b-08d8f0617ac9 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2021 14:14:33.4721 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oJJvgWRfEzFetDc1jqXDkwXlIyqW+ZerLBB5hgvudzyv516FsDD11WbsHdYUVpvN44/YbnoKTcYmucK0l9yHOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR21MB0480 X-Mailman-Approved-At: Mon, 29 Mar 2021 10:09:05 +0200 Subject: Re: [dpdk-dev] [EXTERNAL] Re: Handling missing export functions in MSVC linkage X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Unless I misunderstood the last status of this issue was that it was desire= d empty stubs that fail at runtime as opposed to conditionally generating e= xports. Is this no longer the case? -----Original Message----- From: Thomas Monjalon =20 Sent: Friday, March 26, 2021 1:40 AM To: Dmitry Kozlyuk ; ranjit.menon ; Kadam, Pallavi ; Harini Ramakrishnan ; navasile@linux.microsoft.com; Dmitry Mal= loy Cc: dev@dpdk.org; talshn ; bruce.richardson@intel.com;= David Marchand ; Tyler Retzlaff ; Omar Cardona Subject: [EXTERNAL] Re: [dpdk-dev] Handling missing export functions in MSV= C linkage 08/06/2020 10:33, David Marchand: > On Mon, Jun 8, 2020 at 2:09 AM Dmitry Kozlyuk = wrote: > > On Sun, 7 Jun 2020 12:26:56 +0000 > > If you create a .def manually, it will override the generation from=20 > > .map. Of cause, this adds manual work and ideally all .def files should= be generated. >=20 > On this topic, I just noticed that a patch of mine, that removed > rte_eal_get_configuration() from the stable ABI, missed the=20 > declaration in rte_eal_exports.def. > Probably worth adding a check in devtools/, to avoid further misalignment= . The .def file keeps being out of sync. We need a script to avoid forgetting the sync, or/and we must generate this= .def from the .map. Ideally the full EAL API (except VFIO) should be implemented for Windows. This situation is waiting for a solution for too much time. Windows maintainers, please solve it.