Re: [PATCH] eal: fix undeclared function error on old CPUs

2025-01-23 Thread David Marchand
On Tue, Jan 14, 2025 at 5:33 PM Bruce Richardson wrote: > > On Tue, Jan 14, 2025 at 08:21:13AM -0800, Andre Muezerie wrote: > > Error reported: > > ../lib/net/net_crc_sse.c:49:17: error: call to undeclared function > > '_mm_clmulepi64_si128'; ISO C99 and later do not support implicit > > function

Re: [PATCH] eal: fix undeclared function error on old CPUs

2025-01-14 Thread Bruce Richardson
On Tue, Jan 14, 2025 at 08:21:13AM -0800, Andre Muezerie wrote: > Error reported: > ../lib/net/net_crc_sse.c:49:17: error: call to undeclared function > '_mm_clmulepi64_si128'; ISO C99 and later do not support implicit > function declarations [-Wimplicit-function-declaration] > > The fix is to rem

[PATCH] eal: fix undeclared function error on old CPUs

2025-01-14 Thread Andre Muezerie
Error reported: ../lib/net/net_crc_sse.c:49:17: error: call to undeclared function '_mm_clmulepi64_si128'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] The fix is to remove the unnecessary ifdef around the inclusion of header file immintrin.h. T