compilation|FAILURE| pw(163325) sid(37982) job(PER_PATCH_BUILD18646)[RFC, v2, 6/6] examples/ptpclient: use shared PTP library definitions

sys_stv at intel.com sys_stv at intel.com
Tue Apr 28 19:22:02 CEST 2026


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

_Compilation issues_

Submitter: Rajesh Kumar <rajesh3.kumar at intel.com>
Date: 2026-04-28 22:28:37
Reply_mail: <d026980b95f3f138d3fc77f3b9cb348d76d876e2.1777413123.git.rajesh3.kumar at intel.com>

DPDK git baseline: Repo:dpdk, CommitID: 7baf81674a011ab8a2fe329566b6d43d7377244c


Meson Build Summary: 23 Builds Done, 20 Successful, 3 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | pass       |              |            |            |           |          |            |
| FreeBSD15-64      | fail       | fail         |            | pass       | fail      |          |            |
| RHEL96-64         | pass       | pass         |            | pass       | pass      |          |            |
| SUSE16-64         | pass       | pass         |            |            |           |          |            |
| AzureLinux3.0-64  | pass       |              |            |            |           |          |            |
| UB2404-32         | pass       |              |            |            |           |          |            |
| RHEL10.1-64       | pass       |              |            |            |           |          |            |
| UB2404-64         | pass       | pass         |            |            |           | pass     | pass       |
| RHEL10-64RT       | pass       |              |            |            |           |          |            |
| UB2504-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: 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.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: 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: 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-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: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc
FAILED: examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o 
gcc -Iexamples/dpdk-ptp_tap_relay_sw.p -Iexamples -I../examples -Iexamples/ptp_tap_relay_sw -I../examples/ptp_tap_relay_sw -I../examples/common -Ilib/eal/common -I../lib/eal/common -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 -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/ptp -I../lib/ptp -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 -D__BSD_VISIBLE -march=native -mno-avx512f -mrtm -Wno-shadow -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o -MF examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o.d -o examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o -c ../examples/ptp_tap_relay_sw/ptp_tap_relay_sw.c
../examples/ptp_tap_relay_sw/ptp_tap_relay_sw.c: In function 'sw_timestamp_ns':
../examples/ptp_tap_relay_sw/ptp_tap_relay_sw.c:114:23: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function); did you mean 'CLOCK_MONOTONIC_FAST'?
  114 |         clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
      |                       ^~~~~~~~~~~~~~~~~~~
      |                       CLOCK_MONOTONIC_FAST
../examples/ptp_tap_relay_sw/ptp_tap_relay_sw.c:114:23: note: each undeclared identifier is reported only once for each function it appears in
[2210/2246] Compiling C object examples/dpdk-ptpclient.p/ptpclient_ptpclient.c.o
[2211/2246] Linking target examples/dpdk-symmetric_mp
[2212/2246] Linking target examples/dpdk-simple_mp
[2213/2246] Compiling C object examples/dpdk-qos_meter.p/qos_meter_main.c.o
[2214/2246] Compiling C object examples/dpdk-qos_sched.p/qos_sched_args.c.o
[2215/2246] Compiling C object examples/dpdk-qos_sched.p/qos_sched_cmdline.c.o
[2216/2246] Compiling C object examples/dpdk-qos_sched.p/qos_sched_cfg_file.c.o
[2217/2246] Compiling C object examples/dpdk-qos_sched.p/qos_sched_app_thread.c.o
[2218/2246] Compiling C object examples/dpdk-packet_ordering.p/packet_ordering_main.c.o
ninja: build stopped




*Build Failed #2:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-clang
FAILED: examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o 
clang -Iexamples/dpdk-ptp_tap_relay_sw.p -Iexamples -I../examples -Iexamples/ptp_tap_relay_sw -I../examples/ptp_tap_relay_sw -I../examples/common -Ilib/eal/common -I../lib/eal/common -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 -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/ptp -I../lib/ptp -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 -D__BSD_VISIBLE -march=native -mrtm -Wno-shadow -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o -MF examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o.d -o examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o -c ../examples/ptp_tap_relay_sw/ptp_tap_relay_sw.c
../examples/ptp_tap_relay_sw/ptp_tap_relay_sw.c:114:16: error: use of undeclared identifier 'CLOCK_MONOTONIC_RAW'
  114 |         clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
      |                       ^
1 error generated.
[2229/2265] Linking target examples/dpdk-symmetric_mp
[2230/2265] Linking target examples/dpdk-simple_mp
[2231/2265] Compiling C object examples/dpdk-qos_meter.p/qos_meter_main.c.o
[2232/2265] Compiling C object examples/dpdk-ptpclient.p/ptpclient_ptpclient.c.o
[2233/2265] Compiling C object examples/dpdk-qos_sched.p/qos_sched_args.c.o
[2234/2265] Compiling C object examples/dpdk-qos_sched.p/qos_sched_cfg_file.c.o
[2235/2265] Compiling C object examples/dpdk-qos_sched.p/qos_sched_cmdline.c.o
[2236/2265] Compiling C object examples/dpdk-qos_sched.p/qos_sched_app_thread.c.o
[2237/2265] Compiling C object examples/dpdk-packet_ordering.p/packet_ordering_main.c.o
ninja: build stopped




*Build Failed #3:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o 
gcc -Iexamples/dpdk-ptp_tap_relay_sw.p -Iexamples -I../examples -Iexamples/ptp_tap_relay_sw -I../examples/ptp_tap_relay_sw -I../examples/common -Ilib/eal/common -I../lib/eal/common -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 -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/ptp -I../lib/ptp -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 -D__BSD_VISIBLE -march=native -mno-avx512f -mrtm -Wno-shadow -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o -MF examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o.d -o examples/dpdk-ptp_tap_relay_sw.p/ptp_tap_relay_sw_ptp_tap_relay_sw.c.o -c ../examples/ptp_tap_relay_sw/ptp_tap_relay_sw.c
../examples/ptp_tap_relay_sw/ptp_tap_relay_sw.c: In function 'sw_timestamp_ns':
../examples/ptp_tap_relay_sw/ptp_tap_relay_sw.c:114:23: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function); did you mean 'CLOCK_MONOTONIC_FAST'?
  114 |         clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
      |                       ^~~~~~~~~~~~~~~~~~~
      |                       CLOCK_MONOTONIC_FAST
../examples/ptp_tap_relay_sw/ptp_tap_relay_sw.c:114:23: note: each undeclared identifier is reported only once for each function it appears in
[2209/2246] Compiling C object examples/dpdk-ptpclient.p/ptpclient_ptpclient.c.o
[2210/2246] Compiling C object examples/dpdk-qos_meter.p/qos_meter_main.c.o
[2211/2246] Linking target examples/dpdk-mp_server
[2212/2246] Compiling C object examples/dpdk-qos_sched.p/qos_sched_args.c.o
[2213/2246] Compiling C object examples/dpdk-qos_sched.p/qos_sched_cfg_file.c.o
[2214/2246] Linking target examples/dpdk-symmetric_mp
[2215/2246] Linking target examples/dpdk-simple_mp
[2216/2246] Compiling C object examples/dpdk-qos_sched.p/qos_sched_app_thread.c.o
[2217/2246] Compiling C object examples/dpdk-packet_ordering.p/packet_ordering_main.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list