Closed williamtu closed 3 years ago
need to disable AVX at ".\include\rte_build_config.h" 121L, 2029B
[1/10] Compiling C object lib/libopenvswitch.a.p/netdev-dpdk.c.obj FAILED: lib/libopenvswitch.a.p/netdev-dpdk.c.obj "clang" "-Ilib\libopenvswitch.a.p" "-Ilib" "-I..\lib" "-I." "-I.." "-I..\include\windows" "-Iinclude" "-I..\include" "-I..\datapath-windows\i nclude" "-IC:\PTHREADS-BUILT\include" "-IC:\temp\dpdk\include" "-IC:\dpdk\lib\eal\windows\include" "-Xclang" "-fcolor-diagnostics" "-pipe" "- D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-g" "-Wthread-safety" "-Wno-microsoft-enum-forward-reference" "-Wno-unused-function" "-Wno-so metimes-uninitialized" "-Wno-format" "-Wno-pointer-sign" "-Wno-incompatible-pointer-types" "-dM" "-U_MSC_VER" "-D_TIMESPEC_DEFINED" "-D_CRT_N ONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS" "-D_CRT_SECURE_NO_DEPRECATE" -MD -MQ lib/libopenvswitch.a.p/netdev-dpdk.c.obj -MF "lib\libopen vswitch.a.p\netdev-dpdk.c.obj.d" -o lib/libopenvswitch.a.p/netdev-dpdk.c.obj "-c" ../lib/netdev-dpdk.c In file included from ../lib/netdev-dpdk.c:18: In file included from ..\lib/netdev-dpdk.h:29: In file included from C:\temp\dpdk\include/rte_flow.h:20: In file included from C:\temp\dpdk\include\rte_arp.h:15: In file included from C:\temp\dpdk\include\rte_ether.h:21: C:\temp\dpdk\include\rte_memcpy.h:798:2: error: '__builtin_ia32_palignr128' needs target feature ssse3 MOVEUNALIGNED_LEFT47(dst, src, n, srcofs); ^ ^ C:\temp\dpdk\include\rte_memcpy.h:644:16: note: expanded from macro 'MOVEUNALIGNED_LEFT47' case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break; \ ^ C:\temp\dpdk\include\rte_memcpy.h:595:64: note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM' _mm_storeu_si128((__m128i *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset)); \ ^ C:\llvm\lib\clang\12.0.0\include\tmmintrin.h:148:12: note: expanded from macro '_mm_alignr_epi8' (__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \ ^
add add_global_arguments('-msse3', language : 'c') add_global_arguments('-mssse3', language : 'c')
need to disable AVX at ".\include\rte_build_config.h" 121L, 2029B