DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 717] Debug building failed due to librte_acl avx512 code
Date: Fri, 21 May 2021 10:24:23 +0000	[thread overview]
Message-ID: <bug-717-3@http.bugs.dpdk.org/> (raw)

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

            Bug ID: 717
           Summary: Debug building  failed due to librte_acl avx512 code
           Product: DPDK
           Version: 20.11
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: meson
          Assignee: dev@dpdk.org
          Reporter: liangma@liangbit.com
  Target Milestone: ---

Platform X86_64 Compiler Gcc 6.30  Distro. Debian 9

run command like 
meson setup build --buildtype=debug
then kick off ninja build. 

following is the failure log:

[171/2456] 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
cc -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 -g -include rte_config.h -Wextra
-Wcast-qual -Wdeprecated -Wformat -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 /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:45:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/x86intrin.h:48,
                 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:
../lib/librte_acl/acl_run_avx512_common.h: In function
‘resolve_match_idx_avx512x16’:
../lib/librte_acl/acl_run_avx512x16.h:33:18: error: the last argument must be
an 8-bit immediate
 #define _M_I_(x) _mm512_##x
                  ^
../lib/librte_acl/acl_run_avx512_common.h:373:9: note: in expansion of macro
‘_M_I_’
  return _M_I_(slli_epi32)(mi, match_log);
         ^~~~~
[180/2456] Generating ethdev.sym_chk with a custom command (wrapped by meson to
capture output)
ninja: build stopped: subcommand failed.

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

                 reply	other threads:[~2021-05-21 10:24 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-717-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).