automatic DPDK test reports
 help / color / mirror / Atom feed
* compilation|FAILURE| pw(129312) sid(28844) job(PER_PATCH_BUILD8260)[v11, 2/2] net/i40e: replace put function
@ 2023-07-06  6:50 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2023-07-06  6:50 UTC (permalink / raw)
  To: test-report, kamalakshitha.aligeri

[-- Attachment #1: Type: text/plain, Size: 28063 bytes --]


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/129312

_Compilation issues_

Submitter: Kamalakshitha Aligeri <kamalakshitha.aligeri@arm.com>
Date: 2023-07-05 18:02:33
Reply_mail: <20230705180233.880203-2-kamalakshitha.aligeri@arm.com>

DPDK git baseline: Repo:dpdk, CommitID: a64a4564705d18d20d20cfa16c79e795b7bf0f1e


Meson Build Summary: 25 Builds Done, 23 Successful, 2 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64  | pass       |              |            |            |           |          |            |
| FreeBSD13-64      | pass       | pass         |            | pass       | fail      |          |            |
| RHEL92-64         | pass       | pass         |            | pass       | fail      |          |            |
| SUSE15-64         | pass       | pass         |            |            |           |          |            |
| CBL-Mariner2.0-64 | pass       |              |            |            |           |          |            |
| UB2004-64         | pass       |              |            |            |           |          |            |
| UB2204-32         | pass       |              |            |            |           |          |            |
| RHEL87-64         | pass       |              |            |            |           |          |            |
| UB2204-64         | pass       | pass         |            |            |           | pass     | pass       |
| CentOS79-64       | pass       |              |            |            |           |          |            |
| RHEL92-64Rt       | pass       |              |            |            |           |          |            |
| UB2304-64         | pass       |              |            |            |           |          |            |
| FC38-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: OpenAnolis8.8-64
	Kernel Version: 5.10.134-13.an8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
	Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
	x86_64-native-linuxapp-gcc

OS: FreeBSD13-64
	Kernel Version: 13.2-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
	Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL92-64
	Kernel Version: 5.14.0-284.11.1.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.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: 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: CBL-Mariner2.0-64
	Kernel Version: 5.15.55.1_2e9a4f9+
	GCC Version: gcc (GCC) 11.2.0
	Clang Version: NA
	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-gcc

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: RHEL87-64
	Kernel Version: 4.18.0-425.3.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15)
	Clang Version: NA
	x86_64-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: RHEL92-64Rt
	Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
	x86_64-native-linuxapp-gcc

OS: UB2304-64
	Kernel Version: 6.2.0-20-generic
	GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: FC38-64
	Kernel Version: 6.2.9-300.fc38.x86_64
	GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0)
	Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2204-64Rt
	Kernel Version: 5.15.111-rt63
	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: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o 
gcc -Idrivers/libtmp_rte_net_i40e.a.p -Idrivers -I../drivers -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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 -O2 -g -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DPF_DRIVER -DVF_DRIVER -DINTEGRATED_VF -DX722_A0_SUPPORT -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.i40e -MD -MQ drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o -MF drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o.d -o drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o -c ../drivers/net/i40e/i40e_rxtx_vec_avx2.c
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/net/rte_ether.h:22,
                 from ../lib/ethdev/rte_eth_ctrl.h:10,
                 from ../lib/ethdev/rte_ethdev.h:1421,
                 from ../lib/ethdev/ethdev_driver.h:23,
                 from ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:6:
../lib/mempool/rte_mempool.h: In function 'i40e_xmit_fixed_burst_vec_avx2':
../lib/mempool/rte_mempool.h:415:9: error: 'free' may be used uninitialized [-Werror=maybe-uninitialized]
  415 |         rte_mempool_check_cookies(mp, obj_table_const, n, free)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:410:6: note: by argument 2 of type 'void * const*' to 'rte_mempool_check_cookies' declared here
  410 | void rte_mempool_check_cookies(const struct rte_mempool *mp,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:13:
../drivers/net/i40e/i40e_rxtx_vec_common.h:88:30: note: 'free' declared here
   88 |         struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
      |                              ^~~~
../lib/mempool/rte_mempool.h:415:9: error: 'free' may be used uninitialized [-Werror=maybe-uninitialized]
  415 |         rte_mempool_check_cookies(mp, obj_table_const, n, free)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:410:6: note: by argument 2 of type 'void * const*' to 'rte_mempool_check_cookies' declared here
  410 | void rte_mempool_check_cookies(const struct rte_mempool *mp,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/i40e/i40e_rxtx_vec_common.h:88:30: note: 'free' declared here
   88 |         struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
      |                              ^~~~
cc1: all warnings being treated as errors
[993/1923] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o
FAILED: drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o 
gcc -Idrivers/libtmp_rte_net_i40e.a.p -Idrivers -I../drivers -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -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 -O2 -g -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DPF_DRIVER -DVF_DRIVER -DINTEGRATED_VF -DX722_A0_SUPPORT -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.i40e -MD -MQ drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o -MF drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o.d -o drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o -c ../drivers/net/i40e/i40e_rxtx_vec_sse.c
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/net/rte_ether.h:22,
                 from ../lib/ethdev/rte_eth_ctrl.h:10,
                 from ../lib/ethdev/rte_ethdev.h:1421,
                 from ../lib/ethdev/ethdev_driver.h:23,
                 from ../drivers/net/i40e/i40e_rxtx_vec_sse.c:6:
../lib/mempool/rte_mempool.h: In function 'i40e_xmit_fixed_burst_vec':
../lib/mempool/rte_mempool.h:415:9: error: 'free' may be used uninitialized [-Werror=maybe-uninitialized]
  415 |         rte_mempool_check_cookies(mp, obj_table_const, n, free)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:410:6: note: by argument 2 of type 'void * const*' to 'rte_mempool_check_cookies' declared here
  410 | void rte_mempool_check_cookies(const struct rte_mempool *mp,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/i40e/i40e_rxtx_vec_sse.c:13:
../drivers/net/i40e/i40e_rxtx_vec_common.h:88:30: note: 'free' declared here
   88 |         struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
      |                              ^~~~
../lib/mempool/rte_mempool.h:415:9: error: 'free' may be used uninitialized [-Werror=maybe-uninitialized]
  415 |         rte_mempool_check_cookies(mp, obj_table_const, n, free)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:410:6: note: by argument 2 of type 'void * const*' to 'rte_mempool_check_cookies' declared here
  410 | void rte_mempool_check_cookies(const struct rte_mempool *mp,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/i40e/i40e_rxtx_vec_common.h:88:30: note: 'free' declared here
   88 |         struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
      |                              ^~~~
cc1: all warnings being treated as errors
[994/1923] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[995/1923] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
[996/1923] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[997/1923] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[998/1923] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
[999/1923] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1000/1923] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1001/1923] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #2:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o 
gcc -Idrivers/libtmp_rte_net_i40e.a.p -Idrivers -I../drivers -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -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 -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 -O2 -g -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DPF_DRIVER -DVF_DRIVER -DINTEGRATED_VF -DX722_A0_SUPPORT -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.i40e -MD -MQ drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o -MF drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o.d -o drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o -c ../drivers/net/i40e/i40e_rxtx_vec_sse.c
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/net/rte_ether.h:22,
                 from ../lib/ethdev/rte_eth_ctrl.h:10,
                 from ../lib/ethdev/rte_ethdev.h:1421,
                 from ../lib/ethdev/ethdev_driver.h:23,
                 from ../drivers/net/i40e/i40e_rxtx_vec_sse.c:6:
In function ‘rte_mempool_generic_put’,
    inlined from ‘i40e_tx_free_bufs’ at ../drivers/net/i40e/i40e_rxtx_vec_common.h:124:3,
    inlined from ‘i40e_xmit_fixed_burst_vec’ at ../drivers/net/i40e/i40e_rxtx_vec_sse.c:714:3:
../lib/mempool/rte_mempool.h:415:9: error: ‘free’ may be used uninitialized [-Werror=maybe-uninitialized]
  415 |         rte_mempool_check_cookies(mp, obj_table_const, n, free)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:1611:9: note: in expansion of macro ‘RTE_MEMPOOL_CHECK_COOKIES’
 1611 |         RTE_MEMPOOL_CHECK_COOKIES(mp, obj_table, n, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/i40e/i40e_rxtx_vec_sse.c: In function ‘i40e_xmit_fixed_burst_vec’:
../lib/mempool/rte_mempool.h:410:6: note: by argument 2 of type ‘void * const*’ to ‘rte_mempool_check_cookies’ declared here
  410 | void rte_mempool_check_cookies(const struct rte_mempool *mp,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/i40e/i40e_rxtx_vec_sse.c:13:
../drivers/net/i40e/i40e_rxtx_vec_common.h:88:30: note: ‘free’ declared here
   88 |         struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
      |                              ^~~~
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/net/rte_ether.h:22,
                 from ../lib/ethdev/rte_eth_ctrl.h:10,
                 from ../lib/ethdev/rte_ethdev.h:1421,
                 from ../lib/ethdev/ethdev_driver.h:23,
                 from ../drivers/net/i40e/i40e_rxtx_vec_sse.c:6:
In function ‘rte_mempool_generic_put’,
    inlined from ‘i40e_tx_free_bufs’ at ../drivers/net/i40e/i40e_rxtx_vec_common.h:124:3,
    inlined from ‘i40e_xmit_fixed_burst_vec’ at ../drivers/net/i40e/i40e_rxtx_vec_sse.c:714:3:
../lib/mempool/rte_mempool.h:415:9: error: ‘free’ may be used uninitialized [-Werror=maybe-uninitialized]
  415 |         rte_mempool_check_cookies(mp, obj_table_const, n, free)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:1611:9: note: in expansion of macro ‘RTE_MEMPOOL_CHECK_COOKIES’
 1611 |         RTE_MEMPOOL_CHECK_COOKIES(mp, obj_table, n, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/i40e/i40e_rxtx_vec_sse.c: In function ‘i40e_xmit_fixed_burst_vec’:
../lib/mempool/rte_mempool.h:410:6: note: by argument 2 of type ‘void * const*’ to ‘rte_mempool_check_cookies’ declared here
  410 | void rte_mempool_check_cookies(const struct rte_mempool *mp,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/i40e/i40e_rxtx_vec_sse.c:13:
../drivers/net/i40e/i40e_rxtx_vec_common.h:88:30: note: ‘free’ declared here
   88 |         struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
      |                              ^~~~
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/net/rte_ether.h:22,
                 from ../lib/ethdev/rte_eth_ctrl.h:10,
                 from ../lib/ethdev/rte_ethdev.h:1421,
                 from ../lib/ethdev/ethdev_driver.h:23,
                 from ../drivers/net/i40e/i40e_rxtx_vec_sse.c:6:
In function ‘rte_mempool_generic_put’,
    inlined from ‘i40e_tx_free_bufs’ at ../drivers/net/i40e/i40e_rxtx_vec_common.h:124:3,
    inlined from ‘i40e_xmit_fixed_burst_vec’ at ../drivers/net/i40e/i40e_rxtx_vec_sse.c:714:3:
../lib/mempool/rte_mempool.h:415:9: error: ‘free’ may be used uninitialized [-Werror=maybe-uninitialized]
  415 |         rte_mempool_check_cookies(mp, obj_table_const, n, free)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:1611:9: note: in expansion of macro ‘RTE_MEMPOOL_CHECK_COOKIES’
 1611 |         RTE_MEMPOOL_CHECK_COOKIES(mp, obj_table, n, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/i40e/i40e_rxtx_vec_sse.c: In function ‘i40e_xmit_fixed_burst_vec’:
../lib/mempool/rte_mempool.h:410:6: note: by argument 2 of type ‘void * const*’ to ‘rte_mempool_check_cookies’ declared here
  410 | void rte_mempool_check_cookies(const struct rte_mempool *mp,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/i40e/i40e_rxtx_vec_sse.c:13:
../drivers/net/i40e/i40e_rxtx_vec_common.h:88:30: note: ‘free’ declared here
   88 |         struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
      |                              ^~~~
cc1: all warnings being treated as errors
[1430/2756] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx.c.o
[1431/2756] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o
FAILED: drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o 
gcc -Idrivers/libtmp_rte_net_i40e.a.p -Idrivers -I../drivers -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -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 -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 -O2 -g -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DPF_DRIVER -DVF_DRIVER -DINTEGRATED_VF -DX722_A0_SUPPORT -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.i40e -MD -MQ drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o -MF drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o.d -o drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o -c ../drivers/net/i40e/i40e_rxtx_vec_avx2.c
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/net/rte_ether.h:22,
                 from ../lib/ethdev/rte_eth_ctrl.h:10,
                 from ../lib/ethdev/rte_ethdev.h:1421,
                 from ../lib/ethdev/ethdev_driver.h:23,
                 from ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:6:
In function ‘rte_mempool_generic_put’,
    inlined from ‘i40e_tx_free_bufs’ at ../drivers/net/i40e/i40e_rxtx_vec_common.h:124:3,
    inlined from ‘i40e_xmit_fixed_burst_vec_avx2’ at ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:770:3:
../lib/mempool/rte_mempool.h:415:9: error: ‘free’ may be used uninitialized [-Werror=maybe-uninitialized]
  415 |         rte_mempool_check_cookies(mp, obj_table_const, n, free)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:1611:9: note: in expansion of macro ‘RTE_MEMPOOL_CHECK_COOKIES’
 1611 |         RTE_MEMPOOL_CHECK_COOKIES(mp, obj_table, n, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/i40e/i40e_rxtx_vec_avx2.c: In function ‘i40e_xmit_fixed_burst_vec_avx2’:
../lib/mempool/rte_mempool.h:410:6: note: by argument 2 of type ‘void * const*’ to ‘rte_mempool_check_cookies’ declared here
  410 | void rte_mempool_check_cookies(const struct rte_mempool *mp,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:13:
../drivers/net/i40e/i40e_rxtx_vec_common.h:88:30: note: ‘free’ declared here
   88 |         struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
      |                              ^~~~
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/net/rte_ether.h:22,
                 from ../lib/ethdev/rte_eth_ctrl.h:10,
                 from ../lib/ethdev/rte_ethdev.h:1421,
                 from ../lib/ethdev/ethdev_driver.h:23,
                 from ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:6:
In function ‘rte_mempool_generic_put’,
    inlined from ‘i40e_tx_free_bufs’ at ../drivers/net/i40e/i40e_rxtx_vec_common.h:124:3,
    inlined from ‘i40e_xmit_fixed_burst_vec_avx2’ at ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:770:3:
../lib/mempool/rte_mempool.h:415:9: error: ‘free’ may be used uninitialized [-Werror=maybe-uninitialized]
  415 |         rte_mempool_check_cookies(mp, obj_table_const, n, free)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:1611:9: note: in expansion of macro ‘RTE_MEMPOOL_CHECK_COOKIES’
 1611 |         RTE_MEMPOOL_CHECK_COOKIES(mp, obj_table, n, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/i40e/i40e_rxtx_vec_avx2.c: In function ‘i40e_xmit_fixed_burst_vec_avx2’:
../lib/mempool/rte_mempool.h:410:6: note: by argument 2 of type ‘void * const*’ to ‘rte_mempool_check_cookies’ declared here
  410 | void rte_mempool_check_cookies(const struct rte_mempool *mp,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:13:
../drivers/net/i40e/i40e_rxtx_vec_common.h:88:30: note: ‘free’ declared here
   88 |         struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
      |                              ^~~~
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../lib/net/rte_ether.h:22,
                 from ../lib/ethdev/rte_eth_ctrl.h:10,
                 from ../lib/ethdev/rte_ethdev.h:1421,
                 from ../lib/ethdev/ethdev_driver.h:23,
                 from ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:6:
In function ‘rte_mempool_generic_put’,
    inlined from ‘i40e_tx_free_bufs’ at ../drivers/net/i40e/i40e_rxtx_vec_common.h:124:3,
    inlined from ‘i40e_xmit_fixed_burst_vec_avx2’ at ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:770:3:
../lib/mempool/rte_mempool.h:415:9: error: ‘free’ may be used uninitialized [-Werror=maybe-uninitialized]
  415 |         rte_mempool_check_cookies(mp, obj_table_const, n, free)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:1611:9: note: in expansion of macro ‘RTE_MEMPOOL_CHECK_COOKIES’
 1611 |         RTE_MEMPOOL_CHECK_COOKIES(mp, obj_table, n, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/i40e/i40e_rxtx_vec_avx2.c: In function ‘i40e_xmit_fixed_burst_vec_avx2’:
../lib/mempool/rte_mempool.h:410:6: note: by argument 2 of type ‘void * const*’ to ‘rte_mempool_check_cookies’ declared here
  410 | void rte_mempool_check_cookies(const struct rte_mempool *mp,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/i40e/i40e_rxtx_vec_avx2.c:13:
../drivers/net/i40e/i40e_rxtx_vec_common.h:88:30: note: ‘free’ declared here
   88 |         struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
      |                              ^~~~
cc1: all warnings being treated as errors
[1432/2756] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_rte_pmd_i40e.c.o
[1433/2756] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1434/2756] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
[1435/2756] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
[1436/2756] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1437/2756] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1438/2756] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-06  6:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06  6:50 compilation|FAILURE| pw(129312) sid(28844) job(PER_PATCH_BUILD8260)[v11, 2/2] net/i40e: replace put function 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).