Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/124355 _Compilation issues_ Submitter: Eli Britstein Date: 2023-02-22 14:11:38 Reply_mail: <20230222141139.3233715-2-elibr@nvidia.com> DPDK git baseline: Repo:dpdk-next-net, CommitID: 418f86c426f23ad3ffd397e69d19e8d6b5577e67 Meson Build Summary: 25 Builds Done, 24 Successful, 1 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | RHEL91-64 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | fail | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | pass | | | | | | | | RHEL86-64Rt | pass | | | | | | | | UB2210-64 | pass | | | | | | | | FC37-64 | pass | pass | | | | | | | UB2204-64Rt | pass | | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: FreeBSD13-64 Kernel Version: 13.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL86-64 Kernel Version: 4.18.0-372.9.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.14.21-150400.22-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: RHEL91-64 Kernel Version: 5.14.0-162.6.1.el9_1.x86_64 GCC Version: gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) Clang Version: 14.0.6 (Red Hat 14.0.6-1.el9) x86_64-native-linuxapp-gcc OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-doc OS: UB2204-32 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: 3.10.0-1160.81.1.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: RHEL86-64Rt Kernel Version: 4.18.0-372.9.1.rt7.166.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) x86_64-native-linuxapp-gcc OS: UB2210-64 Kernel Version: 5.19.0-21-generic GCC Version: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0 Clang Version: 15.0.2-1 x86_64-native-linuxapp-gcc OS: FC37-64 Kernel Version: 6.0.15-300.fc37.x86_64 GCC Version: gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4) Clang Version: 15.0.6 (Fedora 15.0.6-2.fc37) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2204-64Rt Kernel Version: 5.15.85-rt55 GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc *Build Failed #1: OS: UB2204-32 Target: i686-native-linuxapp-gcc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Ilib/hash -I../lib/hash -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/security -I../lib/security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c: In function ‘comp_rule_id’: ../app/test-pmd/cmdline_flow.c:10959:52: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 10959 | return snprintf(buf, size, "%"PRIu64, pf->id); | ^~~ ~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/cmdline_flow.c:10: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" cc1: all warnings being treated as errors [1808/2148] Compiling C object app/dpdk-testpmd.p/test-pmd_parameters.c.o [1809/2148] Compiling C object app/dpdk-testpmd.p/.._drivers_net_bonding_bonding_testpmd.c.o [1810/2148] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o FAILED: app/dpdk-testpmd.p/test-pmd_config.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Ilib/hash -I../lib/hash -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/security -I../lib/security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_config.c.o -MF app/dpdk-testpmd.p/test-pmd_config.c.o.d -o app/dpdk-testpmd.p/test-pmd_config.c.o -c ../app/test-pmd/config.c ../app/test-pmd/config.c: In function ‘port_queue_flow_create’: ../app/test-pmd/config.c:2737:16: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 2737 | printf("Flow rule #%"PRIu64" creation enqueued\n", pf->id); | ^~~~~~~~~~~~~~ ~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" ../app/test-pmd/config.c: In function ‘port_queue_flow_destroy’: ../app/test-pmd/config.c:2791:32: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 2791 | printf("Flow rule #%"PRIu64" destruction enqueued\n", | ^~~~~~~~~~~~~~ 2792 | pf->id); | ~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" ../app/test-pmd/config.c: In function ‘port_flow_create’: ../app/test-pmd/config.c:3361:24: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 3361 | printf("Flow rule #%"PRIu64" created, user-id 0x%"PRIx64"\n", | ^~~~~~~~~~~~~~ 3362 | pf->id, pf->user_id); | ~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" ../app/test-pmd/config.c:3361:24: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 3361 | printf("Flow rule #%"PRIu64" created, user-id 0x%"PRIx64"\n", | ^~~~~~~~~~~~~~ 3362 | pf->id, pf->user_id); | ~~~~~~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:121:41: note: format string is defined here 121 | # define PRIx64 __PRI64_PREFIX "x" ../app/test-pmd/config.c:3364:24: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 3364 | printf("Flow rule #%"PRIu64" created\n", pf->id); | ^~~~~~~~~~~~~~ ~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" ../app/test-pmd/config.c: In function ‘port_flow_destroy’: ../app/test-pmd/config.c:3401:40: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 3401 | printf("Flow rule #%"PRIu64" destroyed, " | ^~~~~~~~~~~~~~ 3402 | "user-id 0x%"PRIx64"\n", 3403 | pf->id, pf->user_id); | ~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" ../app/test-pmd/config.c:3401:40: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 3401 | printf("Flow rule #%"PRIu64" destroyed, " | ^~~~~~~~~~~~~~ 3402 | "user-id 0x%"PRIx64"\n", 3403 | pf->id, pf->user_id); | ~~~~~~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:121:41: note: format string is defined here 121 | # define PRIx64 __PRI64_PREFIX "x" ../app/test-pmd/config.c:3405:40: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 3405 | printf("Flow rule #%"PRIu64" destroyed\n", | ^~~~~~~~~~~~~~ 3406 | pf->id); | ~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" ../app/test-pmd/config.c: In function ‘port_flow_dump’: ../app/test-pmd/config.c:3481:41: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 3481 | fprintf(stderr, "Failed to dump to flow %"PRIu64"\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 3482 | rule_id); | ~~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" ../app/test-pmd/config.c: In function ‘port_flow_query’: ../app/test-pmd/config.c:3534:33: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 3534 | fprintf(stderr, "Flow rule #%"PRIu64" not found\n", rule); | ^~~~~~~~~~~~~~ ~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" ../app/test-pmd/config.c: In function ‘port_flow_aged’: ../app/test-pmd/config.c:3641:32: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 3641 | printf("%-20s\t%" PRIu64 "\t%" PRIu32 "\t%" PRIu32 | ^~~~~~~~~~ ...... 3644 | ctx.pf->id, | ~~~~~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" ../app/test-pmd/config.c: In function ‘port_flow_list’: ../app/test-pmd/config.c:3719:24: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uintptr_t’ {aka ‘unsigned int’} [-Werror=format=] 3719 | printf("%" PRIu64 "\t%" PRIu32 "\t%" PRIu32 "\t%c%c%c\t", | ^~~ 3720 | pf->id, | ~~~~~~ | | | uintptr_t {aka unsigned int} In file included from ../app/test-pmd/config.c:13: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u" cc1: all warnings being treated as errors [1811/2148] Compiling C object app/dpdk-testpmd.p/test-pmd_txonly.c.o [1812/2148] Compiling C object app/dpdk-testpmd.p/.._drivers_net_ice_ice_testpmd.c.o [1813/2148] Compiling C object app/dpdk-testpmd.p/.._drivers_net_i40e_i40e_testpmd.c.o [1814/2148] Compiling C object app/dpdk-testpmd.p/.._drivers_net_ixgbe_ixgbe_testpmd.c.o [1815/2148] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o [1816/2148] Compiling C object app/dpdk-testpmd.p/test-pmd_testpmd.c.o ninja: build stopped DPDK STV team