automatic DPDK test reports
 help / color / mirror / Atom feed
* compilation|FAILURE| pw(158640) sid(36640) job(PER_PATCH_BUILD17218)[3/3] examples: re-enable format truncation warning
@ 2025-11-10 22:47 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2025-11-10 22:47 UTC (permalink / raw)
  To: test-report, stephen

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


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

_Compilation issues_

Submitter: Stephen Hemminger <stephen@networkplumber.org>
Date: 2025-11-10 18:19:35
Reply_mail: <20251110182209.104087-4-stephen@networkplumber.org>

DPDK git baseline: Repo:dpdk-next-virtio, CommitID: 6b37c26a95388aa41bb5267c7c42f604fd571a38


Meson Build Summary: 23 Builds Done, 19 Successful, 4 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | fail       |              |            |            |           |          |            |
| FreeBSD14-64      | pass       | pass         |            | pass       | pass      |          |            |
| RHEL96-64         | fail       | pass         |            | pass       | fail      |          |            |
| SUSE15-64         | pass       | pass         |            |            |           |          |            |
| AzureLinux3.0-64  | pass       |              |            |            |           |          |            |
| UB2404-32         | pass       |              |            |            |           |          |            |
| RHEL10-64         | pass       |              |            |            |           |          |            |
| UB2404-64         | pass       | pass         |            |            |           | pass     | pass       |
| RHEL10-64RT       | pass       |              |            |            |           |          |            |
| UB2504-64         | pass       |              |            |            |           |          |            |
| Fedora42-64       | pass       | pass         |            |            |           |          |            |
| OpenEuler2404-64  | fail       |              |            |            |           |          |            |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+

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: OpenAnolis8.10-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o 
gcc -Iexamples/dpdk-ip_reassembly.p -Iexamples -I../examples -Iexamples/ip_reassembly -I../examples/ip_reassembly -I../examples/common -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/argparse -I../lib/argparse -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/lpm -I../lib/lpm -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/ip_frag -I../lib/ip_frag -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 -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o -MF examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o.d -o examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o -c ../examples/ip_reassembly/main.c
../examples/ip_reassembly/main.c: In function ‘main’:
../examples/ip_reassembly/main.c:887:45: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
  snprintf(buf, sizeof(buf), "mbuf_pool_%u_%u", lcore, queue);
                                             ^
../examples/ip_reassembly/main.c:887:2: note: ‘snprintf’ output between 14 and 27 bytes into a destination of size 26
  snprintf(buf, sizeof(buf), "mbuf_pool_%u_%u", lcore, queue);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[3569/3686] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_cli.c.o
[3570/3686] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_ipsec_process.c.o
[3571/3686] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_esp.c.o
[3572/3686] Linking target examples/dpdk-vhost_crypto
[3573/3686] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_ipsec.c.o
[3574/3686] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_ipsec_worker.c.o
[3575/3686] Compiling C object app/dpdk-test.p/test_test_ring.c.o
[3576/3686] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_ipsec-secgw.c.o
[3577/3686] Compiling C object app/dpdk-test.p/test_test_ring_perf.c.o
ninja: build stopped




*Build Failed #2:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o 
gcc -Iexamples/dpdk-ip_reassembly.p -Iexamples -I../examples -Iexamples/ip_reassembly -I../examples/ip_reassembly -I../examples/common -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/argparse -I../lib/argparse -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/lpm -I../lib/lpm -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/ip_frag -I../lib/ip_frag -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 -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o -MF examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o.d -o examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o -c ../examples/ip_reassembly/main.c
../examples/ip_reassembly/main.c: In function ‘main’:
../examples/ip_reassembly/main.c:887:52: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
  887 |         snprintf(buf, sizeof(buf), "mbuf_pool_%u_%u", lcore, queue);
      |                                                    ^
../examples/ip_reassembly/main.c:887:9: note: ‘snprintf’ output between 14 and 27 bytes into a destination of size 26
  887 |         snprintf(buf, sizeof(buf), "mbuf_pool_%u_%u", lcore, queue);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[3502/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_event_helper.c.o
[3503/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_sad.c.o
[3504/3621] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_cli.c.o
[3505/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_parser.c.o
[3506/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_rt.c.o
[3507/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_ipsec.c.o
[3508/3621] Linking target app/dpdk-test
[3509/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_sa.c.o
[3510/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_ipsec-secgw.c.o
ninja: build stopped




*Build Failed #3:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o 
gcc -Iexamples/dpdk-ip_reassembly.p -Iexamples -I../examples -Iexamples/ip_reassembly -I../examples/ip_reassembly -I../examples/common -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/argparse -I../lib/argparse -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/lpm -I../lib/lpm -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/ip_frag -I../lib/ip_frag -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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 -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o -MF examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o.d -o examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o -c ../examples/ip_reassembly/main.c
../examples/ip_reassembly/main.c: In function ‘main’:
../examples/ip_reassembly/main.c:887:52: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
  887 |         snprintf(buf, sizeof(buf), "mbuf_pool_%u_%u", lcore, queue);
      |                                                    ^
../examples/ip_reassembly/main.c:887:9: note: ‘snprintf’ output between 14 and 27 bytes into a destination of size 26
  887 |         snprintf(buf, sizeof(buf), "mbuf_pool_%u_%u", lcore, queue);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[3498/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_flow.c.o
[3499/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_sad.c.o
[3500/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_sa.c.o
[3501/3621] Linking target examples/dpdk-helloworld
[3502/3621] Linking target examples/dpdk-ip_fragmentation
[3503/3621] Linking target app/dpdk-test
[3504/3621] Linking target examples/dpdk-flow_filtering
[3505/3621] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_ipsec_worker.c.o
[3506/3621] Linking target examples/dpdk-ip_pipeline
ninja: build stopped




*Build Failed #4:
OS: OpenEuler2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o 
gcc -Iexamples/dpdk-ip_reassembly.p -Iexamples -I../examples -Iexamples/ip_reassembly -I../examples/ip_reassembly -I../examples/common -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/argparse -I../lib/argparse -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/lpm -I../lib/lpm -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/ip_frag -I../lib/ip_frag -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 -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o -MF examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o.d -o examples/dpdk-ip_reassembly.p/ip_reassembly_main.c.o -c ../examples/ip_reassembly/main.c
../examples/ip_reassembly/main.c: In function ‘main’:
../examples/ip_reassembly/main.c:887:52: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
  887 |         snprintf(buf, sizeof(buf), "mbuf_pool_%u_%u", lcore, queue);
      |                                                    ^
In function ‘setup_queue_tbl’,
    inlined from ‘main’ at ../examples/ip_reassembly/main.c:1085:7:
../examples/ip_reassembly/main.c:887:9: note: ‘snprintf’ output between 14 and 27 bytes into a destination of size 26
  887 |         snprintf(buf, sizeof(buf), "mbuf_pool_%u_%u", lcore, queue);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[3577/3686] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_ipsec_process.c.o
[3578/3686] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_ipsec_worker.c.o
[3579/3686] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_sp6.c.o
[3580/3686] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_sa.c.o
[3581/3686] Linking target examples/dpdk-ip_pipeline
[3582/3686] Compiling C object examples/dpdk-l2fwd.p/l2fwd_main.c.o
[3583/3686] Compiling C object examples/dpdk-l2fwd-jobstats.p/l2fwd-jobstats_main.c.o
[3584/3686] Compiling C object examples/dpdk-l2fwd-event.p/l2fwd-event_l2fwd_event.c.o
[3585/3686] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_ipsec-secgw.c.o
ninja: build stopped


DPDK STV team

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

only message in thread, other threads:[~2025-11-10 22:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-10 22:47 compilation|FAILURE| pw(158640) sid(36640) job(PER_PATCH_BUILD17218)[3/3] examples: re-enable format truncation warning 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).