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 1D7BFA0527; Mon, 20 Jul 2020 18:26:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A5F1A1BFBC; Mon, 20 Jul 2020 18:26:44 +0200 (CEST) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by dpdk.org (Postfix) with ESMTP id A1B6B1BFBA for ; Mon, 20 Jul 2020 18:26:42 +0200 (CEST) Received: by mail-lj1-f196.google.com with SMTP id e8so20936801ljb.0 for ; Mon, 20 Jul 2020 09:26:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=83SMKTE9PG0HT/sExo/6HQ7fp3DmN9dOQvnQCwz2xbg=; b=rk+LWL0iuZP2XzheKmDhEKswaQYXShIcStUEH+oHXE7Hq8hMEmvPUVRxx2robPunJ8 nodZpkwLMYhIXTHGOiYXED67v5TqlAdhIpxEsZSjFeFkQE7B0HbZnZ8PrqgU0IRrdkUD /qsqmxChzc4XoeCumPcQ/jRvS92vv105CBwle6P+/gfjXmkQpBaUWMhwQiM0x/ollnzw ZOyNsd5tVVDyCZjkBeXBj/ocjiFWTm4WwdjjtJm9poLWWJBY2QQRXiHwNS1QvD77TAPS FZBNbkTpgxtsuVp3hVrtrRVbW81zS3fe14pVZefGd3Vb3Sck17s6rnZeP1T4m9h4pY74 wMoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=83SMKTE9PG0HT/sExo/6HQ7fp3DmN9dOQvnQCwz2xbg=; b=XoTwouS9iCxihiYOaEsstK62QVW2Z9KjaZCpkAMpChG0fRo6jGMi1tNH5Q3LO1HFo0 LH4+nBbRRIUoCoF1ZE0EOX3IN/pVZrq4OqBTJVanOVU8qZ5YNCXq1sX7upL+1mS+C5Ll tgHJR8Mp8VtxzboxVEFcwurNPgRzo+yxOefxMKtGFTSF93npZQ4EwieXL7ZLM8BHrLk0 Y4LoGJnF44pI7MAsOe+IAfXaR5Aki9psFBUsBH64ti6QQLZNSstWYJUj6glrPOWFk1St eVs1qtyo7e+UsKz4o9l8Nav5NZoe2uml6q8LcG8ASsu9/Ylv87ltkfjDudND567RxI6t Sw4Q== X-Gm-Message-State: AOAM533h1J4vEr1YYWFiifd4w8BJIY0CikVw8yoqLKxVKKoKocL/G+fm Hp1oU9oxMjtGQM2TWIDtnQc= X-Google-Smtp-Source: ABdhPJyi7YLySvYH0o6hwkl6yg2o+uBxWdud+R72SM5hzzq1UQfLOWduvIclHBc14n6nN9zNthm8eg== X-Received: by 2002:a05:651c:1053:: with SMTP id x19mr9800556ljm.396.1595262402052; Mon, 20 Jul 2020 09:26:42 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id c23sm2238180lfg.87.2020.07.20.09.26.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 09:26:41 -0700 (PDT) Date: Mon, 20 Jul 2020 19:26:40 +0300 From: Dmitry Kozlyuk To: Fady Bader Cc: Narcisa Ana Maria Vasile , "dev@dpdk.org" , Thomas Monjalon , Tasnim Bashar , Tal Shnaiderman , Yohad Tor , "harini.ramakrishnan@microsoft.com" , "ocardona@microsoft.com" , "anand.rawat@intel.com" , "ranjit.menon@intel.com" , "olivier.matz@6wind.com" Message-ID: <20200720192640.2cd0c58e@sovereign> In-Reply-To: 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> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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=https%3A%2F%2Freleases.ll > > vm.org%2Fdownload.html&data=02%7C01%7Cfady%40mellanox.com%7C0b > > 29fed755494b55361d08d82a9ff2b4%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0 > > %7C0%7C637306213753996879&sdata=5lPQtvt8EO7q8OAYN60J8rIdYdNJHjsS > > Pp%2B6P9PL3N0%3D&reserved=0 > > 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=broadwell -Dexamples=helloworld build FWIW, replacing with in rte_random.c resolves the issue on my setup and also looks valid as per [1]. I checked LLVM 10.0.0, and both native and cross MinGW-w64 (GCC 9.2.0). [1]: https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_rdseed32_step&expand=4541