DPDK patches and discussions
 help / color / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 355] Meson build failure
Date: Tue, 22 Oct 2019 18:45:30 +0000
Message-ID: <bug-355-3@http.bugs.dpdk.org/> (raw)

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: dev@dpdk.org
          Reporter: dharmik.thakkar@arm.com
  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.

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

             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-22 18:45 bugzilla [this message]
2019-10-23 10:15 ` Bruce Richardson
2019-12-02 17:14 ` [dpdk-dev] [Bug 355] Meson build failure due to libibverbs-dev upgrade (version=45mlnx1-1.45101) bugzilla

Reply instructions:

You may reply publically 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-355-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

DPDK patches and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox