compilation|FAILURE| pw(169425) sid(39237) job(PER_PATCH_BUILD20014)[7/7] app/validate-bpf: add BPF validation application

sys_stv at intel.com sys_stv at intel.com
Fri Sep 11 13:07:48 CEST 2026


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

_Compilation issues_

Submitter: Marat Khalili <marat.khalili at huawei.com>
Date: 2026-09-11 10:40:05
Reply_mail: <20260911104006.34364-8-marat.khalili at huawei.com>

DPDK git baseline: Repo:dpdk, CommitID: d55ccd4e6de64e3f797f60de9e81f1d60f849775


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 | pass       |              |            |            |           |          |            |
| FreeBSD15-64      | fail       | fail         |            | fail       | fail      |          |            |
| RHEL96-64         | pass       | pass         |            | pass       | pass      |          |            |
| 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: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc
FAILED: app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o 
gcc -Iapp/dpdk-validate-bpf.p -Iapp -I../app -Ilib/bpf -I../lib/bpf -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -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 -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o -MF app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o.d -o app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o -c ../app/validate-bpf/parse_decl.c
../app/validate-bpf/parse_decl.c:137:50: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
  137 |         [TOKEN_TYPE_IP_HEADER]          = sizeof(struct iphdr),
      |                                                  ^~~~~~
[1954/2294] Linking target app/dpdk-test-security-perf
[1955/2294] Compiling C object examples/dpdk-cmdline.p/cmdline_commands.c.o
[1956/2294] Compiling C object app/dpdk-test.p/test_commands.c.o
[1957/2294] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o
[1958/2294] Compiling C object app/dpdk-test.p/test_test.c.o
[1959/2294] Compiling C object app/dpdk-test.p/test_sample_packet_forward.c.o
[1960/2294] Compiling C object app/dpdk-test.p/test_packet_burst_generator.c.o
[1961/2294] Compiling C object examples/dpdk-bbdev_app.p/bbdev_app_main.c.o
[1962/2294] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o
ninja: build stopped




*Build Failed #2:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-clang
FAILED: app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o 
clang -Iapp/dpdk-validate-bpf.p -Iapp -I../app -Ilib/bpf -I../lib/bpf -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -fcolor-diagnostics -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 -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o -MF app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o.d -o app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o -c ../app/validate-bpf/parse_decl.c
../app/validate-bpf/parse_decl.c:137:28: error: invalid application of 'sizeof' to an incomplete type 'struct iphdr'
  137 |         [TOKEN_TYPE_IP_HEADER]          = sizeof(struct iphdr),
      |                                           ^     ~~~~~~~~~~~~~~
../app/validate-bpf/parse_decl.c:137:42: note: forward declaration of 'struct iphdr'
  137 |         [TOKEN_TYPE_IP_HEADER]          = sizeof(struct iphdr),
      |                                                         ^
../app/validate-bpf/parse_decl.c:179:29: error: invalid application of 'sizeof' to an incomplete type 'const size_t[]' (aka 'const unsigned long[]')
  179 |                 RTE_ASSERT((size_t)type < RTE_DIM(TYPE_TOKEN_SIZE) &&
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
  180 |                         TYPE_TOKEN_SIZE[type] != 0);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:960:28: note: expanded from macro 'RTE_DIM'
  960 | #define RTE_DIM(a)      (sizeof (a) / sizeof ((a)[0]))
      |                                 ^
../lib/eal/include/rte_debug.h:56:16: note: expanded from macro 'RTE_ASSERT'
   56 |         (void)sizeof((exp) ? 1 : 0); \
      |                       ^~~
2 errors generated.
[1978/2315] Compiling C object examples/dpdk-cmdline.p/cmdline_main.c.o
[1979/2315] Compiling C object examples/dpdk-cmdline.p/cmdline_commands.c.o
[1980/2315] Compiling C object app/dpdk-test.p/test_test.c.o
[1981/2315] Compiling C object app/dpdk-test.p/test_commands.c.o
[1982/2315] Compiling C object app/dpdk-test.p/test_packet_burst_generator.c.o
[1983/2315] Compiling C object app/dpdk-test.p/test_sample_packet_forward.c.o
[1984/2315] Compiling C object app/dpdk-test.p/test_test_acl.c.o
[1985/2315] Compiling C object examples/dpdk-bbdev_app.p/bbdev_app_main.c.o
[1986/2315] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o
ninja: build stopped




*Build Failed #3:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o 
gcc -Iapp/dpdk-validate-bpf.p -Iapp -I../app -Ilib/bpf -I../lib/bpf -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -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 -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o -MF app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o.d -o app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o -c ../app/validate-bpf/parse_decl.c
../app/validate-bpf/parse_decl.c:137:50: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
  137 |         [TOKEN_TYPE_IP_HEADER]          = sizeof(struct iphdr),
      |                                                  ^~~~~~
[1982/2172] Compiling C object app/dpdk-validate-bpf.p/validate-bpf_eal_init_args.c.o
[1983/2172] Compiling C object app/dpdk-test-security-perf.p/test_test_security_proto.c.o
[1984/2172] Compiling C object app/dpdk-validate-bpf.p/validate-bpf_main.c.o
[1985/2172] Compiling C object app/dpdk-test.p/test_commands.c.o
[1986/2172] Generating kernel/freebsd/contigmem with a custom command
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
i386 -> /usr/src/sys/i386/include
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h
touch opt_global.h
clang  -O2 -pipe -include rte_config.h  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/root/FreeBSD15-64_K15.0_GCC14.2.0/x86_64-native-bsdapp-gcc+shared/39237/dpdk/x86_64-native-bsdapp-gcc+shared -I/root/FreeBSD15-64_K15.0_GCC14.2.0/x86_64-native-bsdapp-gcc+shared/39237/dpdk/config -include /root/FreeBSD15-64_K15.0_GCC14.2.0/x86_64-native-bsdapp-gcc+shared/39237/dpdk/x86_64-native-bsdapp-gcc+shared/kernel/freebsd/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/usr/src/sys=/usr/src/sys -ffile-prefix-map=/root/FreeBSD15-64_K15.0_GCC14.2.0/x86_64-native-bsdapp-gcc+shared/39237/dpdk/x86_64-native-bsdapp-gcc+shared/kernel/freebsd=/usr/obj/usr/src/amd64.amd64/sys/modules/freebsd -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include    -MD  -MF.depend.contigmem.o -MTcontigmem.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx  -std=gnu17 -c /root/FreeBSD15-64_K15.0_GCC14.2.0/x86_64-native-bsdapp-gcc+shared/39237/dpdk/kernel/freebsd/contigmem/contigmem.c -o contigmem.o
ld -m elf_x86_64_fbsd -warn-common --build-id=sha1 -T /usr/src/sys/conf/ldscript.kmod.amd64 -r  -o contigmem.ko contigmem.o 
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk contigmem.ko  export_syms | xargs -J % objcopy % contigmem.ko
objcopy --strip-debug contigmem.ko
[1987/2172] Compiling C object app/dpdk-test.p/test_test.c.o
[1988/2172] Compiling C object app/dpdk-test.p/test_sample_packet_forward.c.o
[1989/2172] Compiling C object app/dpdk-test.p/test_packet_burst_generator.c.o
[1990/2172] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o
ninja: build stopped




*Build Failed #4:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o 
gcc -Iapp/dpdk-validate-bpf.p -Iapp -I../app -Ilib/bpf -I../lib/bpf -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -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 -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o -MF app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o.d -o app/dpdk-validate-bpf.p/validate-bpf_parse_decl.c.o -c ../app/validate-bpf/parse_decl.c
../app/validate-bpf/parse_decl.c:137:50: error: invalid application of 'sizeof' to incomplete type 'struct iphdr'
  137 |         [TOKEN_TYPE_IP_HEADER]          = sizeof(struct iphdr),
      |                                                  ^~~~~~
[1951/2294] Compiling C object app/dpdk-validate-bpf.p/validate-bpf_debug.c.o
[1952/2294] Linking target app/dpdk-test-sad
[1953/2294] Linking target app/dpdk-testpmd
[1954/2294] Compiling C object app/dpdk-test.p/test_commands.c.o
[1955/2294] Compiling C object app/dpdk-test.p/test_test.c.o
[1956/2294] Linking target app/dpdk-test-regex
[1957/2294] Linking target app/dpdk-test-security-perf
[1958/2294] Compiling C object app/dpdk-test.p/test_packet_burst_generator.c.o
[1959/2294] Compiling C object examples/dpdk-bbdev_app.p/bbdev_app_main.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list