compilation|FAILURE| pw(166034) sid(38550) job(PER_PATCH_BUILD19284)examples: use strlcpy and strlcat
sys_stv at intel.com
sys_stv at intel.com
Tue Jun 23 18:03:11 CEST 2026
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/166034
_Compilation issues_
Submitter: Bruce Richardson <bruce.richardson at intel.com>
Date: 2026-06-23 15:41:08
Reply_mail: <20260623154109.722441-1-bruce.richardson at intel.com>
DPDK git baseline: Repo:dpdk-next-crypto, CommitID: e01965ac88ca7ba43351aba6de5fb1fb026e4581
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 | | | | | | |
| FreeBSD15-64 | pass | pass | | pass | pass | | |
| RHEL96-64 | fail | fail | | pass | fail | | |
| SUSE16-64 | pass | pass | | | | | |
| AzureLinux3.0-64 | pass | | | | | | |
| UB2604-32 | pass | | | | | | |
| RHEL10.1-64 | pass | | | | | | |
| UB2604-64 | pass | pass | | | | pass | pass |
| RHEL10-64RT | pass | | | | | | |
| UB2510-64 | pass | | | | | | |
| Fedora43-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: FreeBSD15-64
Kernel Version: 15.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 14.2.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: SUSE16-64
Kernel Version: 6.12.0-160000.26-default
GCC Version: gcc (SUSE Linux) 15.2.0
Clang Version: 19.1.7
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: UB2604-32
Kernel Version: 7.0.0-14-generic
GCC Version: gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
Clang Version: 21.1.8 (6ubuntu1)
i686-native-linuxapp-gcc
OS: RHEL10.1-64
Kernel Version: 6.12.0-124.8.1.el10_1.x86_64
GCC Version: gcc (GCC) 14.3.1 20250617 (Red Hat 14.3.1-2)
Clang Version: 20.1.8 (Red Hat, Inc. 20.1.8-1.el10)
x86_64-native-linuxapp-gcc
OS: UB2604-64
Kernel Version: 7.0.0-14-generic
GCC Version: gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
Clang Version: 21.1.8 (6ubuntu1)
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: UB2510-64
Kernel Version: 6.17.0-5-generic
GCC Version: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: Fedora43-64
Kernel Version: 6.17.1-300.fc43.x86_64
GCC Version: gcc (GCC) 15.2.1 20250924 (Red Hat 15.2.1-2)
Clang Version: 21.1.8 (Fedora 21.1.8-4.fc43)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: OpenEuler2404-64
Kernel Version: 6.6.0-132.0.0.111.oe2403sp3.x86_64
GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-105.oe2403sp3)
Clang Version: 17.0.6 ( 17.0.6-63.oe2403sp3)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: OpenAnolis8.10-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o
gcc -Iexamples/dpdk-ip_pipeline.p -Iexamples -I../examples -Iexamples/ip_pipeline -I../examples/ip_pipeline -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/pipeline -I../lib/pipeline -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/cryptodev -I../lib/cryptodev -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/table -I../lib/table -Ilib/lpm -I../lib/lpm -Ilib/acl -I../lib/acl -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -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 -Wshadow -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_pipeline.p/ip_pipeline_conn.c.o -MF examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o.d -o examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o -c ../examples/ip_pipeline/conn.c
../examples/ip_pipeline/conn.c: In function ‘conn_init’:
../examples/ip_pipeline/conn.c:118:2: error: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration]
strlcpy(conn->welcome, p->welcome, CONN_WELCOME_LEN_MAX + 1);
^~~~~~~
strncpy
../examples/ip_pipeline/conn.c:118:2: error: nested extern declaration of ‘strlcpy’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[3594/3732] Compiling C object examples/dpdk-ip_fragmentation.p/ip_fragmentation_main.c.o
[3595/3732] Compiling C object app/dpdk-test.p/test_test_ring_perf.c.o
[3596/3732] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_main.c.o
[3597/3732] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_mempool.c.o
[3598/3732] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_thread.c.o
[3599/3732] Compiling C object app/dpdk-test.p/test_test_ring.c.o
[3600/3732] Linking target examples/dpdk-flow_filtering
[3601/3732] Linking target examples/dpdk-helloworld
[3602/3732] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_cli.c.o
ninja: build stopped
*Build Failed #2:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o
gcc -Iexamples/dpdk-ip_pipeline.p -Iexamples -I../examples -Iexamples/ip_pipeline -I../examples/ip_pipeline -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/pipeline -I../lib/pipeline -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/cryptodev -I../lib/cryptodev -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/table -I../lib/table -Ilib/lpm -I../lib/lpm -Ilib/acl -I../lib/acl -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -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 -Wshadow -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_pipeline.p/ip_pipeline_conn.c.o -MF examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o.d -o examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o -c ../examples/ip_pipeline/conn.c
../examples/ip_pipeline/conn.c: In function ‘conn_init’:
../examples/ip_pipeline/conn.c:118:9: error: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration]
118 | strlcpy(conn->welcome, p->welcome, CONN_WELCOME_LEN_MAX + 1);
| ^~~~~~~
| strncpy
../examples/ip_pipeline/conn.c:118:9: error: nested extern declaration of ‘strlcpy’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[3538/3672] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_link.c.o
[3539/3672] Compiling C object examples/dpdk-ip_fragmentation.p/ip_fragmentation_main.c.o
[3540/3672] Compiling C object app/dpdk-test.p/test_test_ring.c.o
[3541/3672] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_parser.c.o
[3542/3672] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_pipeline.c.o
[3543/3672] Linking target examples/dpdk-helloworld
[3544/3672] Linking target examples/dpdk-flow_filtering
[3545/3672] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_cli.c.o
[3546/3672] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_thread.c.o
ninja: build stopped
*Build Failed #3:
OS: RHEL96-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o
clang -Iexamples/dpdk-ip_pipeline.p -Iexamples -I../examples -Iexamples/ip_pipeline -I../examples/ip_pipeline -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/pipeline -I../lib/pipeline -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/cryptodev -I../lib/cryptodev -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/table -I../lib/table -Ilib/lpm -I../lib/lpm -Ilib/acl -I../lib/acl -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o -MF examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o.d -o examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o -c ../examples/ip_pipeline/conn.c
../examples/ip_pipeline/conn.c:118:2: error: call to undeclared function 'strlcpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
118 | strlcpy(conn->welcome, p->welcome, CONN_WELCOME_LEN_MAX + 1);
| ^
1 error generated.
[3489/3631] Compiling C object examples/dpdk-helloworld.p/helloworld_main.c.o
[3490/3631] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_action.c.o
[3491/3631] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_cryptodev.c.o
[3492/3631] Compiling C object examples/dpdk-ip_fragmentation.p/ip_fragmentation_main.c.o
[3493/3631] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_pipeline.c.o
[3494/3631] Linking target examples/dpdk-flow_filtering
[3495/3631] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_cli.c.o
[3496/3631] Compiling C object app/dpdk-test.p/test_test_ring_perf.c.o
[3497/3631] Compiling C object app/dpdk-test.p/test_test_ring.c.o
ninja: build stopped
*Build Failed #4:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o
gcc -Iexamples/dpdk-ip_pipeline.p -Iexamples -I../examples -Iexamples/ip_pipeline -I../examples/ip_pipeline -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/pipeline -I../lib/pipeline -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/cryptodev -I../lib/cryptodev -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/table -I../lib/table -Ilib/lpm -I../lib/lpm -Ilib/acl -I../lib/acl -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -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 -Wshadow -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_pipeline.p/ip_pipeline_conn.c.o -MF examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o.d -o examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o -c ../examples/ip_pipeline/conn.c
../examples/ip_pipeline/conn.c: In function ‘conn_init’:
../examples/ip_pipeline/conn.c:118:9: error: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration]
118 | strlcpy(conn->welcome, p->welcome, CONN_WELCOME_LEN_MAX + 1);
| ^~~~~~~
| strncpy
../examples/ip_pipeline/conn.c:118:9: error: nested extern declaration of ‘strlcpy’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[3543/3672] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_main.c.o
[3544/3672] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_link.c.o
[3545/3672] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_mempool.c.o
[3546/3672] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_cli.c.o
[3547/3672] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_thread.c.o
[3548/3672] Linking target examples/dpdk-ip_fragmentation
[3549/3672] Linking target app/dpdk-test
[3550/3672] Linking target examples/dpdk-helloworld
[3551/3672] Linking target examples/dpdk-flow_filtering
ninja: build stopped
DPDK STV team
More information about the test-report
mailing list