* [dpdk-test-report] |FAILURE| pw54779[v2, 10/10] dpaa2: mark internal functions with __rte_internal
@ 2019-06-14 6:33 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2019-06-14 6:33 UTC (permalink / raw)
To: test-report
[-- Attachment #1: Type: text/plain, Size: 65986 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/54779
_Compilation issues_
Submitter: Neil Horman <nhorman@tuxdriver.com>
Date: 2019-06-13 14:23:44
Reply_mail: 20190613142344.9188-11-nhorman@tuxdriver.com
DPDK git baseline: Repo:dpdk, CommitID: e28111ac9864af09e826241a915dfff87a9c00ad
Build Summary: 22 Builds Done, 15 Successful, 7 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-27ubuntu1~18.04) 7.3.0
Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-clang
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+debug
x86_64-native-bsdapp-gcc+shared
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-icc
x86_64-native-linuxapp-gcc+debug
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
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: UB1604-32
Target: i686-native-linuxapp-gcc
^
/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/drivers/bus/fslmc/qbman/qbman_portal.c:1677:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_SCN_state’
uint8_t __rte_internal qbman_result_SCN_state(const struct qbman_result *scn)
^
/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/drivers/bus/fslmc/qbman/qbman_portal.c: In function ‘qbman_result_bpscn_has_free_bufs’:
/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/drivers/bus/fslmc/qbman/qbman_portal.c:1702:16: error: implicit declaration of function ‘qbman_result_SCN_state’ [-Werror=implicit-function-declaration]
return !(int)(qbman_result_SCN_state(scn) & 0x1);
^
/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/drivers/bus/fslmc/qbman/qbman_portal.c:1702:2: error: nested extern declaration of ‘qbman_result_SCN_state’ [-Werror=nested-externs]
return !(int)(qbman_result_SCN_state(scn) & 0x1);
^
/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/drivers/bus/fslmc/qbman/qbman_portal.c: At top level:
/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/drivers/bus/fslmc/qbman/qbman_portal.c:1736:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_eqresp_fd’
struct qbman_fd *__rte_internal qbman_result_eqresp_fd(struct qbman_result *eqresp)
--
^
/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/drivers/bus/fslmc/qbman/qbman_portal.c:2105:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_get_dqrr_from_idx’
struct qbman_result *__rte_internal qbman_get_dqrr_from_idx(struct qbman_swp *s, uint8_t idx)
^
make[9]: warning: Clock skew detected. Your build may be incomplete.
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/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'qbman/qbman_portal.o' failed
make[6]: *** [qbman/qbman_portal.o] Error 1
/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:35: recipe for target 'fslmc' failed
make[5]: *** [fslmc] Error 2
make[5]: *** Waiting for unfinished jobs....
CC vmbus_bufring.o
Building modules, stage 2.
CC vdev_params.o
CC linux/pci_vfio.o
--
CC base/qbman/dpaa_alloc.o
CC base/qbman/dpaa_sys.o
AR librte_bus_dpaa.a
INSTALL-LIB librte_bus_dpaa.a
make[6]: warning: Clock skew detected. Your build may be incomplete.
/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:35: recipe for target 'bus' failed
make[4]: *** [bus] Error 2
/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed
make: *** [install] Error 2
*Build Failed Build #2:
OS: UB1804-64
Target: x86_64-native-linuxapp-icc
CC base/qbman/bman.o
CC pci_common.o
qbman_swp_pull is not flagged as internal
but is listed in version map
Please add __rte_internal to the definition/prototype of qbman_swp_pull
/tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'qbman/qbman_portal.o' failed
make[6]: *** [qbman/qbman_portal.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CC pci_common_uio.o
CC base/qbman/bman_driver.o
AR librte_bus_pci.a
INSTALL-LIB librte_bus_pci.a
make[6]: warning: Clock skew detected. Your build may be incomplete.
CC base/qbman/qman.o
CC base/qbman/qman_driver.o
CC base/qbman/dpaa_alloc.o
CC base/qbman/dpaa_sys.o
/tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:35: recipe for target 'fslmc' failed
make[5]: *** [fslmc] Error 2
make[5]: *** Waiting for unfinished jobs....
AR librte_bus_dpaa.a
INSTALL-LIB librte_bus_dpaa.a
make[6]: warning: Clock skew detected. Your build may be incomplete.
/tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:35: recipe for target 'bus' failed
make[4]: *** [bus] Error 2
/tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed
make[3]: *** [drivers] Error 2
/tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed
make[2]: *** [all] Error 2
/tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed
make: *** [install] Error 2
*Build Failed Build #3:
OS: RHEL80-64
Target: x86_64-native-linuxapp-icc
INSTALL-LIB librte_bus_pci.a
CC base/qbman/qman.o
qbman_swp_pull is not flagged as internal
but is listed in version map
Please add __rte_internal to the definition/prototype of qbman_swp_pull
make[6]: *** [/tmp/RHEL80-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/internal/rte.compile-pre.mk:116: qbman/qbman_portal.o] Error 1
make[5]: *** [/tmp/RHEL80-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:35: fslmc] Error 2
make[5]: *** Waiting for unfinished jobs....
CC base/qbman/qman_driver.o
CC base/qbman/dpaa_alloc.o
CC base/qbman/dpaa_sys.o
AR librte_bus_dpaa.a
INSTALL-LIB librte_bus_dpaa.a
make[4]: *** [/tmp/RHEL80-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:37: bus] Error 2
make[3]: *** [/tmp/RHEL80-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2
make[2]: *** [/tmp/RHEL80-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:99: all] Error 2
make[1]: *** [/tmp/RHEL80-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2
make: *** [/tmp/RHEL80-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:77: install] Error 2
*Build Failed Build #4:
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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/kernel/freebsd/contigmem -I/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/kernel/freebsd/nic_uio -I/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/e6c5a03e93f84e28b1095438721454ab/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
== Build drivers/common/cpt
== Build drivers/common/octeontx
CC cpt_pmd_ops_helper.o
CC octeontx_mbox.o
ld -m elf_x86_64_fbsd -L/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/e6c5a03e93f84e28b1095438721454ab/dpdk/x86_64-native-bsdapp-clang/lib -d -warn-common --build-id=sha1 -r -d -o contigmem.ko contigmem.o
--
CC rte_eth_null.o
CC ice_flow.o
AR librte_pmd_lio.a
INSTALL-LIB librte_pmd_lio.a
CC i40e_rxtx_vec_sse.o
/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/internal/rte.compile-pre.mk:114: bnxt_ethdev.o] Error 1
gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:35: bnxt] Error 2
gmake[5]: *** Waiting for unfinished jobs....
== Build drivers/net/octeontx
CC ixgbe_api.o
CC i40e_ethdev_vf.o
PMDINFO rte_eth_null.o.pmd.c
--
PMDINFO ixgbe_ethdev.o.pmd.c
CC ixgbe_ethdev.o.pmd.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/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:35: net] Error 2
gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2
gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:99: all] Error 2
gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2
gmake: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:77: install] Error 2
*Build Failed Build #5:
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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/kernel/freebsd/contigmem -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/kernel/freebsd/nic_uio -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/e6c5a03e93f84e28b1095438721454ab/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
ld -m elf_x86_64_fbsd -L/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/e6c5a03e93f84e28b1095438721454ab/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+debug/e6c5a03e93f84e28b1095438721454ab/dpdk/x86_64-native-bsdapp-gcc/lib -d -warn-common --build-id=sha1 -r -d -o nic_uio.ko nic_uio.o
== Build drivers/common/cpt
== Build drivers/common/octeontx
:> export_syms
--
PMDINFO lio_ethdev.o.pmd.c
CC lio_ethdev.o.pmd.o
CC ixgbe_x540.o
LD lio_ethdev.o
CC lio_rxtx.o
/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/x86_64-native-bsdapp-gcc/include/generic/rte_spinlock.h:21,
--
CC em_ethdev.o.pmd.o
LD em_ethdev.o
PMDINFO rte_eth_null.o.pmd.c
CC rte_eth_null.o.pmd.o
LD rte_eth_null.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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:37: bnxt] Error 2
CC ixgbe_x550.o
gmake[5]: *** Waiting for unfinished jobs....
CC em_rxtx.o
CC ice_dcb.o
AR librte_pmd_null.a
--
LD qede_ethdev.o
AR librte_pmd_ixgbe.a
INSTALL-LIB librte_pmd_ixgbe.a
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+debug/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:77: install] Error 2
*Build Failed Build #6:
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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/kernel/freebsd/contigmem -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/kernel/freebsd/nic_uio -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/e6c5a03e93f84e28b1095438721454ab/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
ld -m elf_x86_64_fbsd -L/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/x86_64-native-bsdapp-gcc/lib -d -warn-common --build-id=sha1 -r -d -o nic_uio.ko nic_uio.o
== Build drivers/common/cpt
== Build drivers/common/octeontx
:> export_syms
--
CC ixgbe_api.o
PMDINFO em_ethdev.o.pmd.c
CC em_ethdev.o.pmd.o
CC ice_ethdev.o
LD em_ethdev.o
/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/x86_64-native-bsdapp-gcc/include/generic/rte_spinlock.h:21,
--
CC em_rxtx.o
== Build drivers/net/pcap
CC i40e_pf.o
CC i40e_fdir.o
CC rte_eth_null.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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:37: bnxt] Error 2
gmake[5]: *** Waiting for unfinished jobs....
PMDINFO i40e_ethdev_vf.o.pmd.c
CC i40e_ethdev_vf.o.pmd.o
CC ice_rxtx.o
LD i40e_ethdev_vf.o
--
INSTALL-LIB librte_pmd_pcap.so.1.1
CC ixgbe_vf_representor.o
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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:77: install] Error 2
*Build Failed Build #7:
OS: FreeBSD12-64
Target: x86_64-native-bsdapp-gcc
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/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/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/kernel/freebsd/contigmem -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/kernel/freebsd/nic_uio -I/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/e6c5a03e93f84e28b1095438721454ab/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
== Build drivers/common/octeontx
== Build drivers/common/cpt
ld -m elf_x86_64_fbsd -L/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/x86_64-native-bsdapp-gcc/lib -d -warn-common --build-id=sha1 -r -d -o nic_uio.ko nic_uio.o
:> export_syms
--
INSTALL-LIB librte_pmd_ipn3ke.a
CC ixgbe_82598.o
CC bnxt_ethdev.o
CC i40e_rxtx.o
PMDINFO rte_eth_null.o.pmd.c
/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/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/e6c5a03e93f84e28b1095438721454ab/dpdk/x86_64-native-bsdapp-gcc/include/generic/rte_spinlock.h:21,
--
AR librte_pmd_null.a
INSTALL-LIB librte_pmd_null.a
CC em_ethdev.o
CC lio_23xx_vf.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/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/internal/rte.compile-pre.mk:116: bnxt_ethdev.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
CC i40e_rxtx_vec_sse.o
CC ixgbe_82599.o
PMDINFO em_ethdev.o.pmd.c
CC em_ethdev.o.pmd.o
LD em_ethdev.o
gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:35: bnxt] Error 2
gmake[5]: *** Waiting for unfinished jobs....
CC lio_mbox.o
CC em_rxtx.o
CC clip_tbl.o
CC i40e_ethdev_vf.o
--
PMDINFO ixgbe_ethdev.o.pmd.c
CC ixgbe_ethdev.o.pmd.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/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.subdir.mk:35: net] Error 2
gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2
gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:99: all] Error 2
gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2
gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/e6c5a03e93f84e28b1095438721454ab/dpdk/mk/rte.sdkroot.mk:77: install] Error 2
*Meson Failed Build #1:
OS: UB1604-32
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_qbman_qbman_portal.c.o
gcc -Idrivers/a715181@@tmp_rte_bus_fslmc@sta -Idrivers -I../drivers -Idrivers/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include -I../drivers/bus/fslmc/portal -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -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 -DBUILDING_RTE_SDK -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_qbman_qbman_portal.c.o' -MF 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_qbman_qbman_portal.c.o.d' -o 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_qbman_qbman_portal.c.o' -c ../drivers/bus/fslmc/qbman/qbman_portal.c
In file included from ../drivers/bus/fslmc/qbman/qbman_portal.h:12:0,
from ../drivers/bus/fslmc/qbman/qbman_portal.c:9:
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:111:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_interrupt_clear_status’
void __rte_internal qbman_swp_interrupt_clear_status(struct qbman_swp *p, uint32_t mask);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:280:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_push_set’
void __rte_internal qbman_swp_push_set(struct qbman_swp *s, uint8_t channel_idx, int enable);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:319:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_pull_desc_clear’
void __rte_internal qbman_pull_desc_clear(struct qbman_pull_desc *d);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:334:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_pull_desc_set_storage’
void __rte_internal qbman_pull_desc_set_storage(struct qbman_pull_desc *d,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:343:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_pull_desc_set_numframes’
void __rte_internal qbman_pull_desc_set_numframes(struct qbman_pull_desc *d,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:366:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_pull_desc_set_fq’
void __rte_internal qbman_pull_desc_set_fq(struct qbman_pull_desc *d, uint32_t fqid);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:401:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_pull’
int __rte_internal qbman_swp_pull(struct qbman_swp *s, struct qbman_pull_desc *d);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:415:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_dqrr_next’
const struct qbman_result *__rte_internal qbman_swp_dqrr_next(struct qbman_swp *p);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:421:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_prefetch_dqrr_next’
void __rte_internal qbman_swp_prefetch_dqrr_next(struct qbman_swp *s);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:429:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_dqrr_consume’
void __rte_internal qbman_swp_dqrr_consume(struct qbman_swp *s, const struct qbman_result *dq);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:436:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_dqrr_idx_consume’
void __rte_internal qbman_swp_dqrr_idx_consume(struct qbman_swp *s, uint8_t dqrr_index);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:444:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_get_dqrr_idx’
uint8_t __rte_internal qbman_get_dqrr_idx(const struct qbman_result *dqrr);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:454:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_get_dqrr_from_idx’
struct qbman_result *__rte_internal qbman_get_dqrr_from_idx(struct qbman_swp *s, uint8_t idx);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:479:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_has_new_result’
int __rte_internal qbman_result_has_new_result(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:491:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__rte_internal’
int __rte_internal __rte_internal qbman_check_command_complete(struct qbman_result *dq);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:491:20: error: unknown type name ‘__rte_internal’
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:493:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_check_new_result’
int __rte_internal qbman_check_new_result(struct qbman_result *dq);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:652:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_DQ_seqnum’
uint16_t __rte_internal qbman_result_DQ_seqnum(const struct qbman_result *dq);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:661:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_DQ_odpid’
uint16_t __rte_internal qbman_result_DQ_odpid(const struct qbman_result *dq);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:693:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_DQ_fqd_ctx’
uint64_t __rte_internal qbman_result_DQ_fqd_ctx(const struct qbman_result *dq);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:701:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_DQ_fd’
const struct qbman_fd *__rte_internal qbman_result_DQ_fd(const struct qbman_result *dq);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:711:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_SCN_state’
uint8_t __rte_internal qbman_result_SCN_state(const struct qbman_result *scn);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:844:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_clear’
void __rte_internal qbman_eq_desc_clear(struct qbman_eq_desc *d);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:864:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_no_orp’
void __rte_internal qbman_eq_desc_set_no_orp(struct qbman_eq_desc *d, int respond_success);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:875:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_orp’
void __rte_internal qbman_eq_desc_set_orp(struct qbman_eq_desc *d, int respond_success,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:909:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_response’
void __rte_internal qbman_eq_desc_set_response(struct qbman_eq_desc *d,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:923:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_token’
void __rte_internal qbman_eq_desc_set_token(struct qbman_eq_desc *d, uint8_t token);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:938:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_fq’
void __rte_internal qbman_eq_desc_set_fq(struct qbman_eq_desc *d, uint32_t fqid);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:947:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_qd’
void __rte_internal qbman_eq_desc_set_qd(struct qbman_eq_desc *d, uint32_t qdid,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:972:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_dca’
void __rte_internal qbman_eq_desc_set_dca(struct qbman_eq_desc *d, int enable,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:981:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_eqresp_fd’
struct qbman_fd *__rte_internal qbman_result_eqresp_fd(struct qbman_result *eqresp);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:991:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_eqresp_set_rspid’
void __rte_internal qbman_result_eqresp_set_rspid(struct qbman_result *eqresp, uint8_t val);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:1003:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_eqresp_rspid’
uint8_t __rte_internal qbman_result_eqresp_rspid(struct qbman_result *eqresp);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:1011:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_eqresp_rc’
uint8_t __rte_internal qbman_result_eqresp_rc(struct qbman_result *eqresp);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:1037:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_enqueue_multiple’
int __rte_internal qbman_swp_enqueue_multiple(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:1054:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_enqueue_multiple_fd’
int __rte_internal qbman_swp_enqueue_multiple_fd(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:1070:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_enqueue_multiple_desc’
int __rte_internal qbman_swp_enqueue_multiple_desc(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:1111:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_release_desc_clear’
void __rte_internal qbman_release_desc_clear(struct qbman_release_desc *d);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:1117:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_release_desc_set_bpid’
void __rte_internal qbman_release_desc_set_bpid(struct qbman_release_desc *d, uint16_t bpid);
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:1135:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_release’
int __rte_internal qbman_swp_release(struct qbman_swp *s, const struct qbman_release_desc *d,
^
../drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h:1160:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_acquire’
int __rte_internal qbman_swp_acquire(struct qbman_swp *s, uint16_t bpid, uint64_t *buffers,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:331:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_interrupt_clear_status’
void __rte_internal qbman_swp_interrupt_clear_status(struct qbman_swp *p, uint32_t mask)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:490:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_clear’
void __rte_internal qbman_eq_desc_clear(struct qbman_eq_desc *d)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:495:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_no_orp’
void __rte_internal qbman_eq_desc_set_no_orp(struct qbman_eq_desc *d, int respond_success)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:504:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_orp’
void __rte_internal qbman_eq_desc_set_orp(struct qbman_eq_desc *d, int respond_success,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:543:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_response’
void __rte_internal qbman_eq_desc_set_response(struct qbman_eq_desc *d,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:551:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_token’
void __rte_internal qbman_eq_desc_set_token(struct qbman_eq_desc *d, uint8_t token)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:556:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_fq’
void __rte_internal qbman_eq_desc_set_fq(struct qbman_eq_desc *d, uint32_t fqid)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:562:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_qd’
void __rte_internal qbman_eq_desc_set_qd(struct qbman_eq_desc *d, uint32_t qdid,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:579:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_eq_desc_set_dca’
void __rte_internal qbman_eq_desc_set_dca(struct qbman_eq_desc *d, int enable,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:879:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_enqueue_multiple’
inline int __rte_internal qbman_swp_enqueue_multiple(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1017:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_enqueue_multiple_fd’
inline int __rte_internal qbman_swp_enqueue_multiple_fd(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1146:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_enqueue_multiple_desc’
inline int __rte_internal qbman_swp_enqueue_multiple_desc(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1166:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_push_set’
void __rte_internal qbman_swp_push_set(struct qbman_swp *s, uint8_t channel_idx, int enable)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1203:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_pull_desc_clear’
void __rte_internal qbman_pull_desc_clear(struct qbman_pull_desc *d)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1208:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_pull_desc_set_storage’
void __rte_internal qbman_pull_desc_set_storage(struct qbman_pull_desc *d,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1228:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_pull_desc_set_numframes’
void __rte_internal qbman_pull_desc_set_numframes(struct qbman_pull_desc *d,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1239:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_pull_desc_set_fq’
void __rte_internal qbman_pull_desc_set_fq(struct qbman_pull_desc *d, uint32_t fqid)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1324:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_pull’
inline int __rte_internal qbman_swp_pull(struct qbman_swp *s, struct qbman_pull_desc *d)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1348:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_prefetch_dqrr_next’
void __rte_internal qbman_swp_prefetch_dqrr_next(struct qbman_swp *s)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1361:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_dqrr_next’
inline const struct qbman_result *__rte_internal qbman_swp_dqrr_next(struct qbman_swp *s)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1486:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_dqrr_consume’
void __rte_internal qbman_swp_dqrr_consume(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1494:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_dqrr_idx_consume’
void __rte_internal qbman_swp_dqrr_idx_consume(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1504:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_has_new_result’
int __rte_internal qbman_result_has_new_result(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1532:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_check_new_result’
int __rte_internal qbman_check_new_result(struct qbman_result *dq)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1547:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__rte_internal’
int __rte_internal __rte_internal qbman_check_command_complete(struct qbman_result *dq)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1547:20: error: unknown type name ‘__rte_internal’
../drivers/bus/fslmc/qbman/qbman_portal.c:1634:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_DQ_flags’
uint8_t __rte_internal qbman_result_DQ_flags(const struct qbman_result *dq)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1639:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_DQ_seqnum’
uint16_t __rte_internal qbman_result_DQ_seqnum(const struct qbman_result *dq)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1644:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_DQ_odpid’
uint16_t __rte_internal qbman_result_DQ_odpid(const struct qbman_result *dq)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1664:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_DQ_fqd_ctx’
uint64_t __rte_internal qbman_result_DQ_fqd_ctx(const struct qbman_result *dq)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1669:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_DQ_fd’
const struct qbman_fd *__rte_internal qbman_result_DQ_fd(const struct qbman_result *dq)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1677:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_SCN_state’
uint8_t __rte_internal qbman_result_SCN_state(const struct qbman_result *scn)
^
../drivers/bus/fslmc/qbman/qbman_portal.c: In function ‘qbman_result_bpscn_has_free_bufs’:
../drivers/bus/fslmc/qbman/qbman_portal.c:1702:16: error: implicit declaration of function ‘qbman_result_SCN_state’ [-Werror=implicit-function-declaration]
return !(int)(qbman_result_SCN_state(scn) & 0x1);
^
../drivers/bus/fslmc/qbman/qbman_portal.c: At top level:
../drivers/bus/fslmc/qbman/qbman_portal.c:1736:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_eqresp_fd’
struct qbman_fd *__rte_internal qbman_result_eqresp_fd(struct qbman_result *eqresp)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1741:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_eqresp_set_rspid’
void __rte_internal qbman_result_eqresp_set_rspid(struct qbman_result *eqresp, uint8_t val)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1746:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_eqresp_rspid’
uint8_t __rte_internal qbman_result_eqresp_rspid(struct qbman_result *eqresp)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1751:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_result_eqresp_rc’
uint8_t __rte_internal qbman_result_eqresp_rc(struct qbman_result *eqresp)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1765:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_release_desc_clear’
void __rte_internal qbman_release_desc_clear(struct qbman_release_desc *d)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1771:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_release_desc_set_bpid’
void __rte_internal qbman_release_desc_set_bpid(struct qbman_release_desc *d, uint16_t bpid)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1854:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_release’
inline int __rte_internal qbman_swp_release(struct qbman_swp *s,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:1882:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_swp_acquire’
int __rte_internal qbman_swp_acquire(struct qbman_swp *s, uint16_t bpid, uint64_t *buffers,
^
../drivers/bus/fslmc/qbman/qbman_portal.c:2100:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_get_dqrr_idx’
uint8_t __rte_internal qbman_get_dqrr_idx(const struct qbman_result *dqrr)
^
../drivers/bus/fslmc/qbman/qbman_portal.c:2105:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qbman_get_dqrr_from_idx’
struct qbman_result *__rte_internal qbman_get_dqrr_from_idx(struct qbman_swp *s, uint8_t idx)
^
cc1: all warnings being treated as errors
[398/1549] Compiling C object 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_portal_dpaa2_hw_dpbp.c.o'.
[399/1549] Compiling C object 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_portal_dpaa2_hw_dpci.c.o'.
[400/1549] Compiling C object 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_portal_dpaa2_hw_dpio.c.o'.
[401/1549] Compiling C object 'drivers/a715181@@tmp_rte_bus_dpaa@sta/bus_dpaa_base_qbman_qman.c.o'.
[402/1549] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.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 -DBUILDING_RTE_SDK -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
[374/1276] Compiling C object 'drivers/a715181@@tmp_rte_pmd_cxgbe@sta/net_cxgbe_cxgbevf_main.c.o'.
[375/1276] Compiling C object 'drivers/a715181@@tmp_rte_pmd_cxgbe@sta/net_cxgbe_cxgbevf_ethdev.c.o'.
[376/1276] Compiling C object 'drivers/a715181@@tmp_rte_pmd_cxgbe@sta/net_cxgbe_cxgbe_filter.c.o'.
[377/1276] Compiling C object 'drivers/a715181@@tmp_rte_pmd_cxgbe@sta/net_cxgbe_sge.c.o'.
[378/1276] Compiling C object 'drivers/a715181@@tmp_rte_pmd_cxgbe@sta/net_cxgbe_cxgbe_flow.c.o'.
ninja: build stopped: subcommand failed
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-14 6:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14 6:33 [dpdk-test-report] |FAILURE| pw54779[v2, 10/10] dpaa2: mark internal functions with __rte_internal sys_stv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).