Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/54675 _Compilation issues_ Submitter: Leyi Rong Date: 2019-06-11 15:51:33 Reply_mail: 20190611155221.2703-19-leyi.rong@intel.com DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: eea8137e718b3bdcca3723a700f4d6c7e8ccd9b6 Build Summary: 22 Builds Done, 17 Successful, 5 Failures Meson Summary: 8 Builds Done, 6 Successful, 2 Failures Test environment and configuration as below: **Make Build** OS: RHEL76-64 Kernel Version: 3.10.0-957.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc OS: UB1904-64 Kernel Version: 5.0.0-13-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0 Clang Version: 8.0.0-3 (tags/RELEASE_800/final) x86_64-native-linuxapp-gcc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) i686-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-47-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-clang OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: NA x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FD30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang **Meson Build** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: NA build-gcc-static build-gcc-shared build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: FD30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default *Build Failed Build #1: OS: UB1604-32 Target: i686-native-linuxapp-gcc CC rte_eth_vhost.o /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/drivers/net/ice/base/ice_flow.c: At top level: cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'ice_flow.o' failed make[6]: *** [ice_flow.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC rte_eth_softnic_mempool.o CC ifcvf_vdpa.o /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/drivers/net/ice/base/ice_flex_pipe.c: At top level: cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'ice_flex_pipe.o' failed make[6]: *** [ice_flex_pipe.o] Error 1 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.subdir.mk:35: recipe for target 'ice' failed make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ifcvf.o CC bnxt_ring.o -- INSTALL-LIB librte_pmd_virtio.a AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.a /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Build Failed Build #2: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc CC ice_rxtx.o CC i40e_fdir.o cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror] cc1: all warnings being treated as errors gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/internal/rte.compile-pre.mk:114: bnxt_ethdev.o] Error 1 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.subdir.mk:35: bnxt] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC igb_flow.o PMDINFO rte_eth_null.o.pmd.c -- LD ixgbe_ethdev.o AR librte_pmd_ixgbe.a INSTALL-LIB librte_pmd_ixgbe.a gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #3: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc+shared LD librte_pmd_lio.so.1.1 INSTALL-LIB librte_pmd_lio.so.1.1 cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror] cc1: all warnings being treated as errors CC failsafe_flow.o gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/internal/rte.compile-pre.mk:116: bnxt_ethdev.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... == Build drivers/net/pcap CC ice_ethdev.o CC rte_eth_null.o CC i40e_fdir.o gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.subdir.mk:37: bnxt] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC failsafe_intr.o LD librte_pmd_e1000.so.1.1 -- LD ixgbe_ethdev.o LD librte_pmd_ixgbe.so.2.1 INSTALL-LIB librte_pmd_ixgbe.so.2.1 gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #4: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc+debug CC igb_flow.o cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror] CC i40e_ethdev.o cc1: all warnings being treated as errors gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/internal/rte.compile-pre.mk:116: bnxt_ethdev.o] Error 1 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.subdir.mk:35: bnxt] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC ixgbe_82599.o CC lio_mbox.o -- LD ixgbe_ethdev.o AR librte_pmd_ixgbe.a INSTALL-LIB librte_pmd_ixgbe.a gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #5: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-clang ^ CC ixgbe_x550.o 1 error generated. gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/internal/rte.compile-pre.mk:114: bnxt_ethdev.o] Error 1 AR librte_pmd_ipn3ke.a gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.subdir.mk:37: bnxt] Error 2 gmake[5]: *** Waiting for unfinished jobs.... INSTALL-LIB librte_pmd_ipn3ke.a CC ice_dcb.o -- LD ixgbe_ethdev.o AR librte_pmd_ixgbe.a INSTALL-LIB librte_pmd_ixgbe.a gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0654ce948c784c65a1c05ed2164c217c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Failed Build #1: OS: UB1604-32 Target:build-gcc-static FAILED: drivers/net/ice/base/39545a2@@ice_base@sta/ice_flow.c.o gcc -Idrivers/net/ice/base/39545a2@@ice_base@sta -Idrivers/net/ice/base -I../drivers/net/ice/base -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/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -fPIC -march=native -D_GNU_SOURCE -Wno-unused-value -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-parameter -MD -MQ 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flow.c.o' -MF 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flow.c.o.d' -o 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flow.c.o' -c ../drivers/net/ice/base/ice_flow.c In file included from ../drivers/net/ice/base/ice_flow.c:6:0: ../drivers/net/ice/base/ice_flow.c: In function ‘ice_flow_rem_entry’: ../drivers/net/ice/base/ice_flow.h:240:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] #define ICE_FLOW_ENTRY_PTR(h) ((struct ice_flow_entry *)(h)) ^ ../drivers/net/ice/base/ice_flow.c:1444:10: note: in expansion of macro ‘ICE_FLOW_ENTRY_PTR’ entry = ICE_FLOW_ENTRY_PTR(entry_h); ^ cc1: all warnings being treated as errors [791/1549] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_switch.c.o'. [792/1549] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ifc@sta/net_ifc_ifcvf_vdpa.c.o'. [793/1549] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flex_pipe.c.o'. [794/1549] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_ethdev.c.o'. [795/1549] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_rxtx.c.o'. ninja: build stopped: subcommand failed *Meson Failed Build #2: OS: FreeBSD12-64 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ethdev.c.o ccache gcc -Idrivers/a715181@@tmp_rte_pmd_bnxt@sta -Idrivers -I../drivers -Idrivers/net/bnxt -I../drivers/net/bnxt -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/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -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_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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 -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -fPIC -march=native -Wno-format-truncation -D_GNU_SOURCE -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ethdev.c.o' -c ../drivers/net/bnxt/bnxt_ethdev.c ../drivers/net/bnxt/bnxt_ethdev.c:3549:0: error: "roundup" redefined [-Werror] #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) In file included from /usr/include/pthread_np.h:36:0, from ../lib/librte_eal/common/include/rte_lcore.h:29, from ../lib/librte_eal/common/include/generic/rte_spinlock.h:21, from ../lib/librte_eal/common/include/arch/x86/rte_spinlock.h:12, from ../lib/librte_mempool/rte_mempool.h:44, from ../lib/librte_mbuf/rte_mbuf.h:38, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:160, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/bnxt/bnxt_ethdev.c:10: /usr/include/sys/param.h:300:0: note: this is the location of the previous definition #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ cc1: all warnings being treated as errors [248/1276] Generating stack_def with a custom command. [249/1276] Linking static target lib/librte_stack.a. [250/1276] Compiling C object 'lib/76b5a35@@rte_ipsec@sta/librte_ipsec_esp_inb.c.o'. [251/1276] Generating symbol file 'lib/76b5a35@@rte_mempool@sha/librte_mempool.so.5.1.symbols'. [252/1276] Generating symbol file 'lib/76b5a35@@rte_rawdev@sha/librte_rawdev.so.1.1.symbols'. ninja: build stopped: subcommand failed DPDK STV team