> > > Subject: Re: [PATCH v2 3/3] eal/windows: librte_net build on Windows > > > > > > > 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: > > > > Hi Dmitry, > > I'm trying to reproduce the error you had, I installed the latest SDK > (10.0.19041.0) but I can't find the clang v9.0.1 for Windows. Can you > redirect/instruct me how did you get it for Windows ? > > > > Thanks, > > Fady > > > Hi Fady, > > 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. Regard, Fady