* [dpdk-test-report] |FAILURE| pw57851[12/22] net/hns3: add support for VLAN of hns3 PMD driver
@ 2019-08-23 14:21 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2019-08-23 14:21 UTC (permalink / raw)
To: test-report
[-- Attachment #1: Type: text/plain, Size: 82298 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/57851
_Compilation issues_
Submitter: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Date: 2019-08-23 13:47:01
Reply_mail: 1566568031-45991-13-git-send-email-xavier.huwei@huawei.com
DPDK git baseline: Repo:dpdk, CommitID: e7fd5a3bbe5636e93a66fd5086f182756624c97a
Makefile build Summary: 22 Builds Done, 22 Successful, 0 Failures
meson build Summary: 7 Builds Done, 2 Successful, 5 Failures
+==============================================+===========+==========+
| Makefile | Meson | Document |
+--------------+------+-------+------+------------+-----------+-----------+----------+
| os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html |
+--------------+------+-------+------+------------+-----------+-----------+----------+
| RHEL76-64 | pass | | | | | | |
| CENTOS76-64 | pass | pass | pass | pass | pass | | |
| UB1804-64 | pass | pass | pass | | | fail | pass |
| UB1604-32 | pass | | | | | fail | |
| UB1904-64 | pass | | | | | | |
| UB1604-64 | pass | pass | | | | | |
| FC30-64 | pass | pass | | | | fail | |
| WIN10-64 | | | | | | pass | |
| FreeBSD12-64 | pass | pass | | pass | pass | fail | |
| RHEL80-64 | pass | | | | | | |
| SUSE15-64 | pass | pass | | | | fail | |
+--------------+------+-------+------+------------+-----------+-----------+----------+
Test environment and configuration as below:
** Makefile 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-clang
x86_64-native-linuxapp-gcc+debug
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-icc
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: FC30-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
OS: FreeBSD12-64
Kernel Version: 12.0-RC3
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU)
GCC Version: gcc (FreeBSD Ports Collection) 7.3.0
Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
x86_64-native-bsdapp-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-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
** 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: FC30-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
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: 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
*Meson Build Failed #1:
OS: UB1604-32
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o
gcc -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -c ../drivers/net/hns3/hns3_intr.c
In file included from ../drivers/net/hns3/hns3_intr.c:22:0:
../drivers/net/hns3/hns3_intr.c: In function ‘hns3_clear_reset_level’:
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:853:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "No need to do low-level reset after %s reset. "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%ld’ expects argument of type ‘long int’, but argument 8 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:853:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "No need to do low-level reset after %s reset. "
^
../drivers/net/hns3/hns3_intr.c: In function ‘hns3_reset_err_handle’:
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:873:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset fail because new Reset is pending attempts:%lu",
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:894:2: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset fail fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:894:2: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset fail fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:894:2: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset fail fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:894:2: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset fail fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 11 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:894:2: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset fail fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 12 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:894:2: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset fail fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 13 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:894:2: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset fail fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_intr.c: In function ‘hns3_reset_post’:
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:1009:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset done fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:1009:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset done fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:1009:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset done fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:1009:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset done fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 11 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:1009:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset done fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 12 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:1009:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset done fail_cnt:%lu success_cnt:%lu "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 13 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_intr.c:1009:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "%s reset done fail_cnt:%lu success_cnt:%lu "
^
cc1: all warnings being treated as errors
[814/1675] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_mbx.c.o'.
[815/1675] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o
gcc -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -c ../drivers/net/hns3/hns3_ethdev_vf.c
In file included from ../drivers/net/hns3/hns3_ethdev_vf.c:38:0:
../drivers/net/hns3/hns3_ethdev_vf.c: In function ‘hns3vf_reset_service’:
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:20:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_ERR, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_ethdev_vf.c:1490:4: note: in expansion of macro ‘hns3_err’
hns3_err(hw, "%d handle long time delta %ld ms time=%ld.%.6ld",
^
../drivers/net/hns3/hns3_ethdev_vf.c: In function ‘hns3vf_dev_init’:
../drivers/net/hns3/hns3_logs.h:10:48: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
rte_log(RTE_LOG_ ## level, hns3_logtype_init, "%s(): " fmt "\n", \
^
../drivers/net/hns3/hns3_ethdev_vf.c:1645:3: note: in expansion of macro ‘PMD_INIT_LOG’
PMD_INIT_LOG(ERR, "Failed to allocate %ld bytes needed to "
^
cc1: all warnings being treated as errors
[816/1675] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_fdir.c.o'.
[817/1675] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_flow.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_flow.c.o
gcc -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_flow.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_flow.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_flow.c.o' -c ../drivers/net/hns3/hns3_flow.c
In file included from ../drivers/net/hns3/hns3_flow.c:17:0:
../drivers/net/hns3/hns3_flow.c: In function ‘hns3_parse_rss_filter’:
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t {aka const long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_flow.c:1282:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "RSS flow types(%lu) include unsupported flow "
^
../drivers/net/hns3/hns3_flow.c: In function ‘hns3_config_rss_filter’:
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:20:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_ERR, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_flow.c:1471:3: note: in expansion of macro ‘hns3_err’
hns3_err(hw, "Flow types(%lu) is unsupported by hns3's RSS",
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_flow.c:1479:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "modified RSS types based on hardware "
^
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:23:3: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_WARNING, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_flow.c:1479:3: note: in expansion of macro ‘hns3_warn’
hns3_warn(hw, "modified RSS types based on hardware "
^
cc1: all warnings being treated as errors
[818/1675] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o
gcc -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -c ../drivers/net/hns3/hns3_ethdev.c
In file included from ../drivers/net/hns3/hns3_ethdev.c:38:0:
../drivers/net/hns3/hns3_ethdev.c: In function ‘hns3_reset_service’:
../drivers/net/hns3/hns3_logs.h:16:38: error: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_log(level, hns3_logtype_driver, "%s %s(): " fmt, \
^
../drivers/net/hns3/hns3_logs.h:20:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
PMD_DRV_LOG_RAW(hw, RTE_LOG_ERR, fmt "\n", ## args)
^
../drivers/net/hns3/hns3_ethdev.c:4701:4: note: in expansion of macro ‘hns3_err’
hns3_err(hw, "%d handle long time delta %ld ms time=%ld.%.6ld",
^
../drivers/net/hns3/hns3_ethdev.c: In function ‘hns3_dev_init’:
../drivers/net/hns3/hns3_logs.h:10:48: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
rte_log(RTE_LOG_ ## level, hns3_logtype_init, "%s(): " fmt "\n", \
^
../drivers/net/hns3/hns3_ethdev.c:4856:3: note: in expansion of macro ‘PMD_INIT_LOG’
PMD_INIT_LOG(ERR, "Failed to allocate %ld bytes needed to store"
^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed
*Meson Build Failed #2:
OS: FC30-64
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_stats.c.o
gcc -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -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-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_stats.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_stats.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_stats.c.o' -c ../drivers/net/hns3/hns3_stats.c
../drivers/net/hns3/hns3_stats.c: In function ‘hns3_dev_xstats_get_names_by_id’:
../drivers/net/hns3/hns3_stats.c:825:3: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
825 | strncpy(xstats_names[i].name, xstats_names_copy[ids[i]].name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
826 | strlen(xstats_names_copy[ids[i]].name));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[827/1803] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_mp.c.o'.
[828/1803] Compiling C object 'drivers/net/iavf/base/8bd2c99@@iavf_base@sta/iavf_common.c.o'.
[829/1803] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o'.
[830/1803] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_rxtx.c.o'.
[831/1803] Compiling C object 'drivers/net/iavf/base/8bd2c99@@iavf_base@sta/iavf_adminq.c.o'.
[832/1803] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o'.
[833/1803] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o'.
ninja: build stopped: subcommand failed
*Meson Build Failed #3:
OS: SUSE15-64
Target:build-gcc-static
[818/1850] Linking static target drivers/librte_pmd_i40e.a.
[819/1850] Linking static target drivers/net/hinic/base/libhinic_base.a.
[820/1850] Linking target drivers/librte_pmd_i40e.so.2.1.
[821/1850] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_rx.c.o'.
[822/1850] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -c ../drivers/net/hns3/hns3_ethdev.c
In file included from ../drivers/net/hns3/hns3_ethdev.c:39:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
--
1 error generated.
[823/1850] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_fdir.c.o'.
[824/1850] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'.
[825/1850] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
[826/1850] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -c ../drivers/net/hns3/hns3_intr.c
In file included from ../drivers/net/hns3/hns3_intr.c:25:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
--
#define __packed __attribute__((packed))
^
1 error generated.
[827/1850] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_cmd.c.o'.
[828/1850] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -c ../drivers/net/hns3/hns3_ethdev_vf.c
In file included from ../drivers/net/hns3/hns3_ethdev_vf.c:39:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
../drivers/net/hns3/hns3_rxtx.h:152:33: note: expanded from macro '__packed'
#define __packed __attribute__((packed))
^
1 error generated.
[829/1850] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o' -c ../drivers/net/hns3/hns3_dcb.c
In file included from ../drivers/net/hns3/hns3_dcb.c:16:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
../drivers/net/hns3/hns3_rxtx.h:152:33: note: expanded from macro '__packed'
#define __packed __attribute__((packed))
^
1 error generated.
ninja: build stopped: subcommand failed.
meson --werror -Dexamples=all --default-library=shared /tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk/devtools/.. build-clang-shared
The Meson build system
Version: 0.50.1
Source dir: /tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk
Build dir: /tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk/build-clang-shared
--
[833/1874] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e@sta/net_i40e_i40e_ethdev.c.o'.
[834/1874] Linking static target drivers/libtmp_rte_pmd_i40e.a.
[835/1874] Generating rte_pmd_i40e.pmd.c with a custom command.
[836/1874] Compiling C object 'drivers/a715181@@rte_pmd_i40e@sta/meson-generated_.._rte_pmd_i40e.pmd.c.o'.
[837/1874] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -c ../drivers/net/hns3/hns3_ethdev.c
In file included from ../drivers/net/hns3/hns3_ethdev.c:39:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
--
#define __packed __attribute__((packed))
^
1 error generated.
[838/1874] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_rx.c.o'.
[839/1874] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -c ../drivers/net/hns3/hns3_intr.c
In file included from ../drivers/net/hns3/hns3_intr.c:25:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
--
[840/1874] Compiling C object 'drivers/a715181@@rte_pmd_i40e@sha/meson-generated_.._rte_pmd_i40e.pmd.c.o'.
[841/1874] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_cmd.c.o'.
[842/1874] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_fdir.c.o'.
[843/1874] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'.
[844/1874] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
ninja: build stopped: subcommand failed.
meson --werror -Dexamples=all -Dlibdir=lib -Dmachine=nehalem --default-library=shared /tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk/devtools/.. build-x86-default
The Meson build system
Version: 0.50.1
Source dir: /tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk
Build dir: /tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk/build-x86-default
*Meson Build Failed #4:
OS: UB1804-64
Target:build-gcc-static
[820/1810] Linking target drivers/librte_pmd_i40e.so.2.1.
[821/1810] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_rx.c.o'.
[822/1810] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'.
[823/1810] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
[824/1810] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -c ../drivers/net/hns3/hns3_intr.c
In file included from ../drivers/net/hns3/hns3_intr.c:25:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
--
^
1 error generated.
[825/1810] Linking static target drivers/libtmp_rte_pmd_hinic.a.
[826/1810] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_fdir.c.o'.
[827/1810] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o' -c ../drivers/net/hns3/hns3_dcb.c
In file included from ../drivers/net/hns3/hns3_dcb.c:16:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
../drivers/net/hns3/hns3_rxtx.h:152:33: note: expanded from macro '__packed'
#define __packed __attribute__((packed))
^
1 error generated.
[828/1810] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -c ../drivers/net/hns3/hns3_ethdev.c
In file included from ../drivers/net/hns3/hns3_ethdev.c:39:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
../drivers/net/hns3/hns3_rxtx.h:152:33: note: expanded from macro '__packed'
#define __packed __attribute__((packed))
^
1 error generated.
[829/1810] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_cmd.c.o'.
ninja: build stopped: subcommand failed.
meson --werror -Dexamples=all --default-library=shared /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk/devtools/.. build-clang-shared
The Meson build system
Version: 0.50.0
Source dir: /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk
Build dir: /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk/build-clang-shared
--
[839/1834] Linking static target drivers/net/hinic/base/libhinic_base.a.
[840/1834] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_rx.c.o'.
[841/1834] Generating symbol file 'drivers/a715181@@rte_pmd_i40e@sha/librte_pmd_i40e.so.2.1.symbols'.
[842/1834] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_fdir.c.o'.
[843/1834] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -c ../drivers/net/hns3/hns3_intr.c
In file included from ../drivers/net/hns3/hns3_intr.c:25:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
--
#define __packed __attribute__((packed))
^
1 error generated.
[844/1834] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
[845/1834] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o' -c ../drivers/net/hns3/hns3_dcb.c
In file included from ../drivers/net/hns3/hns3_dcb.c:16:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
--
#define __packed __attribute__((packed))
^
1 error generated.
[846/1834] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'.
[847/1834] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o
clang -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/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_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -c ../drivers/net/hns3/hns3_ethdev.c
In file included from ../drivers/net/hns3/hns3_ethdev.c:39:
../drivers/net/hns3/hns3_rxtx.h:154:1: error: attribute 'packed' is ignored, place it after "struct" to apply attribute to type declaration [-Werror,-Wignored-attributes]
__packed struct hns3_desc {
^
../drivers/net/hns3/hns3_rxtx.h:152:33: note: expanded from macro '__packed'
#define __packed __attribute__((packed))
^
1 error generated.
[848/1834] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_cmd.c.o'.
ninja: build stopped: subcommand failed.
meson --werror -Dexamples=all -Dlibdir=lib -Dmachine=nehalem --default-library=shared /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk/devtools/.. build-x86-default
The Meson build system
Version: 0.50.0
Source dir: /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk
Build dir: /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/2a1cc0086c504c44a5cccd9ddf8e9b80/dpdk/build-x86-default
*Meson Build Failed #5:
OS: FreeBSD12-64
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_cmd.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -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_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 -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_cmd.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_cmd.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_cmd.c.o' -c ../drivers/net/hns3/hns3_cmd.c
In file included from ../drivers/net/hns3/hns3_cmd.c:31:0:
../drivers/net/hns3/hns3_rss.h:94:24: error: conflicting types for 'fls'
static inline uint32_t fls(uint32_t x)
^~~
In file included from /usr/include/string.h:47:0,
from ../drivers/net/hns3/hns3_cmd.c:9:
/usr/include/strings.h:57:6: note: previous declaration of 'fls' was here
int fls(int) __pure2;
^~~
In file included from ../drivers/net/hns3/hns3_cmd.c:34:0:
../drivers/net/hns3/hns3_ethdev.h:540: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:43,
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 ../drivers/net/hns3/hns3_cmd.c:20:
/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 */
In file included from ../drivers/net/hns3/hns3_cmd.c:34:0:
../drivers/net/hns3/hns3_ethdev.h:541:0: error: "rounddown" redefined [-Werror]
#define rounddown(x, y) ((x) - ((x) % (y)))
In file included from /usr/include/pthread_np.h:36:0,
from ../lib/librte_eal/common/include/rte_lcore.h:43,
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 ../drivers/net/hns3/hns3_cmd.c:20:
/usr/include/sys/param.h:298:0: note: this is the location of the previous definition
#define rounddown(x, y) (((x)/(y))*(y))
../drivers/net/hns3/hns3_cmd.c: In function 'hns3_cmd_poll_reply':
../drivers/net/hns3/hns3_cmd.c:356:10: error: 'ETIME' undeclared (first use in this function); did you mean 'EPIPE'?
return -ETIME;
^~~~~
EPIPE
../drivers/net/hns3/hns3_cmd.c:356:10: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/hns3/hns3_cmd.c:357:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
[773/1432] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -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_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 -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_dcb.c.o' -c ../drivers/net/hns3/hns3_dcb.c
In file included from ../drivers/net/hns3/hns3_dcb.c:16:0:
../drivers/net/hns3/hns3_rxtx.h:152:0: error: "__packed" redefined [-Werror]
#define __packed __attribute__((packed))
In file included from /usr/include/errno.h:44:0,
from ../drivers/net/hns3/hns3_dcb.c:5:
/usr/include/sys/cdefs.h:227:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
In file included from ../drivers/net/hns3/hns3_dcb.c:20:0:
../drivers/net/hns3/hns3_rss.h:94:24: error: conflicting types for 'fls'
static inline uint32_t fls(uint32_t x)
^~~
In file included from /usr/include/string.h:47:0,
from ../drivers/net/hns3/hns3_dcb.c:8:
/usr/include/strings.h:57:6: note: previous declaration of 'fls' was here
int fls(int) __pure2;
^~~
In file included from ../drivers/net/hns3/hns3_dcb.c:24:0:
../drivers/net/hns3/hns3_ethdev.h:540: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:43,
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 ../drivers/net/hns3/hns3_dcb.c:12:
/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 */
In file included from ../drivers/net/hns3/hns3_dcb.c:24:0:
../drivers/net/hns3/hns3_ethdev.h:541:0: error: "rounddown" redefined [-Werror]
#define rounddown(x, y) ((x) - ((x) % (y)))
In file included from /usr/include/pthread_np.h:36:0,
from ../lib/librte_eal/common/include/rte_lcore.h:43,
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 ../drivers/net/hns3/hns3_dcb.c:12:
/usr/include/sys/param.h:298:0: note: this is the location of the previous definition
#define rounddown(x, y) (((x)/(y))*(y))
cc1: all warnings being treated as errors
[774/1432] Compiling C object 'drivers/a715181@@rte_pmd_hinic@sha/meson-generated_.._rte_pmd_hinic.pmd.c.o'.
[775/1432] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -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_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 -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_intr.c.o' -c ../drivers/net/hns3/hns3_intr.c
In file included from ../drivers/net/hns3/hns3_intr.c:18:0:
../drivers/net/hns3/hns3_rss.h:94:24: error: conflicting types for 'fls'
static inline uint32_t fls(uint32_t x)
^~~
In file included from /usr/include/string.h:47:0,
from ../lib/librte_eal/common/include/arch/x86/rte_memcpy.h:16,
from ../lib/librte_net/rte_ether.h:21,
from ../lib/librte_ethdev/rte_ethdev.h:160,
from ../drivers/net/hns3/hns3_intr.c:10:
/usr/include/strings.h:57:6: note: previous declaration of 'fls' was here
int fls(int) __pure2;
^~~
In file included from ../drivers/net/hns3/hns3_intr.c:21:0:
../drivers/net/hns3/hns3_ethdev.h:540: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:43,
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 ../drivers/net/hns3/hns3_intr.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 */
In file included from ../drivers/net/hns3/hns3_intr.c:21:0:
../drivers/net/hns3/hns3_ethdev.h:541:0: error: "rounddown" redefined [-Werror]
#define rounddown(x, y) ((x) - ((x) % (y)))
In file included from /usr/include/pthread_np.h:36:0,
from ../lib/librte_eal/common/include/rte_lcore.h:43,
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 ../drivers/net/hns3/hns3_intr.c:10:
/usr/include/sys/param.h:298:0: note: this is the location of the previous definition
#define rounddown(x, y) (((x)/(y))*(y))
In file included from ../drivers/net/hns3/hns3_intr.c:25:0:
../drivers/net/hns3/hns3_rxtx.h:152:0: error: "__packed" redefined [-Werror]
#define __packed __attribute__((packed))
In file included from /usr/include/sys/_types.h:34:0,
from /usr/include/sys/_timeval.h:34,
from /usr/include/sys/time.h:38,
from ../drivers/net/hns3/hns3_intr.c:6:
/usr/include/sys/cdefs.h:227:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
../drivers/net/hns3/hns3_intr.c: In function 'hns3_reset_post':
../drivers/net/hns3/hns3_intr.c:1028:14: error: 'ETIME' undeclared (first use in this function); did you mean 'EPIPE'?
if (ret == -ETIME) {
^~~~~
EPIPE
../drivers/net/hns3/hns3_intr.c:1028:14: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
[776/1432] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -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_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 -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev.c.o' -c ../drivers/net/hns3/hns3_ethdev.c
In file included from ../drivers/net/hns3/hns3_ethdev.c:34:0:
../drivers/net/hns3/hns3_rss.h:94:24: error: conflicting types for 'fls'
static inline uint32_t fls(uint32_t x)
^~~
In file included from /usr/include/string.h:47:0,
from ../drivers/net/hns3/hns3_ethdev.c:10:
/usr/include/strings.h:57:6: note: previous declaration of 'fls' was here
int fls(int) __pure2;
^~~
In file included from ../drivers/net/hns3/hns3_ethdev.c:37:0:
../drivers/net/hns3/hns3_ethdev.h:540: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:43,
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 ../drivers/net/hns3/hns3_ethdev.c:24:
/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 */
In file included from ../drivers/net/hns3/hns3_ethdev.c:37:0:
../drivers/net/hns3/hns3_ethdev.h:541:0: error: "rounddown" redefined [-Werror]
#define rounddown(x, y) ((x) - ((x) % (y)))
In file included from /usr/include/pthread_np.h:36:0,
from ../lib/librte_eal/common/include/rte_lcore.h:43,
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 ../drivers/net/hns3/hns3_ethdev.c:24:
/usr/include/sys/param.h:298:0: note: this is the location of the previous definition
#define rounddown(x, y) (((x)/(y))*(y))
In file included from ../drivers/net/hns3/hns3_ethdev.c:39:0:
../drivers/net/hns3/hns3_rxtx.h:152:0: error: "__packed" redefined [-Werror]
#define __packed __attribute__((packed))
In file included from /usr/include/errno.h:44:0,
from ../drivers/net/hns3/hns3_ethdev.c:5:
/usr/include/sys/cdefs.h:227:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
../drivers/net/hns3/hns3_ethdev.c: In function 'hns3_wait_hardware_ready':
../drivers/net/hns3/hns3_ethdev.c:4412:11: error: 'ETIME' undeclared (first use in this function); did you mean 'EPIPE'?
return -ETIME;
^~~~~
EPIPE
../drivers/net/hns3/hns3_ethdev.c:4412:11: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
[777/1432] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_pmd_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -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_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 -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -c ../drivers/net/hns3/hns3_ethdev_vf.c
In file included from ../drivers/net/hns3/hns3_ethdev_vf.c:34:0:
../drivers/net/hns3/hns3_rss.h:94:24: error: conflicting types for 'fls'
static inline uint32_t fls(uint32_t x)
^~~
In file included from /usr/include/string.h:47:0,
from ../drivers/net/hns3/hns3_ethdev_vf.c:9:
/usr/include/strings.h:57:6: note: previous declaration of 'fls' was here
int fls(int) __pure2;
^~~
In file included from ../drivers/net/hns3/hns3_ethdev_vf.c:37:0:
../drivers/net/hns3/hns3_ethdev.h:540: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:43,
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 ../drivers/net/hns3/hns3_ethdev_vf.c:24:
/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 */
In file included from ../drivers/net/hns3/hns3_ethdev_vf.c:37:0:
../drivers/net/hns3/hns3_ethdev.h:541:0: error: "rounddown" redefined [-Werror]
#define rounddown(x, y) ((x) - ((x) % (y)))
In file included from /usr/include/pthread_np.h:36:0,
from ../lib/librte_eal/common/include/rte_lcore.h:43,
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 ../drivers/net/hns3/hns3_ethdev_vf.c:24:
/usr/include/sys/param.h:298:0: note: this is the location of the previous definition
#define rounddown(x, y) (((x)/(y))*(y))
In file included from ../drivers/net/hns3/hns3_ethdev_vf.c:39:0:
../drivers/net/hns3/hns3_rxtx.h:152:0: error: "__packed" redefined [-Werror]
#define __packed __attribute__((packed))
In file included from /usr/include/arpa/inet.h:65:0,
from ../drivers/net/hns3/hns3_ethdev_vf.c:5:
/usr/include/sys/cdefs.h:227:0: note: this is the location of the previous definition
#define __packed __attribute__((__packed__))
../drivers/net/hns3/hns3_ethdev_vf.c: In function 'hns3vf_wait_hardware_ready':
../drivers/net/hns3/hns3_ethdev_vf.c:1311:11: error: 'ETIME' undeclared (first use in this function); did you mean 'EPIPE'?
return -ETIME;
^~~~~
EPIPE
../drivers/net/hns3/hns3_ethdev_vf.c:1311:11: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-23 14:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-23 14:21 [dpdk-test-report] |FAILURE| pw57851[12/22] net/hns3: add support for VLAN of hns3 PMD driver 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).