Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit e28111ac9864af09e826241a915dfff87a9c00ad Author: Viacheslav Ovsiienko Date: Thu Jun 6 12:23:01 2019 +0000 net/mlx5: fix master device Netlink socket sharing Git Repo :dpdk-master Build Summary: 22 Builds Done, 18 Successful, 4 Failures Meson Summary: 8 Builds Done, 7 Successful, 1 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.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) x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-gcc 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.1.7-300.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.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) 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: FreeBSD12-64 Target: x86_64-native-bsdapp-clang awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h Warning: Object directory not changed from original /tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-clang/build/kernel/freebsd/contigmem cc -Winline -Wall -Werror -include /tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-clang/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/kernel/freebsd/contigmem -I/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-clang/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.contigmem.o -MTcontigmem.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c contigmem.c -o contigmem.o Warning: Object directory not changed from original /tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-clang/build/kernel/freebsd/nic_uio cc -Winline -Wall -Werror -include /tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-clang/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/kernel/freebsd/nic_uio -I/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-clang/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.nic_uio.o -MTnic_uio.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c nic_uio.c -o nic_uio.o AR librte_common_octeontx.a INSTALL-LIB librte_common_octeontx.a == Build drivers/bus == Build drivers/bus/ifpga ld -m elf_x86_64_fbsd -L/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-clang/lib -d -warn-common --build-id=sha1 -r -d -o contigmem.ko contigmem.o -- CC bnxt_ethdev.o PMDINFO lio_ethdev.o.pmd.c CC lio_ethdev.o.pmd.o LD lio_ethdev.o CC lio_rxtx.o /tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/drivers/net/bnxt/bnxt_ethdev.c:3548:9: error: 'roundup' macro redefined [-Werror,-Wmacro-redefined] #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) ^ /usr/include/sys/param.h:300:9: note: previous definition is here #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ ^ 1 error generated. gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/internal/rte.compile-pre.mk:116: bnxt_ethdev.o] Error 1 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.subdir.mk:37: bnxt] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC ixgbe_phy.o CC ixgbe_api.o CC ixgbe_vf.o CC lio_23xx_vf.o -- CC rte_pmd_ixgbe.o CC ixgbe_tm.o CC ixgbe_vf_representor.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/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #2: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc+shared awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h Warning: Object directory not changed from original /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/build/kernel/freebsd/contigmem cc -Winline -Wall -Werror -include /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/kernel/freebsd/contigmem -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.contigmem.o -MTcontigmem.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c contigmem.c -o contigmem.o Warning: Object directory not changed from original /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/build/kernel/freebsd/nic_uio cc -Winline -Wall -Werror -include /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/kernel/freebsd/nic_uio -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.nic_uio.o -MTnic_uio.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c nic_uio.c -o nic_uio.o CC cpt_pmd_ops_helper.o ld -m elf_x86_64_fbsd -L/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/lib -d -warn-common --build-id=sha1 -r -d -o contigmem.ko contigmem.o ld -m elf_x86_64_fbsd -L/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/lib -d -warn-common --build-id=sha1 -r -d -o nic_uio.ko nic_uio.o :> export_syms :> export_syms -- LD librte_pmd_lio.so.1.1 INSTALL-LIB librte_pmd_lio.so.1.1 CC bnxt_filter.o CC ixgbe_hv_vf.o CC ixgbe_dcb.o /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/drivers/net/bnxt/bnxt_ethdev.c:3548: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 /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/rte_lcore.h:29, from /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/generic/rte_spinlock.h:21, -- == Build drivers/net/null CC ixgbe_dcb_82598.o CC rte_eth_null.o CC ixgbe_mbx.o CC ixgbe_rxtx.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+shared/4c3ea6c6edab43a29465c20a2d29e30f/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+shared/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.subdir.mk:37: bnxt] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC ixgbe_ethdev.o PMDINFO rte_eth_null.o.pmd.c CC rte_eth_null.o.pmd.o LD rte_eth_null.o -- CC rte_pmd_ixgbe.o CC ixgbe_tm.o CC ixgbe_vf_representor.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/4c3ea6c6edab43a29465c20a2d29e30f/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/4c3ea6c6edab43a29465c20a2d29e30f/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/4c3ea6c6edab43a29465c20a2d29e30f/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/4c3ea6c6edab43a29465c20a2d29e30f/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/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #3: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc+debug awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h Warning: Object directory not changed from original /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/build/kernel/freebsd/contigmem cc -Winline -Wall -Werror -include /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/kernel/freebsd/contigmem -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.contigmem.o -MTcontigmem.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c contigmem.c -o contigmem.o Warning: Object directory not changed from original /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/build/kernel/freebsd/nic_uio cc -Winline -Wall -Werror -include /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/kernel/freebsd/nic_uio -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.nic_uio.o -MTnic_uio.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c nic_uio.c -o nic_uio.o CC octeontx_mbox.o AR librte_common_octeontx.a INSTALL-LIB librte_common_octeontx.a == Build drivers/bus ld -m elf_x86_64_fbsd -L/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/lib -d -warn-common --build-id=sha1 -r -d -o contigmem.ko contigmem.o -- CC bnxt_cpr.o CC ixgbe_x540.o CC bnxt_ethdev.o CC lio_mbox.o CC ixgbe_x550.o /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/drivers/net/bnxt/bnxt_ethdev.c:3548: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 /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/rte_lcore.h:29, from /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/generic/rte_spinlock.h:21, -- AR librte_pmd_lio.a INSTALL-LIB librte_pmd_lio.a CC ixgbe_phy.o CC bnxt_filter.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+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/internal/rte.compile-pre.mk:116: bnxt_ethdev.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... CC ixgbe_api.o CC ixgbe_vf.o CC ixgbe_hv_vf.o gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.subdir.mk:35: bnxt] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC ixgbe_dcb.o CC ixgbe_dcb_82599.o CC ixgbe_dcb_82598.o CC ixgbe_mbx.o -- CC rte_pmd_ixgbe.o CC ixgbe_tm.o CC ixgbe_vf_representor.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/4c3ea6c6edab43a29465c20a2d29e30f/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/4c3ea6c6edab43a29465c20a2d29e30f/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/4c3ea6c6edab43a29465c20a2d29e30f/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/4c3ea6c6edab43a29465c20a2d29e30f/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/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #4: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h Warning: Object directory not changed from original /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/build/kernel/freebsd/contigmem cc -Winline -Wall -Werror -include /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/kernel/freebsd/contigmem -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.contigmem.o -MTcontigmem.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c contigmem.c -o contigmem.o Warning: Object directory not changed from original /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/build/kernel/freebsd/nic_uio cc -Winline -Wall -Werror -include /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/kernel/freebsd/nic_uio -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.nic_uio.o -MTnic_uio.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c nic_uio.c -o nic_uio.o CC cpt_pmd_ops_helper.o ld -m elf_x86_64_fbsd -L/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/lib -d -warn-common --build-id=sha1 -r -d -o nic_uio.ko nic_uio.o ld -m elf_x86_64_fbsd -L/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/lib -d -warn-common --build-id=sha1 -r -d -o contigmem.ko contigmem.o :> export_syms :> export_syms -- == Build drivers/net/octeontx CC rte_eth_null.o CC bnxt_ethdev.o CC octeontx_rxtx.o CC octeontx_pkovf.o /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/drivers/net/bnxt/bnxt_ethdev.c:3548: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 /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/rte_lcore.h:29, from /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/x86_64-native-bsdapp-gcc/include/generic/rte_spinlock.h:21, -- CC octeontx_ethdev.o.pmd.o LD octeontx_ethdev.o AR librte_pmd_octeontx.a INSTALL-LIB librte_pmd_octeontx.a == Build drivers/net/pcap 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/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/internal/rte.compile-pre.mk:116: bnxt_ethdev.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... == Build drivers/net/qede CC rte_eth_pcap.o gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.subdir.mk:37: bnxt] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC ecore_dev.o CC ecore_hw.o CC ecore_cxt.o PMDINFO rte_eth_pcap.o.pmd.c -- LD qede_ethdev.o CC qede_rxtx.o CC qede_filter.o AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.a gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/4c3ea6c6edab43a29465c20a2d29e30f/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Failed Build #1: 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:3548: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 [131/1276] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_flow.c.o'. [132/1276] Generating symbol file 'lib/76b5a35@@rte_mbuf@sha/librte_mbuf.so.5.1.symbols'. [133/1276] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ring.c.o'. [134/1276] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_rxq.c.o'. [135/1276] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_hwrm.c.o'. ninja: build stopped: subcommand failed DPDK STV team