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' <[email protected]>
> > Cc: 'David Marchand' <[email protected]>; '[email protected]'
> > <[email protected]>; 'Bruce Richardson' <[email protected]>;
> > 'Konstantin Ananyev' <[email protected]>; 'Ciara Power'
> > <[email protected]>; NBU-Contact-Thomas Monjalon (EXTERNAL)
> > <[email protected]>; '[email protected]'
> > <[email protected]>
> > Subject: RE: [PATCH v11 01/16] eal: use rdtsc intrinsic
> > 
> > > -----Original Message-----
> > > From: Ali Alnubani <[email protected]>
> > > Sent: Wednesday, August 30, 2023 4:38 PM
> > > To: Tyler Retzlaff <[email protected]>
> > > Cc: David Marchand <[email protected]>; [email protected]; Bruce
> > > Richardson <[email protected]>; Konstantin Ananyev
> > > <[email protected]>; Ciara Power <[email protected]>;
> > > NBU-Contact-Thomas Monjalon (EXTERNAL) <[email protected]>;
> > > [email protected]
> > > Subject: RE: [PATCH v11 01/16] eal: use rdtsc intrinsic
> > >
> > > > -----Original Message-----
> > > > From: Tyler Retzlaff <[email protected]>
> > > > Sent: Tuesday, August 29, 2023 7:16 PM
> > > > To: Ali Alnubani <[email protected]>
> > > > Cc: David Marchand <[email protected]>; [email protected];
> > Bruce
> > > > Richardson <[email protected]>; Konstantin Ananyev
> > > > <[email protected]>; Ciara Power
> > <[email protected]>;
> > > > NBU-Contact-Thomas Monjalon (EXTERNAL) <[email protected]>;
> > > > [email protected]
> > > > 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 <[email protected]>
> > > > > > Sent: Friday, August 11, 2023 10:21 PM
> > > > > > To: [email protected]
> > > > > > Cc: Bruce Richardson <[email protected]>; Konstantin
> > > Ananyev
> > > > > > <[email protected]>; Ciara Power
> > > > <[email protected]>;
> > > > > > NBU-Contact-Thomas Monjalon (EXTERNAL)
> > <[email protected]>;
> > > > > > [email protected]; [email protected]; Tyler
> > > > Retzlaff
> > > > > > <[email protected]>
> > > > > > 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 <[email protected]>
> > > > > > Acked-by: Konstantin Ananyev <[email protected]>
> > > > > > Acked-by: Morten Brørup <[email protected]>
> > > > > > ---
> > > > >
> > > > > 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