DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 556] build failure in lib/librte_acl
@ 2020-10-15  8:28 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-10-15  8:28 UTC (permalink / raw)
  To: dev


            Bug ID: 556
           Summary: build failure in lib/librte_acl
           Product: DPDK
           Version: 20.11
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: alialnu@mellanox.com
  Target Milestone: ---

A build failure occurs on Ubuntu 16.04.7 LTS with gcc 5.4.0.

$ meson --werror --buildtype=debugoptimized build && ninja -C build
[179/2308] Compiling C object
[180/2308] Compiling C object lib/librte_acl.a.p/librte_acl_acl_run_sse.c.o
[181/2308] Compiling C object
[182/2308] Compiling C object
[183/2308] Generating rte_distributor_mingw with a custom command
[184/2308] Generating pci.sym_chk with a meson_exe.py custom command
[185/2308] Compiling C object
[186/2308] Compiling C object
FAILED: lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o
gcc -Ilib/librte_acl/libavx512_tmp.a.p -Ilib/librte_acl -I../lib/librte_acl -I.
-I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include
-Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include
-Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include
-Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal
-I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs
-Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry
-I../lib/librte_telemetry -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h
-Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes
-Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC
-mavx512f -mavx512vl -mavx512cd -mavx512bw -MD -MQ
lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o -MF
lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o.d -o
lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o -c
In file included from ../lib/librte_acl/acl_run_avx512.c:108:0:
../lib/librte_acl/acl_run_avx512x8.h: In function 'match_process_avx512x8':
../lib/librte_acl/acl_run_avx512x8.h:382:31: error: pointer targets in passing
argument 1 of '_mm256_mask_i32scatter_epi32' differ in signedness
  _mm256_mask_i32scatter_epi32(flow->matches, rmsk[0],
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:53:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:46,
                 from ../lib/librte_eal/x86/include/rte_vect.h:31,
                 from ../lib/librte_acl/rte_acl_osdep.h:33,
                 from ../lib/librte_acl/rte_acl.h:14,
                 from ../lib/librte_acl/acl_run.h:8,
                 from ../lib/librte_acl/acl_run_sse.h:5,
                 from ../lib/librte_acl/acl_run_avx512.c:5:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h:10591:1: note:
expected 'int *' but argument is of type 'uint32_t * {aka unsigned int *}'
 _mm256_mask_i32scatter_epi32 (int *__addr, __mmask8 __mask,
cc1: all warnings being treated as errors

The build error was introduced by "b64c229 acl: add 256-bit AVX512 classify

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-15  8:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15  8:28 [dpdk-dev] [Bug 556] build failure in lib/librte_acl bugzilla

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git