All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 556] build failure in lib/librte_acl
Date: Thu, 15 Oct 2020 08:28:11 +0000	[thread overview]
Message-ID: <bug-556-3@http.bugs.dpdk.org/> (raw)

https://bugs.dpdk.org/show_bug.cgi?id=556

            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
lib/librte_compressdev.a.p/librte_compressdev_rte_compressdev_pmd.c.o
[180/2308] Compiling C object lib/librte_acl.a.p/librte_acl_acl_run_sse.c.o
[181/2308] Compiling C object
lib/librte_pipeline.a.p/librte_pipeline_rte_swx_ctl.c.o
[182/2308] Compiling C object
lib/librte_pipeline.a.p/librte_pipeline_rte_swx_pipeline_spec.c.o
[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
lib/librte_compressdev.a.p/librte_compressdev_rte_comp.c.o
[186/2308] Compiling C object
lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o
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
-march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT
-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
../lib/librte_acl/acl_run_avx512.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
[-Werror=pointer-sign]
  _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
method".

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

                 reply	other threads:[~2020-10-15  8:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-556-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.