From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3675CA328D for ; Tue, 22 Oct 2019 20:45:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DC9231BF2E; Tue, 22 Oct 2019 20:45:34 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 1726A1BF09 for ; Tue, 22 Oct 2019 20:45:33 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id E9BBFA3290; Tue, 22 Oct 2019 20:45:32 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 22 Oct 2019 18:45:30 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: dharmik.thakkar@arm.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 355] Meson build failure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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=3D355 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 =E2=80=98uint64_t=E2=80=99 #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 =E2=80=98uint64_t=E2=80=99 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 =E2=80=98rte_eth_link= status_set=E2=80=99: ../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument = 1 of =E2=80=98rte_atomic64_exchange=E2=80=99 from incompatible pointer type [-Wincompatible-pointer-types] orig.val64 =3D 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 =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long unsigned = int *=E2=80=99} but argument is of type =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long long= unsigned int *=E2=80=99} 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=20 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_mem= pool -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=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=3Darmv8.1-a+crc+crypto -mcpu=3Dthunderx2t99 -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 =E2=80=98uint64_t=E2=80=99 #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 =E2=80=98uint64_t=E2=80=99 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 =E2=80=98rte_eth_link= status_set=E2=80=99: ../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument = 1 of =E2=80=98rte_atomic64_exchange=E2=80=99 from incompatible pointer type [-Wincompatible-pointer-types] orig.val64 =3D 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 =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long unsigned = int *=E2=80=99} but argument is of type =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long long= unsigned int *=E2=80=99} 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=20 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_mem= pool -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=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=3Darmv8.1-a+crc+crypto -mcpu=3Dthunderx2t99 -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 =E2=80=98uint64_t=E2=80=99 #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 =E2=80=98uint64_t=E2=80=99 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 =E2=80=98rte_eth_link= status_set=E2=80=99: ../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument = 1 of =E2=80=98rte_atomic64_exchange=E2=80=99 from incompatible pointer type [-Wincompatible-pointer-types] orig.val64 =3D 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 =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long unsigned = int *=E2=80=99} but argument is of type =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long long= unsigned int *=E2=80=99} 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=20 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_mem= pool -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=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=3Darmv8.1-a+crc+crypto -mcpu=3Dthunderx2t99 -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 =E2=80=98uint64_t=E2=80=99 #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 =E2=80=98uint64_t=E2=80=99 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 =E2=80=98rte_eth_link= status_set=E2=80=99: ../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument = 1 of =E2=80=98rte_atomic64_exchange=E2=80=99 from incompatible pointer type [-Wincompatible-pointer-types] orig.val64 =3D 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 =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long unsigned = int *=E2=80=99} but argument is of type =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long long= unsigned int *=E2=80=99} 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=20 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_mem= pool -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=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=3Darmv8.1-a+crc+crypto -mcpu=3Dthunderx2t99 -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 =E2=80=98uint64_t=E2=80=99 #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 =E2=80=98uint64_t=E2=80=99 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 =E2=80=98rte_eth_link= status_set=E2=80=99: ../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument = 1 of =E2=80=98rte_atomic64_exchange=E2=80=99 from incompatible pointer type [-Wincompatible-pointer-types] orig.val64 =3D 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 =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long unsigned = int *=E2=80=99} but argument is of type =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long long= unsigned int *=E2=80=99} 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=20 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_mem= pool -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=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=3Darmv8.1-a+crc+crypto -mcpu=3Dthunderx2t99 -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 =E2=80=98uint64_t=E2=80=99 #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 =E2=80=98uint64_t=E2=80=99 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 =E2=80=98rte_eth_link= status_set=E2=80=99: ../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument = 1 of =E2=80=98rte_atomic64_exchange=E2=80=99 from incompatible pointer type [-Wincompatible-pointer-types] orig.val64 =3D 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 =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long unsigned = int *=E2=80=99} but argument is of type =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long long= unsigned int *=E2=80=99} rte_atomic64_exchange(volatile uint64_t *dst, uint64_t val) ~~~~~~~~~~~~~~~~~~~^~~ ../drivers/net/bnx2x/bnx2x.c: In function =E2=80=98bnx2x_dma_alloc=E2=80=99: ../drivers/net/bnx2x/bnx2x.c:172:38: warning: format =E2=80=98%lx=E2=80=99 = expects argument of type =E2=80=98long unsigned int=E2=80=99, but argument 6 has type =E2=80=98= uint64_t=E2=80=99 {aka =E2=80=98long long unsigned int=E2=80=99} [-Wformat=3D] snprintf(mz_name, sizeof(mz_name), "bnx2x%d_%s_%" PRIx64, SC_ABS_FUNC(sc= ), msg, ^~~~~~~~~~~~~~ rte_get_timer_cycles()); ~~~~~~~~~~~~~~~~~~~~~~=20=20=20=20=20=20=20=20=20=20=20=20=20 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 =E2=80=98%lx=E2=80=99 = expects argument of type =E2=80=98long unsigned int=E2=80=99, but argument 6 has type =E2=80=98= uint64_t=E2=80=99 {aka =E2=80=98long long unsigned int=E2=80=99} [-Wformat=3D] snprintf(mz_name, sizeof(mz_name), "bnx2x%d_%s_%" PRIx64, sc->pcie_devic= e, msg, ^~~~~~~~~~~~~~ rte_get_timer_cycles()); ~~~~~~~~~~~~~~~~~~~~~~=20=20=20=20=20=20=20=20=20=20=20=20=20 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 =E2=80=98%lx=E2=80= =99 expects argument of type =E2=80=98long unsigned int=E2=80=99, but argument 9 has type =E2=80= =98rte_iova_t=E2=80=99 {aka =E2=80=98long long unsigned int=E2=80=99} [-Wformat=3D] "[%s:%d(%s)] " fmt, __func__, __LINE__, \ ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro =E2=80=98PMD_DRV_LOG_RAW=E2=80=99 PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:190:2: note: in expansion of macro =E2=80=98PM= D_DRV_LOG=E2=80=99 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 =E2=80=98bnx2x_load_firmware=E2= =80=99: ../drivers/net/bnx2x/bnx2x_logs.h:21:3: warning: format =E2=80=98%lu=E2=80= =99 expects argument of type =E2=80=98long unsigned int=E2=80=99, but argument 7 has type =E2=80= =98uint64_t=E2=80=99 {aka =E2=80=98long long unsigned int=E2=80=99} [-Wformat=3D] "[%s:%d(%s)] " fmt, __func__, __LINE__, \ ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro =E2=80=98PMD_DRV_LOG_RAW=E2=80=99 PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:9673:3: note: in expansion of macro =E2=80=98P= MD_DRV_LOG=E2=80=99 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 =E2=80=98%lu=E2=80= =99 expects argument of type =E2=80=98long unsigned int=E2=80=99, but argument 7 has type =E2=80= =98uint64_t=E2=80=99 {aka =E2=80=98long long unsigned int=E2=80=99} [-Wformat=3D] "[%s:%d(%s)] " fmt, __func__, __LINE__, \ ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro =E2=80=98PMD_DRV_LOG_RAW=E2=80=99 PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:9677:2: note: in expansion of macro =E2=80=98P= MD_DRV_LOG=E2=80=99 PMD_DRV_LOG(DEBUG, sc, "fw_len =3D %" 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=20 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_mem= pool -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=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=3Darmv8.1-a+crc+crypto -mcpu=3Dthunderx2t99 -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 =E2=80=98uint64_t=E2=80=99 #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 =E2=80=98uint64_t=E2=80=99 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 =E2=80=98rte_eth_link= status_set=E2=80=99: ../lib/librte_ethdev/rte_ethdev_driver.h:176:37: warning: passing argument = 1 of =E2=80=98rte_atomic64_exchange=E2=80=99 from incompatible pointer type [-Wincompatible-pointer-types] orig.val64 =3D 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 =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long unsigned = int *=E2=80=99} but argument is of type =E2=80=98volatile uint64_t *=E2=80=99 {aka =E2=80=98volatile long long= unsigned int *=E2=80=99} 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. --=20 You are receiving this mail because: You are the assignee for the bug.=