Hi,

We are facing compilation issues as we migrate from vpp_2106 to vpp2202 ,
while compiling out of tree plugin. Please suggest the correct approach.

vpp/build-root/install-vpp-native/vpp/include/vppinfra/memcpy_x86_64.h: In
function 'clib_memcpy_const_le32'
/home/mahesh-vpp/vpp-setup/vpp/build-root/install-vpp-native/vpp/include/vppinfra/memcpy_x86_64.h:118:7:
*warning: implicit declaration f function 'clib_memcpy16'; did you mean
'clib_memcpy1'? [-Wimplicit-function-declaration]*
*  118 |       clib_memcpy16 (dst, src);*

*Reason for compilation error is *
File - *src/vppinfra/memcpy_x86_64.h , *having function *clib_memcpy16
*compiled
under macro * CLIB_HAVE_VEC128 *but used in some functions without macro ,

These macros are defined in below file

#include <vppinfra/clib.h>

*/* Vector types. */*

*#if defined (__aarch64__) && defined(__ARM_NEON) || defined (__i686__)*
*#define CLIB_HAVE_VEC128*
*#endif*

*#if defined (__SSE4_2__) && __GNUC__ >= 4*
*#define CLIB_HAVE_VEC128*
*#endif*

*#if defined (__ALTIVEC__)*
*#define CLIB_HAVE_VEC128*
*#endif*

*#if defined (__AVX2__)*
*#define CLIB_HAVE_VEC256*
*#if defined (__clang__)  && __clang_major__ < 4*
*#undef CLIB_HAVE_VEC256*
*#endif*
*#endif*

*#if defined (__AVX512BITALG__)*
*#define CLIB_HAVE_VEC512*
*#endif*
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21506): https://lists.fd.io/g/vpp-dev/message/21506
Mute This Topic: https://lists.fd.io/mt/91572056/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to