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 54712A051C; Sat, 20 Jun 2020 21:22:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9BF9B1BFAB; Sat, 20 Jun 2020 21:22:12 +0200 (CEST) Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by dpdk.org (Postfix) with ESMTP id CF9A91BFA3 for ; Sat, 20 Jun 2020 21:22:11 +0200 (CEST) Received: by mail-lj1-f193.google.com with SMTP id y11so15127795ljm.9 for ; Sat, 20 Jun 2020 12:22:11 -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=cbzb4ZtErTN7yQIAVsq34sfBheulGTH9GkTG5Mmz8gY=; b=j8HRCf4uMorp8iyTuNADCrSo9c1xTITP9COMiaQy29NUm8bgiS6slGiahg86nL8VAA Ps2q4msCuPdqAI4OheiR/sNHSSWbDAvpGvl/qfJBI0HXma6479auC9VjEmU7+d37ivZp k/lumUA54EBJFXk2j+F51ZjHipyDDBb4aNkl9zE6afkryP+eTffzqMFLNF2JnUoS3asQ mQ2NBynFbe74nIWyczR+L6M+K69lJUBFhSgwxDGH96wKB0zk8Baz3CBHRDPcMaClojwq ZTBQPdJtFpz2sWX3GVHISrY1iiN0vJ4UXgIzN+Q8A8OIAohLIAtWZEzCSd91daCP6hIf MN1A== 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=cbzb4ZtErTN7yQIAVsq34sfBheulGTH9GkTG5Mmz8gY=; b=guktpNVyZY8CMrC8P65j//nTSM8bdtS7QFneNCf7kXskS/eRCPN6qwCJBI4nwFnLhi 0bqxog+A/S+oUwFdYwbMZOwp5VR9RLD6JFHk4JpBzORAiUZoZlDZ/g3GjIjfeq6wCWsB RA1UCpQ4gjP1CohniTMab6V94pZOYwaZBpFIfgDPWRJyg4jBI2JDruAJi+Op4EI5y7KX C1S/FTay7DzyOal+4RCHljWrNzJLi0XS1PTaQFznUON9Dq8hgGjTA+1JUShmNd1uVnF5 A9KddX2RgnzA8piws2+UV3wBkJyhAm9Rx/aNsNlzi9DbLo7ev4U5ef8fiUi3IlIgBCkl ampQ== X-Gm-Message-State: AOAM532mxd80ck1843Vt+duVYTYSV7e3w+H4EjPAjszL7lE+9VnwauKY r9K/fZgR9C6F6XuVVNkiIPE= X-Google-Smtp-Source: ABdhPJzHGO6JWFEtYNdIhspP0+e/F4bKTduYk82nw/iI5xGNVe1BzT3ufGJATNObfbjO73r1DMGfWw== X-Received: by 2002:a2e:9cc:: with SMTP id 195mr4457036ljj.107.1592680931362; Sat, 20 Jun 2020 12:22:11 -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 s25sm1823923ljj.119.2020.06.20.12.22.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jun 2020 12:22:10 -0700 (PDT) Date: Sat, 20 Jun 2020 22:22:09 +0300 From: Dmitry Kozlyuk To: Fady Bader Cc: dev@dpdk.org, thomas@monjalon.net, tbashar@mellanox.com, talshn@mellanox.com, yohadt@mellanox.com, harini.ramakrishnan@microsoft.com, ocardona@microsoft.com, anand.rawat@intel.com, ranjit.menon@intel.com, olivier.matz@6wind.com Message-ID: <20200620222209.6e66adae@sovereign> In-Reply-To: <20200610120040.17968-4-fady@mellanox.com> References: <'20200610112326.18576-1-fady@mellanox.com'> <20200610120040.17968-1-fady@mellanox.com> <20200610120040.17968-4-fady@mellanox.com> 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" > diff --git a/lib/librte_eal/common/meson.build b/lib/librte_eal/common/meson.build > index e1bdaf024..05e40a26b 100644 > --- a/lib/librte_eal/common/meson.build > +++ b/lib/librte_eal/common/meson.build > @@ -28,6 +28,7 @@ if is_windows > 'malloc_elem.c', > 'malloc_heap.c', > 'rte_malloc.c', > + 'rte_random.c', Hitting an error when building on Windows (SDK 10.0.18362) with Clang 9.0.1: [7/72] Compiling C object lib/76b5a35@@rte_eal@sta/librte_eal_common_rte_random.c.obj. FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_common_rte_random.c.obj clang @lib/76b5a35@@rte_eal@sta/librte_eal_common_rte_random.c.obj.rsp In file included from ../../../../lib/librte_eal/common/rte_random.c:13: In file included from ..\..\..\..\lib/librte_eal/include\rte_eal.h:20: In file included from ..\..\..\..\lib/librte_eal/include\rte_per_lcore.h:25: In file included from ..\..\..\..\lib/librte_eal/windows/include\pthread.h:20: In file included from ..\..\..\..\lib/librte_eal/windows/include\rte_windows.h:22: In file included from C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\windows.h:171: In file included from C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\windef.h:24: In file included from C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared\minwindef.h:182: C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h:3324:1: error: conflicting types for '_m_prefetchw' _m_prefetchw ( ^ C:\Program Files\LLVM\lib\clang\9.0.1\include\prfchwintrin.h:50:1: note: previous definition is here _m_prefetchw(void *__P) Similar issue was seen before: https://patches.dpdk.org/patch/59912/#101780 -- Dmitry Kozlyuk