[dpdk-test-report] |FAILURE| pw(93795) sid(17211) kni: fix compilation on SLES15-SP3

sys_stv at intel.com sys_stv at intel.com
Wed Jun 2 17:05:05 CEST 2021


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

_Compilation issues_

Submitter: Christian Ehrhardt <christian.ehrhardt at canonical.com>
Date: 2021-06-02 14:33:17
Reply_mail: 20210602143317.2333707-1-christian.ehrhardt at canonical.com

DPDK git baseline: Repo:dpdk-next-net, CommitID: 8b1e6d9eb25cbd86a0ad9b990eaf598dc9f5a15a


Meson Build Summary: 22 Builds Done, 18 Successful, 4 Failures, 0 Blocked

+------------------+------------+--------------+------------+------------+-----------+----------+
| os               | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+------------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64        | pass       | pass         | pass       |            |           | pass     |
| RHEL83-64        | pass       |              |            |            |           |          |
| FC34-64          | fail       | fail         |            |            |           |          |
| CentOsStream8-64 | pass       |              |            |            |           |          |
| UB2104-64        | pass       |              |            |            |           |          |
| WIN10-64         |            | pass         |            |            |           |          |
| UB2004-32        | pass       |              |            |            |           |          |
| CENTOS83-64      | pass       | pass         | pass       | pass       | pass      |          |
| FreeBSD1201-64   | pass       | pass         |            | pass       | pass      |          |
| SUSE15-64        | fail       | fail         |            |            |           |          |
+------------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc

OS: RHEL83-64
	Kernel Version: 4.18.0-240.el8.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896)
	x86_64-native-linuxapp-gcc

OS: FC34-64
	Kernel Version: 5.11.15-300.fc34.x86_64
	GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0)
	Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: CentOsStream8-64
	Kernel Version: 4.18.0-257.el8.x86_64
	GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
	Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577)
	x86_64-native-linuxapp-gcc

OS: UB2104-64
	Kernel Version: 5.11.0-16-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
	Clang Version: 12.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc

OS: WIN10-64
	Kernel Version: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang

OS: UB2004-32
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: CENTOS83-64
	Kernel Version: 4.18.0-240.1.1.el8_3.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.3.18-lp152.57-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 9.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: kernel/linux/kni/rte_kni.ko 
make -j4 -C /lib/modules/5.3.18-lp152.57-default/build M=/root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni src=/root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/kernel/linux/kni 'MODULE_CFLAGS=-include /root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/config/rte_config.h -I/root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/lib/librte_eal/include -I/root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/lib/librte_kni -I/root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-clang -I/root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/kernel/linux/kni' modules
make: Entering directory '/usr/src/linux-5.3.18-lp152.57-obj/x86_64/default'
  CC [M]  /root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_net.o
  CC [M]  /root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_misc.o
/root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/kernel/linux/kni/kni_net.c:791:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .ndo_tx_timeout = kni_net_tx_timeout,
                    ^~~~~~~~~~~~~~~~~~
/root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/kernel/linux/kni/kni_net.c:791:20: note: (near initialization for ‘kni_net_netdev_ops.ndo_tx_timeout’)
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-5.3.18-lp152.57/scripts/Makefile.build:282: /root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_net.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-5.3.18-lp152.57/Makefile:1650: _module_/root/SUSE15-64_K5.3.18_Clang9.0.1/x86_64-native-linuxapp-clang/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni] Error 2
make: *** [../../../linux-5.3.18-lp152.57/Makefile:179: sub-make] Error 2
make: Leaving directory '/usr/src/linux-5.3.18-lp152.57-obj/x86_64/default'
[2614/2690] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2615/2690] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2616/2690] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2617/2690] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped




*Build Failed #2:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: kernel/linux/kni/rte_kni.ko 
make -j4 -C /lib/modules/5.3.18-lp152.57-default/build M=/root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni src=/root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/kernel/linux/kni 'MODULE_CFLAGS=-include /root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/config/rte_config.h -I/root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/lib/librte_eal/include -I/root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/lib/librte_kni -I/root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-gcc -I/root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/kernel/linux/kni' modules
make: Entering directory '/usr/src/linux-5.3.18-lp152.57-obj/x86_64/default'
  CC [M]  /root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o
  CC [M]  /root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o
/root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/kernel/linux/kni/kni_net.c:791:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .ndo_tx_timeout = kni_net_tx_timeout,
                    ^~~~~~~~~~~~~~~~~~
/root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/kernel/linux/kni/kni_net.c:791:20: note: (near initialization for ‘kni_net_netdev_ops.ndo_tx_timeout’)
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-5.3.18-lp152.57/scripts/Makefile.build:281: /root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o] Error 1
make[1]: *** [/usr/src/linux-5.3.18-lp152.57/Makefile:1650: _module_/root/SUSE15-64_K5.3.18_GCC7.5.0/x86_64-native-linuxapp-gcc/4db6fed3e0674d6299f29136669ca31f/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni] Error 2
make: *** [../../../linux-5.3.18-lp152.57/Makefile:179: sub-make] Error 2
make: Leaving directory '/usr/src/linux-5.3.18-lp152.57-obj/x86_64/default'
ninja: build stopped




*Build Failed #3:
OS: FC34-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o 
gcc -Ilib/librte_table.a.p -Ilib -I../lib -Ilib/librte_table -I../lib/librte_table -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_port -I../lib/librte_port -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_kni -I../lib/librte_kni -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_acl -I../lib/librte_acl -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -MD -MQ lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o -MF lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o.d -o lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o -c ../lib/librte_table/rte_swx_table_wm.c
../lib/librte_table/rte_swx_table_wm.c: In function ‘acl_table_create’:
../lib/librte_table/rte_swx_table_wm.c:64:14: error: array subscript ‘uint64_t {aka long unsigned int}[0]’ is partly outside array bounds of ‘unsigned char[7]’ [-Werror=array-bounds]
   64 |         *tsc = rte_get_tsc_cycles();
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
../lib/librte_table/rte_swx_table_wm.c:59:16: note: referencing an object of size 7 allocated by ‘calloc’
   59 |         name = calloc(7, 1);
      |                ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[452/2729] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_port_in_action.c.o
[453/2729] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_swx_pipeline_spec.c.o
[454/2729] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_swx_ctl.c.o
[455/2729] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_pipeline.c.o
[456/2729] Compiling C object lib/librte_bpf.a.p/librte_bpf_bpf_load.c.o
[457/2729] Compiling C object lib/librte_flow_classify.a.p/librte_flow_classify_rte_flow_classify_parse.c.o
[458/2729] Compiling C object lib/librte_flow_classify.a.p/librte_flow_classify_rte_flow_classify.c.o
[459/2729] Compiling C object lib/librte_vhost.a.p/librte_vhost_virtio_net.c.o
[460/2729] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_swx_pipeline.c.o
[461/2729] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_crypto.c.o
[462/2729] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #4:
OS: FC34-64
Target: x86_64-native-linuxapp-clang
FAILED: app/test/dpdk-test.p/test_cmdline_ipaddr.c.o 
clang -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/librte_acl -I../lib/librte_acl -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_bitratestats -I../lib/librte_bitratestats -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_bpf -I../lib/librte_bpf -Ilib/librte_cfgfile -I../lib/librte_cfgfile -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_distributor -I../lib/librte_distributor -Ilib/librte_efd -I../lib/librte_efd -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_fib -I../lib/librte_fib -Ilib/librte_rib -I../lib/librte_rib -Ilib/librte_flow_classify -I../lib/librte_flow_classify -Ilib/librte_table -I../lib/librte_table -Ilib/librte_port -I../lib/librte_port -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_kni -I../lib/librte_kni -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_graph -I../lib/librte_graph -Ilib/librte_ipsec -I../lib/librte_ipsec -Ilib/librte_security -I../lib/librte_security -Ilib/librte_latencystats -I../lib/librte_latencystats -Ilib/librte_member -I../lib/librte_member -Ilib/librte_node -I../lib/librte_node -Ilib/librte_pipeline -I../lib/librte_pipeline -Ilib/librte_rawdev -I../lib/librte_rawdev -Ilib/librte_reorder -I../lib/librte_reorder -Ilib/librte_stack -I../lib/librte_stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/librte_power -I../lib/librte_power -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_compressdev -I../lib/librte_compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_cmdline_ipaddr.c.o -MF app/test/dpdk-test.p/test_cmdline_ipaddr.c.o.d -o app/test/dpdk-test.p/test_cmdline_ipaddr.c.o -c ../app/test/test_cmdline_ipaddr.c
../app/test/test_cmdline_ipaddr.c:259:3: error: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation]
                "random invalid text",
                ^
../app/test/test_cmdline_ipaddr.c:258:3: note: place parentheses around the string literal to silence warning
                "1234:1234:1234:1234:1234:1234:1234:1234:1234:1234:1234"
                ^
1 error generated.
[2361/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_bpf_cmd.c.o
[2362/2729] Compiling C object app/test/dpdk-test.p/test_cmdline_lib.c.o
[2363/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_testpmd.c.o
[2364/2729] Compiling C object app/dpdk-test-sad.p/test-sad_main.c.o
[2365/2729] Compiling C object app/dpdk-test-regex.p/test-regex_main.c.o
[2366/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
[2367/2729] Compiling C object app/test/dpdk-test.p/packet_burst_generator.c.o
[2368/2729] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2369/2729] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list