On Wed, Aug 30, 2023 at 04:29:07PM +0000, Ali Alnubani wrote:
> > -----Original Message-----
> > From: Ali Alnubani
> > Sent: Wednesday, August 30, 2023 6:49 PM
> > To: 'Tyler Retzlaff' <roret...@linux.microsoft.com>
> > Cc: 'David Marchand' <david.march...@redhat.com>; 'dev@dpdk.org'
> > <dev@dpdk.org>; 'Bruce Richardson' <bruce.richard...@intel.com>;
> > 'Konstantin Ananyev' <konstantin.v.anan...@yandex.ru>; 'Ciara Power'
> > <ciara.po...@intel.com>; NBU-Contact-Thomas Monjalon (EXTERNAL)
> > <tho...@monjalon.net>; 'm...@smartsharesystems.com'
> > <m...@smartsharesystems.com>
> > Subject: RE: [PATCH v11 01/16] eal: use rdtsc intrinsic
> > 
> > > -----Original Message-----
> > > From: Ali Alnubani <alia...@nvidia.com>
> > > Sent: Wednesday, August 30, 2023 4:38 PM
> > > To: Tyler Retzlaff <roret...@linux.microsoft.com>
> > > Cc: David Marchand <david.march...@redhat.com>; dev@dpdk.org; Bruce
> > > Richardson <bruce.richard...@intel.com>; Konstantin Ananyev
> > > <konstantin.v.anan...@yandex.ru>; Ciara Power <ciara.po...@intel.com>;
> > > NBU-Contact-Thomas Monjalon (EXTERNAL) <tho...@monjalon.net>;
> > > m...@smartsharesystems.com
> > > Subject: RE: [PATCH v11 01/16] eal: use rdtsc intrinsic
> > >
> > > > -----Original Message-----
> > > > From: Tyler Retzlaff <roret...@linux.microsoft.com>
> > > > Sent: Tuesday, August 29, 2023 7:16 PM
> > > > To: Ali Alnubani <alia...@nvidia.com>
> > > > Cc: David Marchand <david.march...@redhat.com>; dev@dpdk.org;
> > Bruce
> > > > Richardson <bruce.richard...@intel.com>; Konstantin Ananyev
> > > > <konstantin.v.anan...@yandex.ru>; Ciara Power
> > <ciara.po...@intel.com>;
> > > > NBU-Contact-Thomas Monjalon (EXTERNAL) <tho...@monjalon.net>;
> > > > m...@smartsharesystems.com
> > > > Subject: Re: [PATCH v11 01/16] eal: use rdtsc intrinsic
> > > >
> > > > On Sat, Aug 26, 2023 at 02:38:26PM +0000, Ali Alnubani wrote:
> > > > > > -----Original Message-----
> > > > > > From: Tyler Retzlaff <roret...@linux.microsoft.com>
> > > > > > Sent: Friday, August 11, 2023 10:21 PM
> > > > > > To: dev@dpdk.org
> > > > > > Cc: Bruce Richardson <bruce.richard...@intel.com>; Konstantin
> > > Ananyev
> > > > > > <konstantin.v.anan...@yandex.ru>; Ciara Power
> > > > <ciara.po...@intel.com>;
> > > > > > NBU-Contact-Thomas Monjalon (EXTERNAL)
> > <tho...@monjalon.net>;
> > > > > > david.march...@redhat.com; m...@smartsharesystems.com; Tyler
> > > > Retzlaff
> > > > > > <roret...@linux.microsoft.com>
> > > > > > Subject: [PATCH v11 01/16] eal: use rdtsc intrinsic
> > > > > >
> > > > > > Inline assembly is not supported for MSVC x64. Convert code to use
> > > > > > __rdtsc intrinsic.
> > > > > >
> > > > > > Signed-off-by: Tyler Retzlaff <roret...@linux.microsoft.com>
> > > > > > Acked-by: Konstantin Ananyev <konstantin.v.anan...@yandex.ru>
> > > > > > Acked-by: Morten Brørup <m...@smartsharesystems.com>
> > > > > > ---
> > > > >
> > > > > Hello,
> > > > >
> > > > > This patch is causing a build failure in Windows with Clang 11:
> > > >
> > > > Hi Ali,
> > > >
> > > > while we don't currently document a minimum clang version required to
> > > > build the windows port i'm starting to consider establishing policy that
> > > > in effect says we may bump the required compiler version on any dpdk
> > > > release (not just long term servicing releases). but before doing that
> > > > it would be nice to understand if that would cause undue pain on the
> > > > port users.
> > > >
> > > > So is there a reason you can't use LLVM 16?
> > >
> > > No specific reason. I reported this because compilation was passing with
> > Clang
> > > 11 prior to this patch.
> > >
> > 
> > Building with clang version 16.0.6 fails for me with:
> > 
> > [..]
> > [405/803] Linking target lib/rte_eal-24.dll
> > FAILED: lib/rte_eal-24.dll
> > "clang" @lib/rte_eal-24.dll.rsp
> > clang: error: no such file or directory: 'librte_log.lib'
> > clang: error: no such file or directory: 'librte_kvargs.lib'
> > [406/803] Compiling C object
> > lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.obj
> > [..]
> 
> This build failure was actually caused by upgrading Meson from 0.54.3 to 
> 1.2.1 earlier on the environment.
> The build passes with Meson 0.54.3 and Clang 16.0.6.

yes, the windows build is very sensitive to meson version. i only test
with 0.57.0 i have not had time to investigate why newer versions do not
work.

Reply via email to