compilation|FAILURE| pw(157443) sid(36323) job(PER_PATCH_BUILD16874)[v2, 54/54] net/bnxt/tf_ulp: remove Truflow DEBUG code
sys_stv at intel.com
sys_stv at intel.com
Sat Oct 11 03:53:54 CEST 2025
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/157443
_Compilation issues_
Submitter: Manish Kurup <manish.kurup at broadcom.com>
Date: 2025-10-09 22:11:29
Reply_mail: <20251009221129.28256-55-manish.kurup at broadcom.com>
DPDK git baseline: Repo:dpdk-next-net-brcm, CommitID: 1d627ea13aeec2bcccf27246e6be2508370d171e
Meson Build Summary: 23 Builds Done, 22 Successful, 1 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | pass | | | | | | |
| FreeBSD14-64 | pass | pass | | pass | pass | | |
| RHEL96-64 | pass | pass | | pass | pass | | |
| SUSE15-64 | pass | pass | | | | | |
| AzureLinux3.0-64 | pass | | | | | | |
| UB2404-32 | fail | | | | | | |
| RHEL10-64 | pass | | | | | | |
| UB2404-64 | pass | pass | | | | pass | pass |
| RHEL10-64RT | pass | | | | | | |
| UB2504-64 | pass | | | | | | |
| Fedora42-64 | pass | pass | | | | | |
| OpenEuler2404-64 | 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: OpenAnolis8.10-64
Kernel Version: 5.10.134-18.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1)
Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.3-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 13.3.0
Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL96-64
Kernel Version: 5.14.0-570.12.1.el9_6.x86_64
GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el9)
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: 6.4.0-150700.51-default
GCC Version: gcc (SUSE Linux) 14.2.0
Clang Version: 17.0.6
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: AzureLinux3.0-64
Kernel Version: 6.6.47.1-1.azl3
GCC Version: gcc (GCC) 13.2.0
Clang Version: 18.1.2
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL10-64
Kernel Version: 6.12.0-55.9.1.el10_0.x86_64
GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: 18.1.3 (1ubuntu1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL10-64RT
Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt
GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
x86_64-native-linuxapp-gcc
OS: UB2504-64
Kernel Version: 6.14.0-15-generic
GCC Version: gcc (Ubuntu 14.2.0-19ubuntu2) 14.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: Fedora42-64
Kernel Version: 6.14.0-63.fc42.x86_64
GCC Version: gcc (GCC) 15.0.1 20250329 (Red Hat 15.0.1-0)
Clang Version: 20.1.3 (Fedora 20.1.3-1.fc42)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: OpenEuler2404-64
Kernel Version: 6.6.0-98.0.0.103.oe2403sp2.x86_64
GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-98.oe2403sp2)
Clang Version: 17.0.6 ( 17.0.6-45.oe2403sp2)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_tcam_debug.c.o
gcc -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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/tf_core/v3 -I../drivers/net/bnxt/tf_core/v3 -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/net/bnxt/hcapi/cfa_v3 -I../drivers/net/bnxt/hcapi/cfa_v3 -I../drivers/net/bnxt/hcapi/cfa_v3/include -I../drivers/net/bnxt/hcapi/cfa_v3/include/platform/dpdk -I../drivers/net/bnxt/hcapi/cfa_v3/bld/p70 -I../drivers/net/bnxt/hcapi/cfa_v3/bld/p70/host -I../drivers/net/bnxt/hcapi/cfa_v3/bld/include -I../drivers/net/bnxt/hcapi/cfa_v3/bld/include/host -I../drivers/net/bnxt/hcapi/cfa_v3/bld/include/p70 -I../drivers/net/bnxt/hcapi/cfa_v3/mm/include -I../drivers/net/bnxt/hcapi/cfa_v3/tim/include -I../drivers/net/bnxt/hcapi/cfa_v3/tpm/include -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -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-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DBNXT_TF_APP_ID=0 -DSUPPORT_CFA_HW_P70=1 -DCFA_BLD_PRINT_OBJ=1 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_tcam_debug.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_tcam_debug.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_tcam_debug.c.o -c ../drivers/net/bnxt/tf_core/v3/tfc_tcam_debug.c
../drivers/net/bnxt/tf_core/v3/tfc_tcam_debug.c: In function ‘l2ctx_tcam_show’:
../drivers/net/bnxt/tf_core/v3/tfc_tcam_debug.c:718:64: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
718 | snprintf(line4, TFC_STRING_LENGTH_256, " x%016lx x%016lx x%04x key\n",
| ~~~~~^
| |
| long unsigned int
| %016llx
719 | l2ctx_key_info->ipv6.ADDR0[1],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
../drivers/net/bnxt/tf_core/v3/tfc_tcam_debug.c:718:72: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
718 | snprintf(line4, TFC_STRING_LENGTH_256, " x%016lx x%016lx x%04x key\n",
| ~~~~~^
| |
| long unsigned int
| %016llx
719 | l2ctx_key_info->ipv6.ADDR0[1],
720 | l2ctx_key_info->ipv6.ADDR0[0],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
../drivers/net/bnxt/tf_core/v3/tfc_tcam_debug.c:722:64: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
722 | snprintf(line5, TFC_STRING_LENGTH_256, " x%016lx x%016lx x%04x mask\n",
| ~~~~~^
| |
| long unsigned int
| %016llx
723 | l2ctx_mask_info->ipv6.ADDR0[1],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
../drivers/net/bnxt/tf_core/v3/tfc_tcam_debug.c:722:72: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
722 | snprintf(line5, TFC_STRING_LENGTH_256, " x%016lx x%016lx x%04x mask\n",
| ~~~~~^
| |
| long unsigned int
| %016llx
723 | l2ctx_mask_info->ipv6.ADDR0[1],
724 | l2ctx_mask_info->ipv6.ADDR0[0],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
../drivers/net/bnxt/tf_core/v3/tfc_tcam_debug.c:733:64: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
733 | snprintf(line4, TFC_STRING_LENGTH_256, " x%012lx x%012lx %01x %01x x%03x"
| ~~~~~^
| |
| long unsigned int
| %012llx
734 | " %01x x%03x %01x x%04x key\n",
735 | l2ctx_key_info->ipv4.ADDR0,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
../drivers/net/bnxt/tf_core/v3/tfc_tcam_debug.c:733:72: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
733 | snprintf(line4, TFC_STRING_LENGTH_256, " x%012lx x%012lx %01x %01x x%03x"
| ~~~~~^
| |
| long unsigned int
| %012llx
......
736 | l2ctx_key_info->ipv4.ADDR1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
../drivers/net/bnxt/tf_core/v3/tfc_tcam_debug.c:744:64: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
744 | snprintf(line5, TFC_STRING_LENGTH_256, " x%012lx x%012lx %01x %01x x%03x"
| ~~~~~^
| |
| long unsigned int
| %012llx
745 | " %01x x%03x %01x x%04x mask\n",
746 | l2ctx_mask_info->ipv4.ADDR0,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
../drivers/net/bnxt/tf_core/v3/tfc_tcam_debug.c:744:72: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
744 | snprintf(line5, TFC_STRING_LENGTH_256, " x%012lx x%012lx %01x %01x x%03x"
| ~~~~~^
| |
| long unsigned int
| %012llx
......
747 | l2ctx_mask_info->ipv4.ADDR1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
cc1: all warnings being treated as errors
[1078/2684] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_hcapi_cfa_v3_bld_p70_cfa_bld_p70_mpc.c.o
[1079/2684] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_session.c.o
[1080/2684] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_mpc_debug.c.o
FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_mpc_debug.c.o
gcc -Idrivers/libtmp_rte_net_bnxt.a.p -Idrivers -I../drivers -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/tf_core/v3 -I../drivers/net/bnxt/tf_core/v3 -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/net/bnxt/hcapi/cfa_v3 -I../drivers/net/bnxt/hcapi/cfa_v3 -I../drivers/net/bnxt/hcapi/cfa_v3/include -I../drivers/net/bnxt/hcapi/cfa_v3/include/platform/dpdk -I../drivers/net/bnxt/hcapi/cfa_v3/bld/p70 -I../drivers/net/bnxt/hcapi/cfa_v3/bld/p70/host -I../drivers/net/bnxt/hcapi/cfa_v3/bld/include -I../drivers/net/bnxt/hcapi/cfa_v3/bld/include/host -I../drivers/net/bnxt/hcapi/cfa_v3/bld/include/p70 -I../drivers/net/bnxt/hcapi/cfa_v3/mm/include -I../drivers/net/bnxt/hcapi/cfa_v3/tim/include -I../drivers/net/bnxt/hcapi/cfa_v3/tpm/include -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -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-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DBNXT_TF_APP_ID=0 -DSUPPORT_CFA_HW_P70=1 -DCFA_BLD_PRINT_OBJ=1 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_mpc_debug.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_mpc_debug.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_mpc_debug.c.o -c ../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c: In function ‘act_process’:
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:516:19: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
516 | act_ptr = (uint8_t *)get_address(act_mem_cfg, act_offset);
| ^
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c: In function ‘act_decode’:
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:979:36: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
979 | mod_decode((uint32_t *)(base + (act_info->full.mod_ptr << 3)),
| ^
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:985:37: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
985 | (uint32_t *)(base + (act_info->full.stat0_ptr << 3)));
| ^
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:990:37: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
990 | (uint32_t *)(base + (act_info->full.stat1_ptr << 3)));
| ^
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:992:36: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
992 | enc_decode((uint32_t *)(base + (act_info->full.enc_ptr << 3)),
| ^
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c: In function ‘stat_decode’:
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1149:9: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
1149 | "Stats:%d Pkt count:%016ld Byte count:%016ld\n"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1169:18: note: in expansion of macro ‘STATS_COMMON_FMT’
1169 | STATS_COMMON_FMT,
| ^~~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1149:34: note: format string is defined here
1149 | "Stats:%d Pkt count:%016ld Byte count:%016ld\n"
| ~~~~~^
| |
| long int
| %016lld
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1149:9: error: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
1149 | "Stats:%d Pkt count:%016ld Byte count:%016ld\n"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1169:18: note: in expansion of macro ‘STATS_COMMON_FMT’
1169 | STATS_COMMON_FMT,
| ^~~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1149:52: note: format string is defined here
1149 | "Stats:%d Pkt count:%016ld Byte count:%016ld\n"
| ~~~~~^
| |
| long int
| %016lld
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1151:9: error: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
1151 | "\tMeter pkt count:%016ld Meter byte count:%016ld\n"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1188:26: note: in expansion of macro ‘STATS_METER_FMT’
1188 | STATS_METER_FMT,
| ^~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1151:33: note: format string is defined here
1151 | "\tMeter pkt count:%016ld Meter byte count:%016ld\n"
| ~~~~~^
| |
| long int
| %016lld
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1151:9: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
1151 | "\tMeter pkt count:%016ld Meter byte count:%016ld\n"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1188:26: note: in expansion of macro ‘STATS_METER_FMT’
1188 | STATS_METER_FMT,
| ^~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1151:57: note: format string is defined here
1151 | "\tMeter pkt count:%016ld Meter byte count:%016ld\n"
| ~~~~~^
| |
| long int
| %016lld
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1151:9: error: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
1151 | "\tMeter pkt count:%016ld Meter byte count:%016ld\n"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1199:26: note: in expansion of macro ‘STATS_METER_FMT’
1199 | STATS_METER_FMT STATS_TCP_FLAGS_FMT,
| ^~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1151:33: note: format string is defined here
1151 | "\tMeter pkt count:%016ld Meter byte count:%016ld\n"
| ~~~~~^
| |
| long int
| %016lld
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1151:9: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
1151 | "\tMeter pkt count:%016ld Meter byte count:%016ld\n"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1199:26: note: in expansion of macro ‘STATS_METER_FMT’
1199 | STATS_METER_FMT STATS_TCP_FLAGS_FMT,
| ^~~~~~~~~~~~~~~
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1151:57: note: format string is defined here
1151 | "\tMeter pkt count:%016ld Meter byte count:%016ld\n"
| ~~~~~^
| |
| long int
| %016lld
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c: In function ‘bucket_decode’:
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1243:34: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1243 | em_ptr = (uint8_t *)get_address(lkup_mem_cfg,
| ^
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c: In function ‘tfc_em_show’:
../drivers/net/bnxt/tf_core/v3/tfc_mpc_debug.c:1369:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1369 | bucket_ptr = (uint8_t *)get_address(lkup_mem_cfg, bucket_offset);
| ^
cc1: all warnings being treated as errors
[1081/2684] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_resources.c.o
[1082/2684] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_priv.c.o
[1083/2684] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_util.c.o
[1084/2684] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_vf2pf_msg.c.o
[1085/2684] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_tcam.c.o
[1086/2684] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_v3_tfc_tbl_scope.c.o
ninja: build stopped
DPDK STV team
More information about the test-report
mailing list