From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 1E070A0A02;
	Fri, 21 May 2021 12:24:25 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 87E8240143;
	Fri, 21 May 2021 12:24:24 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id 6B82E40041
 for <dev@dpdk.org>; Fri, 21 May 2021 12:24:23 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id 2C0C6A0A0A; Fri, 21 May 2021 12:24:23 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Date: Fri, 21 May 2021 10:24:23 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: meson
X-Bugzilla-Version: 20.11
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: critical
X-Bugzilla-Who: liangma@liangbit.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 target_milestone
Message-ID: <bug-717-3@http.bugs.dpdk.org/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
Subject: [dpdk-dev] [Bug 717] Debug building failed due to librte_acl avx512
 code
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

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

            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=20
meson setup build --buildtype=3Ddebug
then kick off ninja build.=20

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/incl=
ude
-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=3Dalways -pipe
-D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -g -include rte_config.h -Wext=
ra
-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=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUP=
PORT
-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:4=
5:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/x86intrin.h:4=
8,
                 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
=E2=80=98resolve_match_idx_avx512x16=E2=80=99:
../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
=E2=80=98_M_I_=E2=80=99
  return _M_I_(slli_epi32)(mi, match_log);
         ^~~~~
[180/2456] Generating ethdev.sym_chk with a custom command (wrapped by meso=
n to
capture output)
ninja: build stopped: subcommand failed.

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