Meson build failure
https://bugs.dpdk.org/show_bug.cgi?id=355
Bug ID: 355
Summary: Meson build failure
Product: DPDK
Version: unspecified
Hardware: ARM
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: meson
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Meson build fails on master (19.11.0-rc0).
Architecture: aarch64
GCC 8.3.0
Ubuntu 18.04
Error:
In file included from ../drivers/net/bnx2x/bnx2x.h:22,
from ../drivers/net/bnx2x/bnx2x_ethdev.c:8:
../drivers/net/bnx2x/bnx2x_osal.h:27:17: error: conflicting types for
‘uint64_t’
#define __le64 uint64_t
^~~~~~~~
In file included from /usr/include/stdint.h:37,
from /usr/lib/gcc/aarch64-linux-gnu/8/include/stdint.h:9,
from
../lib/librte_eal/common/include/arch/arm/rte_byteorder.h:16,
from ../drivers/net/bnx2x/bnx2x.h:17,
from ../drivers/net/bnx2x/bnx2x_ethdev.c:8:
/usr/include/aarch64-linux-gnu/bits/stdint-uintn.h:27:20: note: previous
declaration of ‘uint64_t’ was here
typedef __uint64_t uint64_t;
^~~~~~~~
In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:33,
from ../drivers/net/bnx2x/bnx2x.h:23,
from ../drivers/net/bnx2x/bnx2x_ethdev.c:8:../lib/librte_ethdev/rte_ethdev_driver.h: In function ‘rte_eth_linkstatus_set’:../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument 1 of ‘rte_atomic64_exchange’ from incompatible pointer type [-Wincompatible-pointer-types]
orig.val64 = rte_atomic64_exchange(dev_link,
^~~~~~~~
In file included from
../lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_atomic.h:9,
from ../lib/librte_eal/common/include/generic/rte_io.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_io_64.h:16,
from ../lib/librte_eal/common/include/arch/arm/rte_io.h:13,
from ../drivers/net/bnx2x/bnx2x.h:20,
from ../drivers/net/bnx2x/bnx2x_ethdev.c:8:../lib/librte_eal/common/include/generic/rte_atomic.h:775:42: note: expected ‘volatile uint64_t *’ {aka ‘volatile long unsigned int *’} but argument is of type ‘volatile uint64_t *’ {aka ‘volatile long long unsigned int *’}
rte_atomic64_exchange(volatile uint64_t *dst, uint64_t val)
~~~~~~~~~~~~~~~~~~~^~~
[470/1672] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_vfpf.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_vfpf.c.o ccache cc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/arm -I../lib/librte_eal/common/include/arch/arm -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=armv8.1-a+crc+crypto -mcpu=thunderx2t99 -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_vfpf.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_vfpf.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_vfpf.c.o' -c ../drivers/net/bnx2x/bnx2x_vfpf.c
In file included from ../drivers/net/bnx2x/bnx2x.h:22,
from ../drivers/net/bnx2x/bnx2x_vfpf.c:8:
../drivers/net/bnx2x/bnx2x_osal.h:27:17: error: conflicting types for
‘uint64_t’
#define __le64 uint64_t
^~~~~~~~
In file included from /usr/include/stdint.h:37,
from /usr/lib/gcc/aarch64-linux-gnu/8/include/stdint.h:9,
from
../lib/librte_eal/common/include/arch/arm/rte_byteorder.h:16,
from ../drivers/net/bnx2x/bnx2x.h:17,
from ../drivers/net/bnx2x/bnx2x_vfpf.c:8:
/usr/include/aarch64-linux-gnu/bits/stdint-uintn.h:27:20: note: previous
declaration of ‘uint64_t’ was here
typedef __uint64_t uint64_t;
^~~~~~~~
In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:33,
from ../drivers/net/bnx2x/bnx2x.h:23,
from ../drivers/net/bnx2x/bnx2x_vfpf.c:8:../lib/librte_ethdev/rte_ethdev_driver.h: In function ‘rte_eth_linkstatus_set’:../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument 1 of ‘rte_atomic64_exchange’ from incompatible pointer type [-Wincompatible-pointer-types]
orig.val64 = rte_atomic64_exchange(dev_link,
^~~~~~~~
In file included from
../lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_atomic.h:9,
from ../lib/librte_eal/common/include/generic/rte_io.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_io_64.h:16,
from ../lib/librte_eal/common/include/arch/arm/rte_io.h:13,
from ../drivers/net/bnx2x/bnx2x.h:20,
from ../drivers/net/bnx2x/bnx2x_vfpf.c:8:../lib/librte_eal/common/include/generic/rte_atomic.h:775:42: note: expected ‘volatile uint64_t *’ {aka ‘volatile long unsigned int *’} but argument is of type ‘volatile uint64_t *’ {aka ‘volatile long long unsigned int *’}
rte_atomic64_exchange(volatile uint64_t *dst, uint64_t val)
~~~~~~~~~~~~~~~~~~~^~~
[472/1672] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_rxtx.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_rxtx.c.o ccache cc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/arm -I../lib/librte_eal/common/include/arch/arm -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=armv8.1-a+crc+crypto -mcpu=thunderx2t99 -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_rxtx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_rxtx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_rxtx.c.o' -c ../drivers/net/bnx2x/bnx2x_rxtx.c
In file included from ../drivers/net/bnx2x/bnx2x.h:22,
from ../drivers/net/bnx2x/bnx2x_rxtx.c:8:
../drivers/net/bnx2x/bnx2x_osal.h:27:17: error: conflicting types for
‘uint64_t’
#define __le64 uint64_t
^~~~~~~~
In file included from /usr/include/stdint.h:37,
from /usr/lib/gcc/aarch64-linux-gnu/8/include/stdint.h:9,
from
../lib/librte_eal/common/include/arch/arm/rte_byteorder.h:16,
from ../drivers/net/bnx2x/bnx2x.h:17,
from ../drivers/net/bnx2x/bnx2x_rxtx.c:8:
/usr/include/aarch64-linux-gnu/bits/stdint-uintn.h:27:20: note: previous
declaration of ‘uint64_t’ was here
typedef __uint64_t uint64_t;
^~~~~~~~
In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:33,
from ../drivers/net/bnx2x/bnx2x.h:23,
from ../drivers/net/bnx2x/bnx2x_rxtx.c:8:../lib/librte_ethdev/rte_ethdev_driver.h: In function ‘rte_eth_linkstatus_set’:../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument 1 of ‘rte_atomic64_exchange’ from incompatible pointer type [-Wincompatible-pointer-types]
orig.val64 = rte_atomic64_exchange(dev_link,
^~~~~~~~
In file included from
../lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_atomic.h:9,
from ../lib/librte_eal/common/include/generic/rte_io.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_io_64.h:16,
from ../lib/librte_eal/common/include/arch/arm/rte_io.h:13,
from ../drivers/net/bnx2x/bnx2x.h:20,
from ../drivers/net/bnx2x/bnx2x_rxtx.c:8:../lib/librte_eal/common/include/generic/rte_atomic.h:775:42: note: expected ‘volatile uint64_t *’ {aka ‘volatile long unsigned int *’} but argument is of type ‘volatile uint64_t *’ {aka ‘volatile long long unsigned int *’}
rte_atomic64_exchange(volatile uint64_t *dst, uint64_t val)
~~~~~~~~~~~~~~~~~~~^~~
[476/1672] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o ccache cc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/arm -I../lib/librte_eal/common/include/arch/arm -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=armv8.1-a+crc+crypto -mcpu=thunderx2t99 -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o' -c ../drivers/net/bnx2x/ecore_sp.c
In file included from ../drivers/net/bnx2x/bnx2x.h:22,
from ../drivers/net/bnx2x/ecore_sp.c:14:
../drivers/net/bnx2x/bnx2x_osal.h:27:17: error: conflicting types for
‘uint64_t’
#define __le64 uint64_t
^~~~~~~~
In file included from /usr/include/stdint.h:37,
from /usr/lib/gcc/aarch64-linux-gnu/8/include/stdint.h:9,
from
../lib/librte_eal/common/include/arch/arm/rte_byteorder.h:16,
from ../drivers/net/bnx2x/bnx2x.h:17,
from ../drivers/net/bnx2x/ecore_sp.c:14:
/usr/include/aarch64-linux-gnu/bits/stdint-uintn.h:27:20: note: previous
declaration of ‘uint64_t’ was here
typedef __uint64_t uint64_t;
^~~~~~~~
In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:33,
from ../drivers/net/bnx2x/bnx2x.h:23,
from ../drivers/net/bnx2x/ecore_sp.c:14:../lib/librte_ethdev/rte_ethdev_driver.h: In function ‘rte_eth_linkstatus_set’:../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument 1 of ‘rte_atomic64_exchange’ from incompatible pointer type [-Wincompatible-pointer-types]
orig.val64 = rte_atomic64_exchange(dev_link,
^~~~~~~~
In file included from
../lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_atomic.h:9,
from ../lib/librte_eal/common/include/generic/rte_io.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_io_64.h:16,
from ../lib/librte_eal/common/include/arch/arm/rte_io.h:13,
from ../drivers/net/bnx2x/bnx2x.h:20,
from ../drivers/net/bnx2x/ecore_sp.c:14:../lib/librte_eal/common/include/generic/rte_atomic.h:775:42: note: expected ‘volatile uint64_t *’ {aka ‘volatile long unsigned int *’} but argument is of type ‘volatile uint64_t *’ {aka ‘volatile long long unsigned int *’}
rte_atomic64_exchange(volatile uint64_t *dst, uint64_t val)
~~~~~~~~~~~~~~~~~~~^~~
[485/1672] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_stats.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_stats.c.o ccache cc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/arm -I../lib/librte_eal/common/include/arch/arm -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=armv8.1-a+crc+crypto -mcpu=thunderx2t99 -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_stats.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_stats.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_stats.c.o' -c ../drivers/net/bnx2x/bnx2x_stats.c
In file included from ../drivers/net/bnx2x/bnx2x.h:22,
from ../drivers/net/bnx2x/bnx2x_stats.c:14:
../drivers/net/bnx2x/bnx2x_osal.h:27:17: error: conflicting types for
‘uint64_t’
#define __le64 uint64_t
^~~~~~~~
In file included from /usr/include/stdint.h:37,
from /usr/lib/gcc/aarch64-linux-gnu/8/include/stdint.h:9,
from
../lib/librte_eal/common/include/arch/arm/rte_byteorder.h:16,
from ../drivers/net/bnx2x/bnx2x.h:17,
from ../drivers/net/bnx2x/bnx2x_stats.c:14:
/usr/include/aarch64-linux-gnu/bits/stdint-uintn.h:27:20: note: previous
declaration of ‘uint64_t’ was here
typedef __uint64_t uint64_t;
^~~~~~~~
In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:33,
from ../drivers/net/bnx2x/bnx2x.h:23,
from ../drivers/net/bnx2x/bnx2x_stats.c:14:../lib/librte_ethdev/rte_ethdev_driver.h: In function ‘rte_eth_linkstatus_set’:../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument 1 of ‘rte_atomic64_exchange’ from incompatible pointer type [-Wincompatible-pointer-types]
orig.val64 = rte_atomic64_exchange(dev_link,
^~~~~~~~
In file included from
../lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_atomic.h:9,
from ../lib/librte_eal/common/include/generic/rte_io.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_io_64.h:16,
from ../lib/librte_eal/common/include/arch/arm/rte_io.h:13,
from ../drivers/net/bnx2x/bnx2x.h:20,
from ../drivers/net/bnx2x/bnx2x_stats.c:14:../lib/librte_eal/common/include/generic/rte_atomic.h:775:42: note: expected ‘volatile uint64_t *’ {aka ‘volatile long unsigned int *’} but argument is of type ‘volatile uint64_t *’ {aka ‘volatile long long unsigned int *’}
rte_atomic64_exchange(volatile uint64_t *dst, uint64_t val)
~~~~~~~~~~~~~~~~~~~^~~
[502/1672] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o ccache cc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/arm -I../lib/librte_eal/common/include/arch/arm -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=armv8.1-a+crc+crypto -mcpu=thunderx2t99 -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -c ../drivers/net/bnx2x/bnx2x.c
In file included from ../drivers/net/bnx2x/bnx2x.h:22,
from ../drivers/net/bnx2x/bnx2x.c:16:
../drivers/net/bnx2x/bnx2x_osal.h:27:17: error: conflicting types for
‘uint64_t’
#define __le64 uint64_t
^~~~~~~~
In file included from /usr/include/stdint.h:37,
from /usr/lib/gcc/aarch64-linux-gnu/8/include/stdint.h:9,
from
../lib/librte_eal/common/include/arch/arm/rte_byteorder.h:16,
from ../drivers/net/bnx2x/bnx2x.h:17,
from ../drivers/net/bnx2x/bnx2x.c:16:
/usr/include/aarch64-linux-gnu/bits/stdint-uintn.h:27:20: note: previous
declaration of ‘uint64_t’ was here
typedef __uint64_t uint64_t;
^~~~~~~~
In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:33,
from ../drivers/net/bnx2x/bnx2x.h:23,
from ../drivers/net/bnx2x/bnx2x.c:16:../lib/librte_ethdev/rte_ethdev_driver.h: In function ‘rte_eth_linkstatus_set’:../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument 1 of ‘rte_atomic64_exchange’ from incompatible pointer type [-Wincompatible-pointer-types]
orig.val64 = rte_atomic64_exchange(dev_link,
^~~~~~~~
In file included from
../lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_atomic.h:9,
from ../lib/librte_eal/common/include/generic/rte_io.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_io_64.h:16,
from ../lib/librte_eal/common/include/arch/arm/rte_io.h:13,
from ../drivers/net/bnx2x/bnx2x.h:20,
from ../drivers/net/bnx2x/bnx2x.c:16:../lib/librte_eal/common/include/generic/rte_atomic.h:775:42: note: expected ‘volatile uint64_t *’ {aka ‘volatile long unsigned int *’} but argument is of type ‘volatile uint64_t *’ {aka ‘volatile long long unsigned int *’}
rte_atomic64_exchange(volatile uint64_t *dst, uint64_t val)
~~~~~~~~~~~~~~~~~~~^~~
../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_dma_alloc’:../drivers/net/bnx2x/bnx2x.c:172:38: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=]
snprintf(mz_name, sizeof(mz_name), "bnx2x%d_%s_%" PRIx64, SC_ABS_FUNC(sc),
msg,
^~~~~~~~~~~~~~
rte_get_timer_cycles());
~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/bus/pci/rte_bus_pci.h:25,
from ../drivers/net/bnx2x/bnx2x.h:19,
from ../drivers/net/bnx2x/bnx2x.c:16:
/usr/include/inttypes.h:121:34: note: format string is defined here
# define PRIx64 __PRI64_PREFIX "x"
../drivers/net/bnx2x/bnx2x.c:175:38: warning: format ‘%lx’ expects argument of
type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ {aka ‘long long
unsigned int’} [-Wformat=]
snprintf(mz_name, sizeof(mz_name), "bnx2x%d_%s_%" PRIx64, sc->pcie_device,
msg,
^~~~~~~~~~~~~~
rte_get_timer_cycles());
~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/bus/pci/rte_bus_pci.h:25,
from ../drivers/net/bnx2x/bnx2x.h:19,
from ../drivers/net/bnx2x/bnx2x.c:16:
/usr/include/inttypes.h:121:34: note: format string is defined here
# define PRIx64 __PRI64_PREFIX "x"
In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:40,
from ../drivers/net/bnx2x/bnx2x.h:23,
from ../drivers/net/bnx2x/bnx2x.c:16:
../drivers/net/bnx2x/bnx2x_logs.h:21:3: warning: format ‘%lx’ expects argument
of type ‘long unsigned int’, but argument 9 has type ‘rte_iova_t’ {aka ‘long
long unsigned int’} [-Wformat=]
"[%s:%d(%s)] " fmt, __func__, __LINE__, \
^~~~~~~~~~~~~~
../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro
‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args)
^~~~~~~~~~~~~~~
../drivers/net/bnx2x/bnx2x.c:190:2: note: in expansion of macro ‘PMD_DRV_LOG’
PMD_DRV_LOG(DEBUG, sc,
^~~~~~~~~~~
In file included from ../drivers/bus/pci/rte_bus_pci.h:25,
from ../drivers/net/bnx2x/bnx2x.h:19,
from ../drivers/net/bnx2x/bnx2x.c:16:
/usr/include/inttypes.h:121:34: note: format string is defined here
# define PRIx64 __PRI64_PREFIX "x"
In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:40,
from ../drivers/net/bnx2x/bnx2x.h:23,
from ../drivers/net/bnx2x/bnx2x.c:16:
../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_load_firmware’:
../drivers/net/bnx2x/bnx2x_logs.h:21:3: warning: format ‘%lu’ expects argument
of type ‘long unsigned int’, but argument 7 has type ‘uint64_t’ {aka ‘long long
unsigned int’} [-Wformat=]
"[%s:%d(%s)] " fmt, __func__, __LINE__, \
^~~~~~~~~~~~~~
../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro
‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args)
^~~~~~~~~~~~~~~
../drivers/net/bnx2x/bnx2x.c:9673:3: note: in expansion of macro ‘PMD_DRV_LOG’
PMD_DRV_LOG(NOTICE, sc,
^~~~~~~~~~~
In file included from ../drivers/bus/pci/rte_bus_pci.h:25,
from ../drivers/net/bnx2x/bnx2x.h:19,
from ../drivers/net/bnx2x/bnx2x.c:16:
/usr/include/inttypes.h:105:34: note: format string is defined here
# define PRIu64 __PRI64_PREFIX "u"
In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:40,
from ../drivers/net/bnx2x/bnx2x.h:23,
from ../drivers/net/bnx2x/bnx2x.c:16:
../drivers/net/bnx2x/bnx2x_logs.h:21:3: warning: format ‘%lu’ expects argument
of type ‘long unsigned int’, but argument 7 has type ‘uint64_t’ {aka ‘long long
unsigned int’} [-Wformat=]
"[%s:%d(%s)] " fmt, __func__, __LINE__, \
^~~~~~~~~~~~~~
../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro
‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args)
^~~~~~~~~~~~~~~
../drivers/net/bnx2x/bnx2x.c:9677:2: note: in expansion of macro ‘PMD_DRV_LOG’
PMD_DRV_LOG(DEBUG, sc, "fw_len = %" PRIu64, sc->fw_len);
^~~~~~~~~~~
In file included from ../drivers/bus/pci/rte_bus_pci.h:25,
from ../drivers/net/bnx2x/bnx2x.h:19,
from ../drivers/net/bnx2x/bnx2x.c:16:
/usr/include/inttypes.h:105:34: note: format string is defined here
# define PRIu64 __PRI64_PREFIX "u"
[503/1672] Compiling C object
'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_elink.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_elink.c.o
ccache cc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers
-Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev
-I../lib/librte_ethdev -I. -I../ -Iconfig -I../config
-Ilib/librte_eal/common/include -I../lib/librte_eal/common/include
-I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common
-I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/arm
-I../lib/librte_eal/common/include/arch/arm -Ilib/librte_eal
-I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h
-Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC
-march=armv8.1-a+crc+crypto -mcpu=thunderx2t99 -Wno-format-truncation
-DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ
'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_elink.c.o' -MF
'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_elink.c.o.d' -o
'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_elink.c.o' -c
../drivers/net/bnx2x/elink.c
In file included from ../drivers/net/bnx2x/bnx2x.h:22,
from ../drivers/net/bnx2x/elink.c:14:
../drivers/net/bnx2x/bnx2x_osal.h:27:17: error: conflicting types for
‘uint64_t’
#define __le64 uint64_t
^~~~~~~~
In file included from /usr/include/stdint.h:37,
from /usr/lib/gcc/aarch64-linux-gnu/8/include/stdint.h:9,
from
../lib/librte_eal/common/include/arch/arm/rte_byteorder.h:16,
from ../drivers/net/bnx2x/bnx2x.h:17,
from ../drivers/net/bnx2x/elink.c:14:
/usr/include/aarch64-linux-gnu/bits/stdint-uintn.h:27:20: note: previous
declaration of ‘uint64_t’ was here
typedef __uint64_t uint64_t;
^~~~~~~~
In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:33,
from ../drivers/net/bnx2x/bnx2x.h:23,
from ../drivers/net/bnx2x/elink.c:14:
../lib/librte_ethdev/rte_ethdev_driver.h: In function ‘rte_eth_linkstatus_set’:
../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument 1 of
‘rte_atomic64_exchange’ from incompatible pointer type
[-Wincompatible-pointer-types]
orig.val64 = rte_atomic64_exchange(dev_link,
^~~~~~~~
In file included from
../lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_atomic.h:9,
from ../lib/librte_eal/common/include/generic/rte_io.h:17,
from ../lib/librte_eal/common/include/arch/arm/rte_io_64.h:16,
from ../lib/librte_eal/common/include/arch/arm/rte_io.h:13,
from ../drivers/net/bnx2x/bnx2x.h:20,
from ../drivers/net/bnx2x/elink.c:14:
../lib/librte_eal/common/include/generic/rte_atomic.h:775:42: note: expected
‘volatile uint64_t *’ {aka ‘volatile long unsigned int *’} but argument is of
type ‘volatile uint64_t *’ {aka ‘volatile long long unsigned int *’}
rte_atomic64_exchange(volatile uint64_t *dst, uint64_t val)
~~~~~~~~~~~~~~~~~~~^~~
[522/1672] Compiling C object
'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_hwrm.c.o'.
ninja: build stopped: subcommand failed.Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
Quoted 24 lines · On Tue, Oct 22, 2019 at 06:45:30PM +0000, [email protected] wrote:
https://bugs.dpdk.org/show_bug.cgi?id=355
Bug ID: 355
Summary: Meson build failure
Product: DPDK
Version: unspecified
Hardware: ARM
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: meson
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---Meson build fails on master (19.11.0-rc0).
Architecture: aarch64
GCC 8.3.0
Ubuntu 18.04Error:
In file included from
../drivers/net/bnx2x/bnx2x.h:22,
Quoted 15 lines
from ../drivers/net/bnx2x/bnx2x_ethdev.c:8:
../drivers/net/bnx2x/bnx2x_osal.h:27:17: error: conflicting types for
‘uint64_t’
#define __le64 uint64_t
^~~~~~~~
In file included from /usr/include/stdint.h:37,
from /usr/lib/gcc/aarch64-linux-gnu/8/include/stdint.h:9,
from
../lib/librte_eal/common/include/arch/arm/rte_byteorder.h:16,
from ../drivers/net/bnx2x/bnx2x.h:17,
from ../drivers/net/bnx2x/bnx2x_ethdev.c:8:
/usr/include/aarch64-linux-gnu/bits/stdint-uintn.h:27:20: note: previous
declaration of ‘uint64_t’ was here
typedef __uint64_t uint64_t;
^~~~~~~~Not sure it's correct to classify this as a build system bug. The build system looks to be behaving correctly here, it's just the code has redefined one of the standard int types and the compiler is flagging the error. Suggest the component should be changed to the "bnx2x" driver rather than just blaming meson. :-)
/Bruce
[dpdk-dev] [Bug 355] Meson build failure due to libibverbs-dev upgrade (version=45mlnx1-1.45101)
In reply to [email protected]https://bugs.dpdk.org/show_bug.cgi?id=355
Dharmik Thakkar ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|CONFIRMED |RESOLVED--- Comment #14 from Dharmik Thakkar ([email protected]) --- I will move the ibverbs issue to a new ticket.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.