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 6355D45B3A for ; Mon, 14 Oct 2024 19:28:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5AC3E4065D; Mon, 14 Oct 2024 19:28:24 +0200 (CEST) Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazolkn19010005.outbound.protection.outlook.com [52.103.66.5]) by mails.dpdk.org (Postfix) with ESMTP id A7C7640265 for ; Sat, 12 Oct 2024 12:14:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TKfHvZEyzzQFzds9jfDEHzV2MAF93NHW+P/dfhKDLJOl+lTVkpThca0OtVlVFE8LnMFlb7tLAkXc/N871KiXVAbm7w32/y5+QcVVT4dZG0w1B3qwb2cdfIVSKTUnYL/qoI67t0EwzV66bDYf/ue95jip2A6LCVaooKERa1E0APiuy9ujMZrsPMopP+dMSm/fmdI1I9T6kJq/4mGzz0snaDyQ0AziTgxA++zX3lj9oyhxd4xFVQQRW3SNsho0dQdfVy1A/JmtkTsZw+jOG/vKRaTRKTWT/bjtpsVgsytU3jW5zKWb3H4u+/gYXh+nLVXLScTd0XHRq6XF2fpdWVrMNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3HptRT7Dt12rQFKZu5pgsv5Q/Fen8Vtt6HWeooxCsdU=; b=y5/1xA3hy8CTT9fra5Id0frLBlZTcEZY21bDIeZ0ckUXIMsGDpT0Kd/3hwiHC4VZvJQ3lG2KJYfyHHGZcr+CBTZ1zTE075XYBwze5m0+22TqsRo+OeESZ3C+HLQnsLculpD04F6AQEoGvjIUo6E8LuAOd+3De+1RKw1BGQeQ6Ibc7lhX1sbmI3iTOoIAADVph3hy9eRKLG99h7DL5b1aHRcId6rdLB9iiBARfLz0g/a8sUKK8jb4SjIZ8KikwbLfvLYDpEMxsjTnFkiA0YSwKtkQMaOmbfQjxw5IANs+ouqJfZW+9BDTi4VWKtfhEjZycr7hiqD1CrPAHS/E6Nm/ZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3HptRT7Dt12rQFKZu5pgsv5Q/Fen8Vtt6HWeooxCsdU=; b=GnA8nnoBYMaO0srbe7smCn6ViFW1Iub8OUmwo4pt4/cItihmtaB+xl59njBU0IZdJtJKmbLxp3vvUshcqKUXRqmZymQ7QYn2pSKGX6hUkg85rDfmf6MA+VbrP5l4aoU3kXap1c1ScmujoT0NO3G4SKXq1x/Bi0PM7bVm7eF7LO5o3+aKbS9EGOhLFVZsEX0vdbh8KmE6Dh02Cj0lRxJD7X+8qQT3voMfUBth0PTdZ752Jq3+09NLbq+LZwVYQkPBghmW+Vp1IcK60ePDv+M+BQbS7asz9CThFdA17CWVYE8tMhaUWyQQVBb4Fz/YdoMYnpKe1ZCkpSK+MSjFsgzrXQ== Received: from TY1PR01MB10787.jpnprd01.prod.outlook.com (2603:1096:400:325::12) by OSZPR01MB8564.jpnprd01.prod.outlook.com (2603:1096:604:18d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.22; Sat, 12 Oct 2024 10:14:06 +0000 Received: from TY1PR01MB10787.jpnprd01.prod.outlook.com ([fe80::e4cb:cf42:210c:6309]) by TY1PR01MB10787.jpnprd01.prod.outlook.com ([fe80::e4cb:cf42:210c:6309%5]) with mapi id 15.20.8048.018; Sat, 12 Oct 2024 10:14:06 +0000 From: wang yufan To: "users@dpdk.org" Subject: Re: meson options - build vs target machine cpuflags question Thread-Topic: meson options - build vs target machine cpuflags question Thread-Index: AQHbHI9BPoMRH9jrEUKtMdpVdYk/Ug== Date: Sat, 12 Oct 2024 10:14:06 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TY1PR01MB10787:EE_|OSZPR01MB8564:EE_ x-ms-office365-filtering-correlation-id: 21c0dac7-d826-422c-2c5b-08dceaa69acf x-microsoft-antispam: BCL:0; ARA:14566002|8062599003|461199028|8060799006|15030799003|19110799003|7092599003|15080799006|3412199025|440099028|3430499032|102099032|56899033; x-microsoft-antispam-message-info: lz06cQ5ZM/PExiAv3XxBcj6LxCRKywbJ+OGjYWeMV54LT87eVi3PkR/r0MmtL1a+J2YgH8wMaJuVg4/K2qPr6gGTPrN1XFoyk35DMvR/vg0wkXs8fHRcbT4u/rCRMaKNOiL6Bt8oNYMM1CR6aSRFaKkDh0Ar19eMlx8gkq8hMyqfoSz1xyZPJSS2dQdz6ITeTLBvOiN7X0H7G45PovP4u1xIJW5/8RNGOewTGhW3JUfo/wwWY9b71jdUgk3ve2Bk2GZHwjCewl+8Cmu4vCXVR9jSUEc/Ac5BEAafB/9LElrLklE+X0ZToeFbz6U/Vai4uoO4FE8A0YW+1AZapQKXGp4Nf1EkLSOcMncD1KxRSsvPWUUvmKveTFOtQ8YcVceBV3ZFzV/lY6Z9LXEhrRuyq2Uvy+SJ5IeegmoHmdlxgoj6aolvUoALclHS64yuM15BiwQMlYUqRfxrYXS/LTRW3IpjKdTktY+2tGK7vaioVKQFwC1Mh6UHoFe6i3mZBdF8BmxJ3K67Ysh2VBKmpMM3uZjApCXeGVfBz2ShF10pZrob+HvD92Ad5zsIsbRWJyF/gX0x0X8kfdfNrIdfMLzEjcIRUoZNYE8giuwCR90I/MhAByfdO8piqCoOnzU/DFkk/sTdDZaS1CiZnKAlyZd4UUA+HZCkF2NGGl+HDnX0t9b1Cgk6ErCH9lmqExp1/aZ5pf94+Rmjayct4kV2BftUHPiSMSjPMtiMf45uNZqHFUazxtaPc2zCo7SUMwyd3v142KW8hXq1NXXlp19SRgAyaA== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?eWFoRDZhMXlYeVEzSHRaeHVSZjZ3VW1oc2JxS2RYREpSRWNzRkpXa0UzU0VK?= =?gb2312?B?V2pJZ3JsNWRob1ErSE1SK2FMR1diNHFEeWdNRE1qeDdnSWU1azlFd2ZoaHFp?= =?gb2312?B?RVAzdXlpNTBjSUtvZ2x5ZDVIeU9BVVF3SndNYTdlYk01THhXTTVvQlk2TXk3?= =?gb2312?B?L3J2bU9STjR0ZnJpSjMxLytUaGI1U1NQNTlKM1ZneXJYWXltelNtSG40Z3da?= =?gb2312?B?dllCOWp4dU56Rmc2TVlXeTZSeUd2cW42UFpSTkFWNG1BNWNWUXBtOHZzZTcv?= =?gb2312?B?RzRUTFdyenRZM2JJNHl0cjA5OVZydmxCdmhDWk52Tzl0bVFTR1NRWm9UYThB?= =?gb2312?B?bjkyaU4rWmpJckJpZVNkcU9XRGplNDNlaFJkbEhlR2gwRlExODNVTktPSE1O?= =?gb2312?B?Z1RBM242Vk9UZW9CMDlGUUdSV1RXMVRBd1AvRXhqQzk0WnpHczZnU1BWQlZN?= =?gb2312?B?ckxkN25DS2x3V3lMTkNKblFDNkwrWkxTejNrMW9kUkNwNHFGREtIWVh5M2hx?= =?gb2312?B?ejV3VHBNMnRNQWtFdkNhTXBnLzVoRUpzRzhIeEw1eWcrUHF1TkN3dzAvZkNQ?= =?gb2312?B?T1BqaHE4d3p1c0F2aHFZdm9TMU5LZlE2Rm9CTnB3SkVXamtFVnY1bVhhS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OE5VRHlKcWdnL3huYTJ3akV6?= =?gb2312?B?SWZrM0g4RElCQ2ZoNHdSQzFjRHNvRWphUXQ5c0FVVHJuMUJlTXBnbm92d2d1?= =?gb2312?B?S3F3SlhmZFB3OFNmZ3A3OTk3cFRyNE96bTVHVFRPdmg1eXB5ejhmakd1MWNG?= =?gb2312?Q?952Uqf0yau7PXGygFf+Q?= Content-Type: multipart/alternative; boundary="_000_TY1PR01MB107878A3D3FD96284F42741029C7A2TY1PR01MB10787jp_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TY1PR01MB10787.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 21c0dac7-d826-422c-2c5b-08dceaa69acf X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2024 10:14:06.2235 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB8564 X-Mailman-Approved-At: Mon, 14 Oct 2024 19:28:22 +0200 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_TY1PR01MB107878A3D3FD96284F42741029C7A2TY1PR01MB10787jp_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SGVyZaGvcyBhIGRyYWZ0IGZvciB5b3VyIGVtYWlsIHRoYXQgeW91IGNhbiBzZW5kIHRvIGlucXVp cmUgYWJvdXQgcmVzb2x2aW5nIHRoZSBSRFNFRUQgaXNzdW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lIGVycm9yLg0KQ3VycmVudGx5LCBvdXIgd29ya2Fyb3Vu ZCBpcyB0byBtb2RpZnkgdGhlIGVycm9yIGhhbmRsaW5nIGluIHJ0ZV9jcHVfaXNfc3VwcG9ydGVk KCkgdG8gcHJpbnQgYSB3YXJuaW5nIGluc3RlYWQgb2YgZXhpdGluZyB0aGUgYXBwbGljYXRpb24u IEhvd2V2ZXIsIHRoaXMgaXMgbm90IGFuIGlkZWFsIHNvbHV0aW9uIGZvciB1cy4NCkdpdmVuIHRo YXQgd2UgZG8gbm90IGhhdmUgZGlyZWN0IGFjY2VzcyB0byBhdXRvbWF0ZWQgYnVpbGQgbWFjaGlu ZXMgYW5kIG11c3QgZ28gdGhyb3VnaCBhIGNoYW5nZSByZXF1ZXN0IHByb2Nlc3MsIGl0IHdvdWxk IGJlIGhlbHBmdWwgdG8ga25vdyBpZiB0aGVyZSBpcyBhIG1vcmUgZWZmZWN0aXZlIE1lc29uIGNv bmZpZ3VyYXRpb24gb3B0aW9uIChzdWNoIGFzIG1hY2hpbmU9aGFzd2VsbCBvciBhbnl0aGluZyBl bHNlKSB0aGF0IGNvdWxkIGhlbHAgdXMgcmVzb2x2ZSB0aGlzIGlzc3VlLg0KSSBhcHByZWNpYXRl IGFueSBndWlkYW5jZSBvciBzdWdnZXN0aW9ucyB5b3UgY2FuIHByb3ZpZGUgdG8gaGVscCB1cyBu YXZpZ2F0ZSB0aGlzIGNoYWxsZW5nZS4NClRoYW5rIHlvdSBpbiBhZHZhbmNlIGZvciB5b3VyIGFz c2lzdGFuY2UhDQpCZXN0IHJlZ2FyZHMsDQp3eWYNCg== --_000_TY1PR01MB107878A3D3FD96284F42741029C7A2TY1PR01MB10787jp_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
Here=A1=AFs a draft for your email that you can send to inquire about resol= ving the RDSEED issue with DPDK:

Subject: Inquiry Regarding DPDK RDSEED Support on Non-RDSEED Machines
Dear DPDK Development Team,
I hope this message finds you well.
I am currently facing an issue while building and running a DPDK 21.05 appl= ication on Intel x86 machines that have RDSEED in the CPU flags. We also ne= ed to run this application on machines that do not support RDSEED, which le= ads to the following fatal error:
<= div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos_= MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(= 0, 0, 0);">ERROR: This system does not support "RDSEED".=0A= Please check that RTE_MACHINE is set correctly.=0A= EAL: FATAL: unsupported cpu type.=0A=
To address this, I attempted to add the -Dplatform=3Dhaswell&n= bsp;option while running Meson, as I understand that Haswell is the last ar= chitecture without RDSEED support. However, I am still encountering the sam= e error.
Currently, our workaround is to modify the error handling in rte_cpu_= is_supported() to print a warning instead of exiting the applic= ation. However, this is not an ideal solution for us.
Given that we do not have direct access to automated build machines and mus= t go through a change request process, it would be helpful to know if there= is a more effective Meson configuration option (such as machine=3Dhaswell or anything else) that could help us re= solve this issue.
I appreciate any guidance or suggestions you can provide to help us navigat= e this challenge.
Thank you in advance for your assistance!
Best regards,
wyf
--_000_TY1PR01MB107878A3D3FD96284F42741029C7A2TY1PR01MB10787jp_--