Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/159687 _Compilation issues_ Submitter: Scott Mitchell Date: 2026-01-11 16:00:59 Reply_mail: <20260111160059.293-3-scott.k.mitch1@gmail.com> DPDK git baseline: Repo:dpdk, CommitID: cd60dcd503b91956f966a1f6d595b35d256ac00f Meson Build Summary: 23 Builds Done, 0 Successful, 23 Failures, 0 Blocked +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.10-64 | fail | | | | | | | | FreeBSD14-64 | fail | fail | | fail | fail | | | | RHEL96-64 | fail | fail | | fail | fail | | | | SUSE15-64 | fail | fail | | | | | | | AzureLinux3.0-64 | fail | | | | | | | | UB2404-32 | fail | | | | | | | | RHEL10-64 | fail | | | | | | | | UB2404-64 | fail | fail | | | | fail | fail | | RHEL10-64RT | fail | | | | | | | | UB2504-64 | fail | | | | | | | | Fedora42-64 | fail | fail | | | | | | | 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: lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o -c ../lib/eal/common/eal_common_memalloc.c ../lib/eal/common/eal_common_memalloc.c: In function ‘eal_memalloc_is_contig’: ../lib/eal/common/eal_common_memalloc.c:93:1: error: expected expression before ‘#pragma’ aligned_end = RTE_PTR_ALIGN_CEIL(end, pgsz); ^ ~ ../lib/eal/common/eal_common_memalloc.c:116:1: error: expected expression before ‘#pragma’ aligned_end = RTE_PTR_ALIGN_CEIL(end, pgsz); ^ ~ [43/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o [44/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o FAILED: lib/librte_eal.a.p/eal_common_eal_common_memory.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memory.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -c ../lib/eal/common/eal_common_memory.c ../lib/eal/common/eal_common_memory.c: In function ‘eal_get_virtual_area’: ../lib/eal/common/eal_common_memory.c:80:1: error: expected expression before ‘#pragma’ requested_addr = RTE_PTR_ALIGN(requested_addr, page_sz); ^ ~ ../lib/eal/common/eal_common_memory.c:93:1: error: expected expression before ‘#pragma’ requested_addr == RTE_PTR_ALIGN(requested_addr, page_sz) && ^ ~ ../lib/eal/common/eal_common_memory.c:132:1: error: expected expression before ‘#pragma’ RTE_PTR_ALIGN(mapped_addr, page_sz); ^ [45/3704] Generating symbol file lib/librte_log.so.26.1.p/librte_log.so.26.1.symbols [46/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o FAILED: lib/librte_eal.a.p/eal_common_eal_common_options.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_options.c.o -c ../lib/eal/common/eal_common_options.c ../lib/eal/common/eal_common_options.c: In function ‘eal_parse_base_virtaddr’: ../lib/eal/common/eal_common_options.c:1613:1: error: expected expression before ‘#pragma’ RTE_PTR_ALIGN_CEIL((uintptr_t)addr, (size_t)RTE_PGSIZE_16M); ^ ~ [47/3704] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output) [48/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o [49/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o [50/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o [51/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function 'malloc_elem_from_data', inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket': ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket' 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function 'malloc_elem_from_data', inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro 'RTE_PTR_SUB' 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket': ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket' 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [66/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [67/2230] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [68/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [69/2230] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [70/2230] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [71/2230] Compiling C object lib/librte_eal.a.p/eal_unix_eal_file.c.o [72/2230] Compiling C object lib/librte_eal.a.p/eal_unix_eal_firmware.c.o [73/2230] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o [74/2230] Compiling C object lib/librte_eal.a.p/eal_unix_eal_filesystem.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-clang FAILED: app/dpdk-test.p/test_test_ptr_add_sub.c.o clang -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/test_cfgfiles -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -fno-strict-aliasing -Wno-format-truncation -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_ptr_add_sub.c.o -MF app/dpdk-test.p/test_test_ptr_add_sub.c.o.d -o app/dpdk-test.p/test_test_ptr_add_sub.c.o -c ../app/test/test_ptr_add_sub.c ../app/test/test_ptr_add_sub.c:34:31: error: cast to 'char *' from smaller integer type 'unsigned int' [-Werror,-Wint-to-pointer-cast] 34 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(ui, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 | "RTE_PTR_ADD failed for unsigned int"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:38:31: error: cast to 'char *' from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast] 38 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(i, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | "RTE_PTR_ADD failed for int"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:42:31: error: cast to 'char *' from smaller integer type 'unsigned short' [-Werror,-Wint-to-pointer-cast] 42 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(us, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | "RTE_PTR_ADD failed for unsigned short"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:46:31: error: cast to 'char *' from smaller integer type 'short' [-Werror,-Wint-to-pointer-cast] 46 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(s, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | "RTE_PTR_ADD failed for short"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:50:31: error: cast to 'char *' from smaller integer type 'unsigned char' [-Werror,-Wint-to-pointer-cast] 50 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(uc, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 51 | "RTE_PTR_ADD failed for unsigned char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:54:31: error: cast to 'char *' from smaller integer type 'signed char' [-Werror,-Wint-to-pointer-cast] 54 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(sc, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 55 | "RTE_PTR_ADD failed for signed char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:58:31: error: cast to 'char *' from smaller integer type 'char' [-Werror,-Wint-to-pointer-cast] 58 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(c, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 59 | "RTE_PTR_ADD failed for char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:147:31: error: cast to 'char *' from smaller integer type 'uint32_t' (aka 'unsigned int') [-Werror,-Wint-to-pointer-cast] 147 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u32, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | "RTE_PTR_ADD failed for uint32_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:151:31: error: cast to 'char *' from smaller integer type 'uint16_t' (aka 'unsigned short') [-Werror,-Wint-to-pointer-cast] 151 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u16, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | "RTE_PTR_ADD failed for uint16_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:155:31: error: cast to 'char *' from smaller integer type 'uint8_t' (aka 'unsigned char') [-Werror,-Wint-to-pointer-cast] 155 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u8, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 156 | "RTE_PTR_ADD failed for uint8_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ 10 errors generated. [2038/2249] Compiling C object app/dpdk-test.p/test_test_per_lcore.c.o [2039/2249] Compiling C object app/dpdk-test.p/test_test_pflock.c.o [2040/2249] Compiling C object app/dpdk-test.p/test_test_pdump.c.o [2041/2249] Compiling C object app/dpdk-test.p/test_test_pie.c.o [2042/2249] Compiling C object app/dpdk-test.p/test_test_pmd_ring.c.o [2043/2249] Compiling C object app/dpdk-test.p/test_test_pdcp.c.o [2044/2249] Compiling C object app/dpdk-test.p/test_test_pmd_perf.c.o [2045/2249] Compiling C object app/dpdk-test.p/test_test_pmd_ring_perf.c.o [2046/2249] Compiling C object app/dpdk-test.p/test_test_memcpy_perf.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function 'malloc_elem_from_data', inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket': ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket' 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function 'malloc_elem_from_data', inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro 'RTE_PTR_SUB' 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket': ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket' 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [62/2114] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o [63/2114] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [64/2114] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [65/2114] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [66/2114] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [67/2114] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [68/2114] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [69/2114] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [70/2114] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o ninja: build stopped *Build Failed #5: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function 'malloc_elem_cookies_ok', inlined from 'malloc_elem_from_data' at ../lib/eal/common/malloc_elem.h:313:7, inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:84:39: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=] 84 | #define MALLOC_ELEM_HEADER(elem) (elem->header_cookie) | ~~~~~^~~~~~~~~~~~~~~~ ../lib/eal/common/malloc_elem.h:105:25: note: in expansion of macro 'MALLOC_ELEM_HEADER' 105 | MALLOC_ELEM_HEADER(elem) == MALLOC_HEADER_COOKIE && | ^~~~~~~~~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket': ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket' 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function 'malloc_elem_cookies_ok', inlined from 'malloc_elem_from_data' at ../lib/eal/common/malloc_elem.h:313:7, inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:83:21: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=] 83 | elem->size - MALLOC_ELEM_TRAILER_LEN))) | ^ ../lib/eal/include/rte_common.h:577:72: note: in definition of macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/common/malloc_elem.h:106:25: note: in expansion of macro 'MALLOC_ELEM_TRAILER' 106 | MALLOC_ELEM_TRAILER(elem) == MALLOC_TRAILER_COOKIE; | ^~~~~~~~~~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket': ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket' 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'malloc_elem_from_data', inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket': ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket' 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'malloc_elem_from_data', inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro 'RTE_PTR_SUB' 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket': ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket' 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [64/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [65/2230] Compiling C object lib/librte_eal.a.p/eal_unix_eal_debug.c.o [66/2230] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [67/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [68/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [69/2230] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [70/2230] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [71/2230] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o [72/2230] Compiling C object lib/librte_eal.a.p/eal_unix_eal_file.c.o ninja: build stopped *Build Failed #6: OS: RHEL96-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o -c ../lib/eal/common/eal_common_memalloc.c In file included from ../lib/eal/include/generic/rte_rwlock.h:29, from ../lib/eal/x86/include/rte_rwlock.h:8, from ../lib/eal/include/rte_fbarray.h:35, from ../lib/eal/common/eal_common_memalloc.c:9: ../lib/eal/common/eal_common_memalloc.c: In function ‘eal_memalloc_is_contig’: ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/common/eal_common_memalloc.c:93:31: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 93 | aligned_end = RTE_PTR_ALIGN_CEIL(end, pgsz); | ^~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/common/eal_common_memalloc.c:116:31: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 116 | aligned_end = RTE_PTR_ALIGN_CEIL(end, pgsz); | ^~~~~~~~~~~~~~~~~~ [49/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o FAILED: lib/librte_eal.a.p/eal_common_eal_common_memory.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memory.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -c ../lib/eal/common/eal_common_memory.c In file included from ../lib/eal/include/generic/rte_rwlock.h:29, from ../lib/eal/x86/include/rte_rwlock.h:8, from ../lib/eal/include/rte_fbarray.h:35, from ../lib/eal/common/eal_common_memory.c:13: ../lib/eal/common/eal_common_memory.c: In function ‘eal_get_virtual_area’: ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:707:35: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 707 | #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c:80:34: note: in expansion of macro ‘RTE_PTR_ALIGN’ 80 | requested_addr = RTE_PTR_ALIGN(requested_addr, page_sz); | ^~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:707:35: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 707 | #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c:93:35: note: in expansion of macro ‘RTE_PTR_ALIGN’ 93 | requested_addr == RTE_PTR_ALIGN(requested_addr, page_sz) && | ^~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:707:35: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 707 | #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c:132:25: note: in expansion of macro ‘RTE_PTR_ALIGN’ 132 | RTE_PTR_ALIGN(mapped_addr, page_sz); | ^~~~~~~~~~~~~ [50/3635] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output) [51/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o FAILED: lib/librte_eal.a.p/eal_common_eal_common_options.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_options.c.o -c ../lib/eal/common/eal_common_options.c In file included from ../lib/eal/include/rte_string_fns.h:18, from ../lib/eal/common/eal_common_options.c:23: ../lib/eal/common/eal_common_options.c: In function ‘eal_parse_base_virtaddr’: ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1613:17: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 1613 | RTE_PTR_ALIGN_CEIL((uintptr_t)addr, (size_t)RTE_PGSIZE_16M); | ^~~~~~~~~~~~~~~~~~ [52/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o [53/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o [54/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o [55/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o [56/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o [57/3635] Compiling C object lib/librte_ring.a.p/ring_soring.c.o ninja: build stopped *Build Failed #7: OS: RHEL96-64 Target: x86_64-native-linuxapp-clang FAILED: app/dpdk-test.p/test_test_ptr_add_sub.c.o clang -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/test_cfgfiles -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -fno-strict-aliasing -Wno-format-truncation -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_ptr_add_sub.c.o -MF app/dpdk-test.p/test_test_ptr_add_sub.c.o.d -o app/dpdk-test.p/test_test_ptr_add_sub.c.o -c ../app/test/test_ptr_add_sub.c ../app/test/test_ptr_add_sub.c:34:31: error: cast to 'char *' from smaller integer type 'unsigned int' [-Werror,-Wint-to-pointer-cast] 34 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(ui, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 | "RTE_PTR_ADD failed for unsigned int"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:38:31: error: cast to 'char *' from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast] 38 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(i, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | "RTE_PTR_ADD failed for int"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:42:31: error: cast to 'char *' from smaller integer type 'unsigned short' [-Werror,-Wint-to-pointer-cast] 42 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(us, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | "RTE_PTR_ADD failed for unsigned short"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:46:31: error: cast to 'char *' from smaller integer type 'short' [-Werror,-Wint-to-pointer-cast] 46 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(s, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | "RTE_PTR_ADD failed for short"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:50:31: error: cast to 'char *' from smaller integer type 'unsigned char' [-Werror,-Wint-to-pointer-cast] 50 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(uc, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 51 | "RTE_PTR_ADD failed for unsigned char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:54:31: error: cast to 'char *' from smaller integer type 'signed char' [-Werror,-Wint-to-pointer-cast] 54 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(sc, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 55 | "RTE_PTR_ADD failed for signed char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:58:31: error: cast to 'char *' from smaller integer type 'char' [-Werror,-Wint-to-pointer-cast] 58 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(c, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 59 | "RTE_PTR_ADD failed for char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:147:31: error: cast to 'char *' from smaller integer type 'uint32_t' (aka 'unsigned int') [-Werror,-Wint-to-pointer-cast] 147 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u32, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | "RTE_PTR_ADD failed for uint32_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:151:31: error: cast to 'char *' from smaller integer type 'uint16_t' (aka 'unsigned short') [-Werror,-Wint-to-pointer-cast] 151 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u16, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | "RTE_PTR_ADD failed for uint16_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:155:31: error: cast to 'char *' from smaller integer type 'uint8_t' (aka 'unsigned char') [-Werror,-Wint-to-pointer-cast] 155 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u8, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 156 | "RTE_PTR_ADD failed for uint8_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ 10 errors generated. [3345/3594] Compiling C object app/dpdk-test.p/test_test_pdcp.c.o [3346/3594] Compiling C object app/dpdk-test.p/test_test_power_cpufreq.c.o [3347/3594] Compiling C object app/dpdk-test.p/test_test_pmd_perf.c.o [3348/3594] Compiling C object app/dpdk-test.p/test_test_ptr_compress.c.o [3349/3594] Compiling C object app/dpdk-test.p/test_test_pmd_ring.c.o [3350/3594] Compiling C object app/dpdk-test.p/test_test_rand_perf.c.o [3351/3594] Compiling C object app/dpdk-test.p/test_test_pmd_ring_perf.c.o [3352/3594] Compiling C object app/dpdk-test.p/test_test_rawdev.c.o [3353/3594] Compiling C object app/dpdk-test.p/test_test_memcpy_perf.c.o ninja: build stopped *Build Failed #8: OS: RHEL96-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o -c ../lib/eal/common/eal_common_memalloc.c In file included from ../lib/eal/include/generic/rte_rwlock.h:29, from ../lib/eal/x86/include/rte_rwlock.h:8, from ../lib/eal/include/rte_fbarray.h:35, from ../lib/eal/common/eal_common_memalloc.c:9: ../lib/eal/common/eal_common_memalloc.c: In function ‘eal_memalloc_is_contig’: ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/common/eal_common_memalloc.c:93:31: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 93 | aligned_end = RTE_PTR_ALIGN_CEIL(end, pgsz); | ^~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/common/eal_common_memalloc.c:116:31: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 116 | aligned_end = RTE_PTR_ALIGN_CEIL(end, pgsz); | ^~~~~~~~~~~~~~~~~~ [47/3479] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o FAILED: lib/librte_eal.a.p/eal_common_eal_common_memory.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memory.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -c ../lib/eal/common/eal_common_memory.c In file included from ../lib/eal/include/generic/rte_rwlock.h:29, from ../lib/eal/x86/include/rte_rwlock.h:8, from ../lib/eal/include/rte_fbarray.h:35, from ../lib/eal/common/eal_common_memory.c:13: ../lib/eal/common/eal_common_memory.c: In function ‘eal_get_virtual_area’: ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:707:35: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 707 | #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c:80:34: note: in expansion of macro ‘RTE_PTR_ALIGN’ 80 | requested_addr = RTE_PTR_ALIGN(requested_addr, page_sz); | ^~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:707:35: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 707 | #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c:93:35: note: in expansion of macro ‘RTE_PTR_ALIGN’ 93 | requested_addr == RTE_PTR_ALIGN(requested_addr, page_sz) && | ^~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:707:35: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 707 | #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c:132:25: note: in expansion of macro ‘RTE_PTR_ALIGN’ 132 | RTE_PTR_ALIGN(mapped_addr, page_sz); | ^~~~~~~~~~~~~ [48/3479] Generating symbol file lib/librte_argparse.so.26.1.p/librte_argparse.so.26.1.symbols [49/3479] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output) [50/3479] Generating symbol file lib/librte_pmu.so.26.1.p/librte_pmu.so.26.1.symbols [51/3479] Generating symbol file lib/librte_kvargs.so.26.1.p/librte_kvargs.so.26.1.symbols [52/3479] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o [53/3479] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o FAILED: lib/librte_eal.a.p/eal_common_eal_common_options.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_options.c.o -c ../lib/eal/common/eal_common_options.c In file included from ../lib/eal/include/rte_string_fns.h:18, from ../lib/eal/common/eal_common_options.c:23: ../lib/eal/common/eal_common_options.c: In function ‘eal_parse_base_virtaddr’: ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1613:17: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 1613 | RTE_PTR_ALIGN_CEIL((uintptr_t)addr, (size_t)RTE_PGSIZE_16M); | ^~~~~~~~~~~~~~~~~~ [54/3479] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o [55/3479] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o ninja: build stopped *Build Failed #9: OS: RHEL96-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o -c ../lib/eal/common/eal_common_memalloc.c In file included from ../lib/eal/include/generic/rte_rwlock.h:29, from ../lib/eal/x86/include/rte_rwlock.h:8, from ../lib/eal/include/rte_fbarray.h:35, from ../lib/eal/common/eal_common_memalloc.c:9: ../lib/eal/common/eal_common_memalloc.c: In function ‘eal_memalloc_is_contig’: ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/common/eal_common_memalloc.c:93:31: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 93 | aligned_end = RTE_PTR_ALIGN_CEIL(end, pgsz); | ^~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/common/eal_common_memalloc.c:116:31: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 116 | aligned_end = RTE_PTR_ALIGN_CEIL(end, pgsz); | ^~~~~~~~~~~~~~~~~~ [50/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o FAILED: lib/librte_eal.a.p/eal_common_eal_common_memory.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memory.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -c ../lib/eal/common/eal_common_memory.c In file included from ../lib/eal/include/generic/rte_rwlock.h:29, from ../lib/eal/x86/include/rte_rwlock.h:8, from ../lib/eal/include/rte_fbarray.h:35, from ../lib/eal/common/eal_common_memory.c:13: ../lib/eal/common/eal_common_memory.c: In function ‘eal_get_virtual_area’: ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:707:35: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 707 | #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c:80:34: note: in expansion of macro ‘RTE_PTR_ALIGN’ 80 | requested_addr = RTE_PTR_ALIGN(requested_addr, page_sz); | ^~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:707:35: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 707 | #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c:93:35: note: in expansion of macro ‘RTE_PTR_ALIGN’ 93 | requested_addr == RTE_PTR_ALIGN(requested_addr, page_sz) && | ^~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:707:35: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 707 | #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c:132:25: note: in expansion of macro ‘RTE_PTR_ALIGN’ 132 | RTE_PTR_ALIGN(mapped_addr, page_sz); | ^~~~~~~~~~~~~ [51/3635] Generating symbol file lib/librte_argparse.so.26.1.p/librte_argparse.so.26.1.symbols [52/3635] Generating symbol file lib/librte_kvargs.so.26.1.p/librte_kvargs.so.26.1.symbols [53/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o FAILED: lib/librte_eal.a.p/eal_common_eal_common_options.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_options.c.o -c ../lib/eal/common/eal_common_options.c In file included from ../lib/eal/include/rte_string_fns.h:18, from ../lib/eal/common/eal_common_options.c:23: ../lib/eal/common/eal_common_options.c: In function ‘eal_parse_base_virtaddr’: ../lib/eal/include/rte_common.h:196:31: error: expected expression before ‘#pragma’ 196 | #define __rte_diagnostic_push _Pragma("GCC diagnostic push") | ^~~~~~~ ../lib/eal/include/rte_common.h:560:17: note: in expansion of macro ‘__rte_diagnostic_push’ 560 | __rte_diagnostic_push \ | ^~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:689:42: note: in expansion of macro ‘RTE_PTR_ADD’ 689 | RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) | ^~~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1613:17: note: in expansion of macro ‘RTE_PTR_ALIGN_CEIL’ 1613 | RTE_PTR_ALIGN_CEIL((uintptr_t)addr, (size_t)RTE_PGSIZE_16M); | ^~~~~~~~~~~~~~~~~~ [54/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o [55/3635] Generating symbol file lib/librte_telemetry.so.26.1.p/librte_telemetry.so.26.1.symbols [56/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o [57/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o [58/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o ninja: build stopped *Build Failed #10: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: app/dpdk-test.p/test_test_ptr_add_sub.c.o clang -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -I/usr/include/libnl3 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -fno-strict-aliasing -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_ptr_add_sub.c.o -MF app/dpdk-test.p/test_test_ptr_add_sub.c.o.d -o app/dpdk-test.p/test_test_ptr_add_sub.c.o -c ../app/test/test_ptr_add_sub.c ../app/test/test_ptr_add_sub.c:34:31: error: cast to 'char *' from smaller integer type 'unsigned int' [-Werror,-Wint-to-pointer-cast] 34 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(ui, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 | "RTE_PTR_ADD failed for unsigned int"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:38:31: error: cast to 'char *' from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast] 38 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(i, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | "RTE_PTR_ADD failed for int"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:42:31: error: cast to 'char *' from smaller integer type 'unsigned short' [-Werror,-Wint-to-pointer-cast] 42 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(us, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | "RTE_PTR_ADD failed for unsigned short"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:46:31: error: cast to 'char *' from smaller integer type 'short' [-Werror,-Wint-to-pointer-cast] 46 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(s, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | "RTE_PTR_ADD failed for short"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:50:31: error: cast to 'char *' from smaller integer type 'unsigned char' [-Werror,-Wint-to-pointer-cast] 50 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(uc, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 51 | "RTE_PTR_ADD failed for unsigned char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:54:31: error: cast to 'char *' from smaller integer type 'signed char' [-Werror,-Wint-to-pointer-cast] 54 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(sc, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 55 | "RTE_PTR_ADD failed for signed char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:58:31: error: cast to 'char *' from smaller integer type 'char' [-Werror,-Wint-to-pointer-cast] 58 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(c, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 59 | "RTE_PTR_ADD failed for char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:147:31: error: cast to 'char *' from smaller integer type 'uint32_t' (aka 'unsigned int') [-Werror,-Wint-to-pointer-cast] 147 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u32, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | "RTE_PTR_ADD failed for uint32_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:151:31: error: cast to 'char *' from smaller integer type 'uint16_t' (aka 'unsigned short') [-Werror,-Wint-to-pointer-cast] 151 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u16, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | "RTE_PTR_ADD failed for uint16_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:155:31: error: cast to 'char *' from smaller integer type 'uint8_t' (aka 'unsigned char') [-Werror,-Wint-to-pointer-cast] 155 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u8, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 156 | "RTE_PTR_ADD failed for uint8_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ 10 errors generated. [3458/3704] Compiling C object app/dpdk-test.p/test_test_pie.c.o [3459/3704] Compiling C object app/dpdk-test.p/test_test_pmd_ring.c.o [3460/3704] Compiling C object app/dpdk-test.p/test_test_pdcp.c.o [3461/3704] Compiling C object app/dpdk-test.p/test_test_power_cpufreq.c.o [3462/3704] Compiling C object app/dpdk-test.p/test_test_rand_perf.c.o [3463/3704] Compiling C object app/dpdk-test.p/test_test_ptr_compress.c.o [3464/3704] Compiling C object app/dpdk-test.p/test_test_pmd_perf.c.o [3465/3704] Compiling C object app/dpdk-test.p/test_test_pmd_ring_perf.c.o [3466/3704] Compiling C object app/dpdk-test.p/test_test_memcpy_perf.c.o ninja: build stopped *Build Failed #11: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [70/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o [71/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [72/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [73/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [74/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [75/3704] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [76/3704] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [77/3704] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [78/3704] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o ninja: build stopped *Build Failed #12: OS: AzureLinux3.0-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [70/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o [71/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [72/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [73/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [74/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [75/3700] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [76/3700] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [77/3700] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [78/3700] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o ninja: build stopped *Build Failed #13: OS: UB2404-32 Target: i686-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_eal_common_memory.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_memory.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_memory.c.o -c ../lib/eal/common/eal_common_memory.c In file included from ../lib/eal/include/generic/rte_rwlock.h:29, from ../lib/eal/x86/include/rte_rwlock.h:8, from ../lib/eal/include/rte_fbarray.h:35, from ../lib/eal/common/eal_common_memory.c:13: ../lib/eal/common/eal_common_memory.c: In function ‘handle_eal_memseg_info_request’: ../lib/eal/include/rte_common.h:577:55: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/common/eal_common_memory.c:1450:33: note: in expansion of macro ‘RTE_PTR_ADD’ 1450 | ms_end_addr = (uint64_t)RTE_PTR_ADD(ms_start_addr, ms->len); | ^~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c: In function ‘handle_eal_element_list_request’: ../lib/eal/include/rte_common.h:577:55: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/common/eal_common_memory.c:1522:33: note: in expansion of macro ‘RTE_PTR_ADD’ 1522 | ms_end_addr = (uint64_t)RTE_PTR_ADD(ms_start_addr, ms->len); | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:55: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/common/eal_common_memory.c:1534:35: note: in expansion of macro ‘RTE_PTR_ADD’ 1534 | (uint64_t)RTE_PTR_ADD(elem_start_addr, elem->size); | ^~~~~~~~~~~ ../lib/eal/common/eal_common_memory.c: In function ‘handle_eal_element_info_request’: ../lib/eal/include/rte_common.h:577:55: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/common/eal_common_memory.c:1600:33: note: in expansion of macro ‘RTE_PTR_ADD’ 1600 | ms_end_addr = (uint64_t)RTE_PTR_ADD(ms_start_addr, ms->len); | ^~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:55: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/common/eal_common_memory.c:1613:35: note: in expansion of macro ‘RTE_PTR_ADD’ 1613 | (uint64_t)RTE_PTR_ADD(elem_start_addr, elem->size); | ^~~~~~~~~~~ cc1: all warnings being treated as errors [60/2693] Compiling C object lib/librte_eal.a.p/eal_common_rte_reciprocal.c.o [61/2693] Compiling C object lib/librte_eal.a.p/eal_common_rte_version.c.o [62/2693] Compiling C object lib/librte_eal.a.p/eal_common_rte_bitset.c.o [63/2693] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o [64/2693] Compiling C object lib/librte_eal.a.p/eal_common_rte_random.c.o [65/2693] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o [66/2693] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o [67/2693] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[2147483647]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -64 into object of size [0, 2147483647] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[2147483647]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -64 into object of size [0, 2147483647] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [68/2693] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o ninja: build stopped *Build Failed #14: OS: RHEL10-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [68/3635] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o [69/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o [70/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o [71/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [72/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [73/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [74/3635] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [75/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [76/3635] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o ninja: build stopped *Build Failed #15: OS: UB2404-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [72/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [73/3875] Compiling C object lib/librte_eal.a.p/eal_unix_eal_debug.c.o [74/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [75/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [76/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [77/3875] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [78/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [79/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [80/3875] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o ninja: build stopped *Build Failed #16: OS: UB2404-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [73/3875] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [74/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [75/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [76/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [77/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [78/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [79/3875] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o [80/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [81/3875] Compiling C object lib/librte_eal.a.p/eal_unix_eal_file.c.o ninja: build stopped *Build Failed #17: OS: UB2404-64 Target: x86_64-native-linuxapp-clang FAILED: app/dpdk-test.p/test_test_ptr_add_sub.c.o clang -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -fno-strict-aliasing -Wno-format-truncation -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_ptr_add_sub.c.o -MF app/dpdk-test.p/test_test_ptr_add_sub.c.o.d -o app/dpdk-test.p/test_test_ptr_add_sub.c.o -c ../app/test/test_ptr_add_sub.c ../app/test/test_ptr_add_sub.c:34:31: error: cast to 'char *' from smaller integer type 'unsigned int' [-Werror,-Wint-to-pointer-cast] 34 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(ui, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 | "RTE_PTR_ADD failed for unsigned int"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:38:31: error: cast to 'char *' from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast] 38 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(i, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | "RTE_PTR_ADD failed for int"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:42:31: error: cast to 'char *' from smaller integer type 'unsigned short' [-Werror,-Wint-to-pointer-cast] 42 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(us, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | "RTE_PTR_ADD failed for unsigned short"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:46:31: error: cast to 'char *' from smaller integer type 'short' [-Werror,-Wint-to-pointer-cast] 46 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(s, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | "RTE_PTR_ADD failed for short"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:50:31: error: cast to 'char *' from smaller integer type 'unsigned char' [-Werror,-Wint-to-pointer-cast] 50 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(uc, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 51 | "RTE_PTR_ADD failed for unsigned char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:54:31: error: cast to 'char *' from smaller integer type 'signed char' [-Werror,-Wint-to-pointer-cast] 54 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(sc, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 55 | "RTE_PTR_ADD failed for signed char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:58:31: error: cast to 'char *' from smaller integer type 'char' [-Werror,-Wint-to-pointer-cast] 58 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(c, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 59 | "RTE_PTR_ADD failed for char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:147:31: error: cast to 'char *' from smaller integer type 'uint32_t' (aka 'unsigned int') [-Werror,-Wint-to-pointer-cast] 147 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u32, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | "RTE_PTR_ADD failed for uint32_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:151:31: error: cast to 'char *' from smaller integer type 'uint16_t' (aka 'unsigned short') [-Werror,-Wint-to-pointer-cast] 151 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u16, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | "RTE_PTR_ADD failed for uint16_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:155:31: error: cast to 'char *' from smaller integer type 'uint8_t' (aka 'unsigned char') [-Werror,-Wint-to-pointer-cast] 155 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u8, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 156 | "RTE_PTR_ADD failed for uint8_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ 10 errors generated. [3635/3875] Compiling C object app/dpdk-test.p/test_test_pmd_ring.c.o [3636/3875] Compiling C object app/dpdk-test.p/test_test_pdcp.c.o [3637/3875] Compiling C object app/dpdk-test.p/test_test_pmd_perf.c.o [3638/3875] Compiling C object app/dpdk-test.p/test_test_power_cpufreq.c.o [3639/3875] Compiling C object app/dpdk-test.p/test_test_rand_perf.c.o [3640/3875] Compiling C object app/dpdk-test.p/test_test_ptr_compress.c.o [3641/3875] Compiling C object app/dpdk-test.p/test_test_rawdev.c.o [3642/3875] Compiling C object app/dpdk-test.p/test_test_pmd_ring_perf.c.o [3643/3875] Compiling C object app/dpdk-test.p/test_test_memcpy_perf.c.o ninja: build stopped *Build Failed #18: OS: UB2404-64 Target: x86_64-native-linuxapp-doc FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [71/3692] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o [72/3692] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [73/3692] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [74/3692] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [75/3692] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [76/3692] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [77/3692] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [78/3692] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o [79/3692] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o ninja: build stopped *Build Failed #19: OS: RHEL10-64RT Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [70/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o [71/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [72/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [73/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [74/3635] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [75/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [76/3635] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [77/3635] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [78/3635] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o ninja: build stopped *Build Failed #20: OS: UB2504-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [74/3871] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [75/3871] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [76/3871] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [77/3871] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [78/3871] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [79/3871] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [80/3871] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o [81/3871] Compiling C object lib/librte_eal.a.p/eal_unix_eal_file.c.o [82/3871] Compiling C object lib/librte_eal.a.p/eal_unix_eal_filesystem.c.o ninja: build stopped *Build Failed #21: OS: Fedora42-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [73/3875] Compiling C object lib/librte_eal.a.p/eal_unix_eal_debug.c.o [74/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [75/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [76/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [77/3875] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [78/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [79/3875] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o [80/3875] Compiling C object lib/librte_eal.a.p/eal_unix_eal_file.c.o [81/3875] Compiling C object lib/librte_eal.a.p/eal_unix_eal_filesystem.c.o ninja: build stopped *Build Failed #22: OS: Fedora42-64 Target: x86_64-native-linuxapp-clang FAILED: app/dpdk-test.p/test_test_ptr_add_sub.c.o clang -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -DWITH_GZFILEOP -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -fno-strict-aliasing -Wno-format-truncation -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_ptr_add_sub.c.o -MF app/dpdk-test.p/test_test_ptr_add_sub.c.o.d -o app/dpdk-test.p/test_test_ptr_add_sub.c.o -c ../app/test/test_ptr_add_sub.c ../app/test/test_ptr_add_sub.c:34:31: error: cast to 'char *' from smaller integer type 'unsigned int' [-Werror,-Wint-to-pointer-cast] 34 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(ui, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 | "RTE_PTR_ADD failed for unsigned int"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:38:31: error: cast to 'char *' from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast] 38 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(i, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | "RTE_PTR_ADD failed for int"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:42:31: error: cast to 'char *' from smaller integer type 'unsigned short' [-Werror,-Wint-to-pointer-cast] 42 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(us, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | "RTE_PTR_ADD failed for unsigned short"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:46:31: error: cast to 'char *' from smaller integer type 'short' [-Werror,-Wint-to-pointer-cast] 46 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(s, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | "RTE_PTR_ADD failed for short"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:50:31: error: cast to 'char *' from smaller integer type 'unsigned char' [-Werror,-Wint-to-pointer-cast] 50 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(uc, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 51 | "RTE_PTR_ADD failed for unsigned char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:54:31: error: cast to 'char *' from smaller integer type 'signed char' [-Werror,-Wint-to-pointer-cast] 54 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(sc, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 55 | "RTE_PTR_ADD failed for signed char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:58:31: error: cast to 'char *' from smaller integer type 'char' [-Werror,-Wint-to-pointer-cast] 58 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(c, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 59 | "RTE_PTR_ADD failed for char"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:147:31: error: cast to 'char *' from smaller integer type 'uint32_t' (aka 'unsigned int') [-Werror,-Wint-to-pointer-cast] 147 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u32, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | "RTE_PTR_ADD failed for uint32_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:151:31: error: cast to 'char *' from smaller integer type 'uint16_t' (aka 'unsigned short') [-Werror,-Wint-to-pointer-cast] 151 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u16, 100), 0x1064, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | "RTE_PTR_ADD failed for uint16_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ ../app/test/test_ptr_add_sub.c:155:31: error: cast to 'char *' from smaller integer type 'uint8_t' (aka 'unsigned char') [-Werror,-Wint-to-pointer-cast] 155 | TEST_ASSERT_EQUAL((uintptr_t)RTE_PTR_ADD(u8, 50), 150, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 156 | "RTE_PTR_ADD failed for uint8_t"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:577:34: note: expanded from macro 'RTE_PTR_ADD' 577 | default: ((void *)((char *)(ptr) + (x))) \ | ^ ../lib/eal/include/rte_test.h:29:18: note: expanded from macro 'RTE_TEST_ASSERT_EQUAL' 29 | RTE_TEST_ASSERT(a == b, msg, ##__VA_ARGS__) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_test.h:20:8: note: expanded from macro 'RTE_TEST_ASSERT' 20 | if (!(cond)) { \ | ^~~~ 10 errors generated. [3638/3875] Compiling C object app/dpdk-test.p/test_test_pdcp.c.o [3639/3875] Compiling C object app/dpdk-test.p/test_test_pie.c.o [3640/3875] Compiling C object app/dpdk-test.p/test_test_pmd_perf.c.o [3641/3875] Compiling C object app/dpdk-test.p/test_test_pmd_ring.c.o [3642/3875] Compiling C object app/dpdk-test.p/test_test_memcpy_perf.c.o [3643/3875] Compiling C object app/dpdk-test.p/test_test_power_cpufreq.c.o [3644/3875] Compiling C object app/dpdk-test.p/test_test_rand_perf.c.o [3645/3875] Compiling C object app/dpdk-test.p/test_test_ptr_compress.c.o [3646/3875] Compiling C object app/dpdk-test.p/test_test_pmd_ring_perf.c.o ninja: build stopped *Build Failed #23: OS: OpenEuler2404-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c In file included from ../lib/eal/common/rte_malloc.c:23: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); | ~~~~~~~~~~~~^~~~~~~~~~~ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/eal/common/rte_malloc.c:12: In function ‘malloc_elem_from_data’, inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30: ../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds] 315 | return elem->state != ELEM_PAD ? elem: RTE_PTR_SUB(elem, elem->pad); ../lib/eal/include/rte_common.h:612:72: note: in definition of macro ‘RTE_PTR_SUB’ 612 | default: ((void *)((char *)(ptr) - (x))) \ | ^ ../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’: ../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’ 133 | void *ptr = rte_malloc_socket(type, size, align, socket); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [70/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o [71/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [72/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [73/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [74/3700] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [75/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [76/3700] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o [77/3700] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o [78/3700] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o ninja: build stopped DPDK STV team