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 ABEE3A0524; Mon, 27 Jul 2020 10:53:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6F6A91BFE0; Mon, 27 Jul 2020 10:53:58 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2066.outbound.protection.outlook.com [40.107.20.66]) by dpdk.org (Postfix) with ESMTP id 12E5F1BFC8 for ; Mon, 27 Jul 2020 10:53:57 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ErVwjF9dWZ94TtfbKpVu5kOSLcc8NbC5paRdsXcUYJUwkfZTek9FQ9JjHesTnyWupJkkrwo6dvP4zfiw/aiAojYpGL4xKYAWb7J2RUO8OR4cpiTDSIUtP91ih71VeIAvhYYGGWAXchY6VtJjkyn3I/3QEbh4suOj0PrIvqMH8Jo7a9LYbDh4kVUHW152SxejMTRK6CepI0Pd6Z1xEIbVIURj+uniH0LabwdbBG0ftuhrLoZEyTf9dQwu95IQQXTifzoMSa6EXMqtf8Z4ZONpRsS0wQj+QZbR5d2AjWpi6lek/ND5K4EdgyDNB0Ad6YBw1Eg1d30fBuiWrhQ9uxXJKQ== 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=wCKq3EmtGA6fVz43XYlKZIUknQCgPnpNQa/E6dZtVL8=; b=ldr2mvQ9JYM6FMvqaLMbFRBmAa/JXX1+oV9TAJ/cd8z2hkYkQpI35CC0bWjU7/OYfECX8nWUAttHB5CAWoKxfKYklE1JoiXnOemQ0pvrQISlv+HFgP/Fqyh6wO7ZV6XNhgpgWjgvC86RSqTBZYc27e+DPCt8uaZe84B3OATOSQqucKzYFCFNI+lVqdT5Xngy+sVUYiH2XHvexIsO7UKPGU27eqb4IcOcVyAbtsD3m6v1xXAargi6cFUWgQYosLJ84LlUvJQqgY3cfAZyXnPtdqbCXTTzG5FdvmSr9y7BnpEpxzxiN34NoFoPl03O7KQSBJ8PQp7d6WadiRzmFRHVWQ== 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=wCKq3EmtGA6fVz43XYlKZIUknQCgPnpNQa/E6dZtVL8=; b=qIYyznjxb+OZGFMHcJdpBGCl+3j4nVdvyleIXwTma0JjBObCgSNyOIyu3ml8D9+wHwwo39OVGb+DTykyOQ6WqDg7ARerEx+51n34ha1iAY0thz+YaDbkEEnTj2tqG9G8eObDmj8vFUFh21TVXYn+fkK+OyKh2eeRICjSsnflnGM= Received: from VI1PR05MB5872.eurprd05.prod.outlook.com (2603:10a6:803:de::17) by VI1PR05MB4621.eurprd05.prod.outlook.com (2603:10a6:802:5f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.24; Mon, 27 Jul 2020 08:53:55 +0000 Received: from VI1PR05MB5872.eurprd05.prod.outlook.com ([fe80::ec95:ae9e:77c8:63ae]) by VI1PR05MB5872.eurprd05.prod.outlook.com ([fe80::ec95:ae9e:77c8:63ae%6]) with mapi id 15.20.3216.033; Mon, 27 Jul 2020 08:53:55 +0000 From: Fady Bader To: Fady Bader , Dmitry Kozlyuk CC: Narcisa Ana Maria Vasile , "dev@dpdk.org" , Thomas Monjalon , Tasnim Bashar , Tal Shnaiderman , Yohad Tor , "harini.ramakrishnan@microsoft.com" , "ocardona@microsoft.com" , "ranjit.menon@intel.com" , "olivier.matz@6wind.com" Thread-Topic: [dpdk-dev] [PATCH v2 3/3] eal/windows: librte_net build on Windows Thread-Index: AQHWPx7x7rPDSAUOKEeItJMuKBQIU6jh8fCAgAvxElCAHrBdgIAED9GAgABDqgCAApqmsIAH5qbg Date: Mon, 27 Jul 2020 08:53:55 +0000 Message-ID: References: <'20200610112326.18576-1-fady@mellanox.com'> <20200610120040.17968-1-fady@mellanox.com> <20200610120040.17968-4-fady@mellanox.com> <20200620222209.6e66adae@sovereign> <20200717222251.GB34951@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20200720192640.2cd0c58e@sovereign> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [79.182.6.20] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0513ad93-bd01-4123-df95-08d8320a981e x-ms-traffictypediagnostic: VI1PR05MB4621: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True 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: Wj4inCJOHowRLqZ8NHTVlpYDxdXb/cKz9bPypNPb0NoN+OfOItTDlL5kqCZQH5lKK6xPY6M1frdS8AvPA9jCUSazztN3eixTBVFuDQHfvPnDS2OE0gsh3tTbGnF+WM/K0rBVTqCcNxXIcLpPHGAp6eLMK94lnqkXPDk1WkpVkHBvpdFjg5t1yCec0H7KFgoN215RkG0fEPnjFtDvXPuoAUu+pAaaWtplJqgptJdUYdQ01fRI8vBmAQ1urIdqP9X8glJxyIhmgwG0JENiiMHzC9/O5wUPe76ditoHmRZhJNQrZZfkgOv7FQLhwdvdampMG73STEJKI0TSXTPtShbCvySrZkyLZ7cjSftL+VksVNpCgiNg3y3siCLenWAsYtf4wzvbEDWMd2V2ElEoOu0Hqg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR05MB5872.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(396003)(136003)(366004)(39860400002)(8676002)(71200400001)(966005)(4326008)(7696005)(5660300002)(110136005)(316002)(186003)(54906003)(83380400001)(6506007)(8936002)(52536014)(33656002)(478600001)(55016002)(45080400002)(66946007)(86362001)(66556008)(2906002)(64756008)(9686003)(76116006)(26005)(66476007)(66446008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: zDUg/yLPorlj4KfTnFNHgAF+JbYKvCfTr9eAIM7zYelcaDYia755s//Kk/lGJOVkHhsh14208S8tl+nBvcR8s29vdbmRW/jnhWDGBblWHACyFSQGoh6cWT2YkPJ55uhJ9A5tdMqSamvpBtcl27jiJvkE3QGexiy3nLI7KIlwTITrj2agQyn/vqSStGHm4MAreyb1CsgiUd4LOkJU+kkwYxFskcbdRv7fEDTChjln0XdO5xr9QyeBEEflYFZOAaiWTwBrja3qd8XgQYFAaxpqGM5OJWXPQAyMTxGZcbhnYxKHs7rBTN8C9Qk2J/u6eym1p2B1iRLBdG+laCHbcavucsGE7jNTI7P4MAwwzk0LfTdCsVuw91447mRzT7NlMUiadvbRDBxBf/7D4QY+DdJsHK6JsCrK85/E0EouR6UMAAHt4hmJEepUxvYSqSJ3rk71i08NDXDGQoHXQ9Jvnz/PTf5fEmlrAMEibXvUKPOwCyg= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR05MB5872.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0513ad93-bd01-4123-df95-08d8320a981e X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jul 2020 08:53:55.4478 (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: D8RnAiNrRtotg6TiiGqsGFKTMhrhJ3h7ngVEQz3piSDE6zK9x89uOVDWRToG6K1tjn0xSi/laW+cnO5WNHipWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4621 Subject: Re: [dpdk-dev] [PATCH v2 3/3] eal/windows: librte_net build on Windows 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" > > On Mon, 20 Jul 2020 12:54:08 +0000, Fady Bader wrote: > > [snip] > > > > Getting the same error with a setup similar to Dmitry's. My setup: > > > > SDK 10.0.18362, > > > > > > I'm sending v4 patch that should resolve this. > > > > > > > clang 9.0.0. What version of clang are you using on your system? > > > > You can try installing LLVM 9.0.0 from > > > > https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2= F > > > > re > > > > leases.ll > > > > > > > vm.org%2Fdownload.html&data=3D02%7C01%7Cfady%40mellanox.com%7C0b > > > > > > > 29fed755494b55361d08d82a9ff2b4%7Ca652971c7d2e4d9ba6a4d149256f461b%7C > > > > 0 > > > > > > > %7C0%7C637306213753996879&sdata=3D5lPQtvt8EO7q8OAYN60J8rIdYdNJHjsS > > > > Pp%2B6P9PL3N0%3D&reserved=3D0 > > > > > > Thanks for the link, even with clang and SDK version same as yours > > > and Dmitry's I'm still passing compilation and not getting the error = described. > > > That's because the _m_prefetchw function that is defined in Clang's > > > prfchwintrin.h is an intrinsic function corresponding to the > > > instruction PREFETCHW that is part of the instruction set extension > > > 3DNOW, my processor doesn't support this instruction set extension, > > > so my > > compiler isn't reaching the part where it defines _m_prefetchw. > > > I think your processor does support the 3DNOW instruction set > > > extension and that why you are reaching this part and I'm not. > > > > You can try building DPDK for a machine with RDSEED like so: > > > > meson -Dmachine=3Dbroadwell -Dexamples=3Dhelloworld build >=20 > Even with this option I still don't get the error. With this option RDSEE= D is enabled > but the reason I'm not getting the error is that 3DNOW is not supported b= y my > machine and its disabled. > Do you know of such way that I can enable instruction set extenuations fo= r the > project compilation? >=20 Sorry my bad, with the option -Dmachine=3DBroadwell I do get the error. Thanks, Fady