https://bugs.dpdk.org/show_bug.cgi?id=621
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: sub...@nvidia.com Target Milestone: --- $ meson build -Ddisable_drivers='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 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/include -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=64 -Wall -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 ‘virtqueue_enqueue_batch_packed_vec’: ../drivers/net/virtio/virtio_rxtx_packed_neon.h:74:2: warning: implicit declaration of function ‘vreinterpretq_p128_u32’ [-Wimplicit-function-declaration] poly128_t cmp1 = 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 ‘vreinterpretq_p128_u32’ [-Wnested-externs] ../drivers/net/virtio/virtio_rxtx_packed_neon.h:74:19: error: incompatible types when initializing type ‘poly128_t’ using type ‘int’ poly128_t cmp1 = 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 ‘unlikely’ 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 ‘virtqueue_dequeue_batch_packed_vec’: ../drivers/net/virtio/virtio_rxtx_packed_neon.h:228:25: error: incompatible types when initializing type ‘poly128_t’ using type ‘int’ poly128_t desc_stats = vreinterpretq_p128_u32(~vceqq_u32(v_flag, v_used_flag)); ^ ../drivers/net/virtio/virtio_rxtx_packed_neon.h:231:6: error: used vector type where scalar is required if (desc_stats) ^ ../drivers/net/virtio/virtio_rxtx_packed_neon.h:228:12: warning: variable ‘desc_stats’ set but not used [-Wunused-but-set-variable] poly128_t desc_stats = vreinterpretq_p128_u32(~vceqq_u32(v_flag, v_used_flag)); ``` OS: gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) -- You are receiving this mail because: You are the assignee for the bug.