From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3A4A3A0A05; Wed, 20 Jan 2021 16:41:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE1BB140DE2; Wed, 20 Jan 2021 16:41:26 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 6E90E140DB4 for ; Wed, 20 Jan 2021 16:41:24 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 56019A0A06; Wed, 20 Jan 2021 16:41:24 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 20 Jan 2021 15:41:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: vhost/virtio X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: subhim@nvidia.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: 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 621] [aarch64] build failure in vhost/virtio X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D621 Bug ID: 621 Summary: [aarch64] build failure in vhost/virtio Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: vhost/virtio Assignee: dev@dpdk.org Reporter: subhim@nvidia.com Target Milestone: --- $ meson build -Ddisable_drivers=3D'event/octeontx2' && ninja -C build ``` ninja: Entering directory `build' [1787/2495] Compiling C object 'drivers/drivers@@tmp_rte_net_virtio@sta/net_virtio_virtio_rxtx_packed.c.o'. FAILED: drivers/drivers@@tmp_rte_net_virtio@sta/net_virtio_virtio_rxtx_packed.c.o=20 cc -Idrivers/drivers@@tmp_rte_net_virtio@sta -Idrivers -I../drivers -Idrivers/net/virtio -I../drivers/net/virtio -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/incl= ude -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/arm/include -I../lib/librte_eal/arm/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_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus= /pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -pipe -D_FILE_OFFSET_BITS=3D64 -Wa= ll -Winvalid-pch -O3 -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ 'drivers/drivers@@tmp_rte_net_virtio@sta/net_virtio_virtio_rxtx_packed.c.o'= -MF 'drivers/drivers@@tmp_rte_net_virtio@sta/net_virtio_virtio_rxtx_packed.c.o.= d' -o 'drivers/drivers@@tmp_rte_net_virtio@sta/net_virtio_virtio_rxtx_packed.c= .o' -c ../drivers/net/virtio/virtio_rxtx_packed.c In file included from ../drivers/net/virtio/virtio_rxtx_packed.c:22:0: ../drivers/net/virtio/virtio_rxtx_packed_neon.h: In function =E2=80=98virtqueue_enqueue_batch_packed_vec=E2=80=99: ../drivers/net/virtio/virtio_rxtx_packed_neon.h:74:2: warning: implicit declaration of function =E2=80=98vreinterpretq_p128_u32=E2=80=99 [-Wimplicit-function-declaration] poly128_t cmp1 =3D vreinterpretq_p128_u32(~vceqq_u32(ref_seg, def_ref_seg= )); ^ ../drivers/net/virtio/virtio_rxtx_packed_neon.h:74:2: warning: nested extern declaration of =E2=80=98vreinterpretq_p128_u32=E2=80=99 [-Wnested-externs] ../drivers/net/virtio/virtio_rxtx_packed_neon.h:74:19: error: incompatible types when initializing type =E2=80=98poly128_t=E2=80=99 using type =E2=80= =98int=E2=80=99 poly128_t cmp1 =3D vreinterpretq_p128_u32(~vceqq_u32(ref_seg, def_ref_seg= )); ^ In file included from ../lib/librte_eal/arm/include/rte_atomic_64.h:18:0, from ../lib/librte_eal/arm/include/rte_atomic.h:9, from ../lib/librte_eal/include/generic/rte_pause.h:19, from ../lib/librte_eal/arm/include/rte_pause_64.h:19, from ../lib/librte_eal/arm/include/rte_pause.h:13, from ../lib/librte_eal/include/generic/rte_spinlock.h:25, from ../lib/librte_eal/arm/include/rte_spinlock.h:17, from ../lib/librte_mempool/rte_mempool.h:44, from ../lib/librte_mbuf/rte_mbuf.h:38, from ../lib/librte_net/rte_ip.h:24, from ../lib/librte_net/rte_net.h:12, from ../drivers/net/virtio/virtio_rxtx_packed.c:11: ../lib/librte_eal/include/rte_branch_prediction.h:38:39: error: wrong type argument to unary exclamation mark #define unlikely(x) __builtin_expect(!!(x), 0) ^ ../drivers/net/virtio/virtio_rxtx_packed_neon.h:75:6: note: in expansion of macro =E2=80=98unlikely=E2=80=99 if (unlikely(cmp1)) ^ In file included from ../drivers/net/virtio/virtio_rxtx_packed.c:22:0: ../drivers/net/virtio/virtio_rxtx_packed_neon.h: In function =E2=80=98virtqueue_dequeue_batch_packed_vec=E2=80=99: ../drivers/net/virtio/virtio_rxtx_packed_neon.h:228:25: error: incompatible types when initializing type =E2=80=98poly128_t=E2=80=99 using type =E2=80= =98int=E2=80=99 poly128_t desc_stats =3D vreinterpretq_p128_u32(~vceqq_u32(v_flag, v_used_flag)); ^ ../drivers/net/virtio/virtio_rxtx_packed_neon.h:231:6: error: used vector t= ype where scalar is required if (desc_stats) ^ ../drivers/net/virtio/virtio_rxtx_packed_neon.h:228:12: warning: variable =E2=80=98desc_stats=E2=80=99 set but not used [-Wunused-but-set-variable] poly128_t desc_stats =3D vreinterpretq_p128_u32(~vceqq_u32(v_flag, v_used_flag)); ``` OS:=20 gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) --=20 You are receiving this mail because: You are the assignee for the bug.=