Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/50417 _Compilation issues_ Submitter: Shahaf Shuler Date: 2019-02-21 14:50:44 Reply_mail: 5d21b1fa3298560798d568a38319d8ca1777a766.1550760028.git.shahafs@mellanox.com DPDK git baseline: Repo:dpdk-master, CommitID: b13baac8d5ffb6b0b7a6ca0def884d3f1a82babb Build Summary: 16 Builds Done, 14 Successful, 2 Failures Test environment and configuration as below: OS: UB1604 Kernel Version: 4.4.0-78-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-gcc x86_64-native-linuxapp-clang i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared OS: CENTOS Kernel Version: 3.10.0-957.1.3.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 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-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc i686-native-linuxapp-gcc OS: UBT1804 Kernel Version: 4.15.0-29-generic CPU info: Intel(R) Xeon(R) Platinum 8180M CPU @ 2.50GHz 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-gcc OS: FC25 Kernel Version: 4.5.5-300.fc24.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 6.1.1 20160510 (Red Hat 6.1.1-2) Clang Version: 3.8.0 (tags/RELEASE_380/final) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-debug OS: FC24 Kernel Version: 4.11.12-100.fc24.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1) Clang Version: 3.8.1 (tags/RELEASE_381/final) x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang i686-native-linuxapp-gcc OS: FreeBSD Kernel Version: 10.3-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.75-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc *Failed Build #1: OS: FreeBSD Target: x86_64-native-bsdapp-clang awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h x86 -> /usr/src/sys/x86/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h HOSTLD dpdk-pmdinfogen awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h cc -Winline -Wall -Werror -include /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-clang/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/kernel/freebsd/contigmem -I/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-clang/include -I. -I@ -I@/contrib/altq -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -c contigmem.c -o contigmem.o awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h INSTALL-HOSTAPP dpdk-pmdinfogen cc -Winline -Wall -Werror -include /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-clang/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/kernel/freebsd/nic_uio -I/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-clang/include -I. -I@ -I@/contrib/altq -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -c nic_uio.c -o nic_uio.o == Build drivers ld -L/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-clang/lib -d -warn-common -r -d -o contigmem.ko contigmem.o :> export_syms == Build drivers/common awk -f /sys/conf/kmod_syms.awk contigmem.ko export_syms | xargs -J% objcopy % contigmem.ko -- CC pci_params.o CC pci_common.o AR librte_bus_vdev.a INSTALL-LIB librte_bus_vdev.a CC pci_common_uio.o /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/drivers/bus/pci/pci_common.c:548:6: error: use of undeclared identifier 'RTE_VFIO_DEFAULT_CONTAINER_FD' (RTE_VFIO_DEFAULT_CONTAINER_FD, (uintptr_t)addr, ^ /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/drivers/bus/pci/pci_common.c:571:6: error: use of undeclared identifier 'RTE_VFIO_DEFAULT_CONTAINER_FD' (RTE_VFIO_DEFAULT_CONTAINER_FD, (uintptr_t)addr, ^ 2 errors generated. gmake[6]: *** [/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/mk/internal/rte.compile-pre.mk:114: pci_common.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... gmake[5]: *** [/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/mk/rte.subdir.mk:35: pci] Error 2 gmake[4]: *** [/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/mk/rte.subdir.mk:37: bus] Error 2 gmake[3]: *** [/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-clang/8d304620194b487d869f3f67351236fb/dpdk/mk/rte.sdkbuild.mk:49: drivers] Error 2 *Failed Build #2: OS: FreeBSD Target: x86_64-native-bsdapp-gcc machine -> /usr/src/sys/amd64/include awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h x86 -> /usr/src/sys/x86/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h cc -Winline -Wall -Werror -include /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-gcc/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/kernel/freebsd/nic_uio -I/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-gcc/include -I. -I@ -I@/contrib/altq -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -c nic_uio.c -o nic_uio.o cc -Winline -Wall -Werror -include /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-gcc/include/rte_config.h -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/kernel/freebsd/contigmem -I/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-gcc/include -I. -I@ -I@/contrib/altq -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -c contigmem.c -o contigmem.o ld -L/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-gcc/lib -d -warn-common -r -d -o contigmem.ko contigmem.o :> export_syms awk -f /sys/conf/kmod_syms.awk contigmem.ko export_syms | xargs -J% objcopy % contigmem.ko ld -L/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/x86_64-native-bsdapp-gcc/lib -d -warn-common -r -d -o nic_uio.ko nic_uio.o :> export_syms -- CC pci_common.o CC pci_common_uio.o AR librte_bus_ifpga.a INSTALL-LIB librte_bus_ifpga.a /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/drivers/bus/pci/pci_common.c: In function 'pci_dma_map': /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/drivers/bus/pci/pci_common.c:548:6: error: 'RTE_VFIO_DEFAULT_CONTAINER_FD' undeclared (first use in this function); did you mean 'RTE_MAX_VFIO_CONTAINERS'? (RTE_VFIO_DEFAULT_CONTAINER_FD, (uintptr_t)addr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_MAX_VFIO_CONTAINERS /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/drivers/bus/pci/pci_common.c:548:6: note: each undeclared identifier is reported only once for each function it appears in /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/drivers/bus/pci/pci_common.c: In function 'pci_dma_unmap': /tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/drivers/bus/pci/pci_common.c:571:6: error: 'RTE_VFIO_DEFAULT_CONTAINER_FD' undeclared (first use in this function); did you mean 'RTE_MAX_VFIO_CONTAINERS'? (RTE_VFIO_DEFAULT_CONTAINER_FD, (uintptr_t)addr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_MAX_VFIO_CONTAINERS gmake[6]: *** [/tmp/FreeBSD_K10.3_GCC4.8.5/x86_64-native-bsdapp-gcc/8d304620194b487d869f3f67351236fb/dpdk/mk/internal/rte.compile-pre.mk:116: pci_common.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... DPDK STV team