* compilation|FAILURE| pw(132028) sid(29659) job(PER_PATCH_BUILD9218)[RFC, 2/2] test: add pointer compress tests to ring perf test
@ 2023-09-27 15:28 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2023-09-27 15:28 UTC (permalink / raw)
To: test-report, paul.szczepanek
[-- Attachment #1: Type: text/plain, Size: 20050 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/132028
_Compilation issues_
Submitter: Paul Szczepanek <paul.szczepanek@arm.com>
Date: 2023-09-27 15:08:54
Reply_mail: <20230927150854.3670391-3-paul.szczepanek@arm.com>
DPDK git baseline: Repo:dpdk, CommitID: 39970abcf4850e070aa4709c87bcac15cb27caf8
Meson Build Summary: 25 Builds Done, 24 Successful, 1 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64 | pass | | | | | | |
| FreeBSD13-64 | pass | pass | | pass | pass | | |
| RHEL92-64 | pass | pass | | pass | pass | | |
| SUSE15-64 | pass | pass | | | | | |
| CBL-Mariner2.0-64 | pass | | | | | | |
| UB2004-64 | pass | | | | | | |
| UB2204-32 | fail | | | | | | |
| RHEL87-64 | pass | | | | | | |
| UB2204-64 | pass | pass | | | | pass | pass |
| CentOS79-64 | pass | | | | | | |
| RHEL92-64Rt | pass | | | | | | |
| UB2304-64 | pass | | | | | | |
| FC38-64 | pass | pass | | | | | |
| UB2204-64Rt | pass | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.8-64
Kernel Version: 5.10.134-13.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
x86_64-native-linuxapp-gcc
OS: FreeBSD13-64
Kernel Version: 13.2-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL92-64
Kernel Version: 5.14.0-284.11.1.el9_2.x86_64
GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
Clang Version: 15.0.7 (Red Hat 15.0.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: 5.14.21-150500.53-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 15.0.7
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: CBL-Mariner2.0-64
Kernel Version: 5.15.55.1_2e9a4f9+
GCC Version: gcc (GCC) 11.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2004-64
Kernel Version: 5.8.0-48-generic
GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-gcc
OS: UB2204-32
Kernel Version: 5.15.0-58-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL87-64
Kernel Version: 4.18.0-425.3.1.el8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15)
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-58-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: CentOS79-64
Kernel Version: 3.10.0-1160.81.1.el7.x86_64
GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
x86_64-native-linuxapp-gcc
OS: RHEL92-64Rt
Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64
GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
x86_64-native-linuxapp-gcc
OS: UB2304-64
Kernel Version: 6.2.0-20-generic
GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: FC38-64
Kernel Version: 6.2.9-300.fc38.x86_64
GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0)
Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2204-64Rt
Kernel Version: 5.17.5-051705-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: UB2204-32
Target: i686-native-linuxapp-gcc
FAILED: app/dpdk-test.p/test_test_ring_mt_peek_stress_zc.c.o
gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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 -Ilib/eal/common -I../lib/eal/common -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/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/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -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/pdump -I../lib/pdump -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_ring_mt_peek_stress_zc.c.o -MF app/dpdk-test.p/test_test_ring_mt_peek_stress_zc.c.o.d -o app/dpdk-test.p/test_test_ring_mt_peek_stress_zc.c.o -c ../app/test/test_ring_mt_peek_stress_zc.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_memory.h:22,
from ../lib/eal/include/rte_malloc.h:16,
from ../app/test/test_ring.h:5,
from ../app/test/test_ring_mt_peek_stress_zc.c:5:
../lib/eal/include/rte_ptr_compress.h: In function ‘rte_ptr_decompress_32’:
../lib/eal/include/rte_common.h:371:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
371 | #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
| ^
../lib/eal/include/rte_ptr_compress.h:149:33: note: in expansion of macro ‘RTE_PTR_ADD’
149 | dest_table[i] = RTE_PTR_ADD(ptr_base, ptr_diff);
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[2013/2218] Compiling C object app/dpdk-test.p/test_test_ring_rts_stress.c.o
[2014/2218] Compiling C object app/dpdk-test.p/test_test_ring_stress.c.o
[2015/2218] Compiling C object app/dpdk-test.p/test_test_rwlock.c.o
[2016/2218] Compiling C object app/dpdk-test.p/test_test_ring_st_peek_stress_zc.c.o
FAILED: app/dpdk-test.p/test_test_ring_st_peek_stress_zc.c.o
gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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 -Ilib/eal/common -I../lib/eal/common -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/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/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -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/pdump -I../lib/pdump -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_ring_st_peek_stress_zc.c.o -MF app/dpdk-test.p/test_test_ring_st_peek_stress_zc.c.o.d -o app/dpdk-test.p/test_test_ring_st_peek_stress_zc.c.o -c ../app/test/test_ring_st_peek_stress_zc.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_memory.h:22,
from ../lib/eal/include/rte_malloc.h:16,
from ../app/test/test_ring.h:5,
from ../app/test/test_ring_st_peek_stress_zc.c:5:
../lib/eal/include/rte_ptr_compress.h: In function ‘rte_ptr_decompress_32’:
../lib/eal/include/rte_common.h:371:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
371 | #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
| ^
../lib/eal/include/rte_ptr_compress.h:149:33: note: in expansion of macro ‘RTE_PTR_ADD’
149 | dest_table[i] = RTE_PTR_ADD(ptr_base, ptr_diff);
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[2017/2218] Compiling C object app/dpdk-test.p/test_test_ring_st_peek_stress.c.o
[2018/2218] Compiling C object app/dpdk-test.p/test_test_sched.c.o
[2019/2218] Compiling C object app/dpdk-test.p/test_test_memcpy_perf.c.o
[2020/2218] Compiling C object app/dpdk-test.p/test_test_ring_perf.c.o
FAILED: app/dpdk-test.p/test_test_ring_perf.c.o
gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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 -Ilib/eal/common -I../lib/eal/common -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/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/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -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/pdump -I../lib/pdump -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_ring_perf.c.o -MF app/dpdk-test.p/test_test_ring_perf.c.o.d -o app/dpdk-test.p/test_test_ring_perf.c.o -c ../app/test/test_ring_perf.c
In file included from ../lib/ring/rte_ring_core.h:30,
from ../lib/ring/rte_ring.h:41,
from ../app/test/test_ring_perf.c:9:
../lib/eal/include/rte_ptr_compress.h: In function ‘rte_ptr_decompress_32’:
../lib/eal/include/rte_common.h:371:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
371 | #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
| ^
../lib/eal/include/rte_ptr_compress.h:149:33: note: in expansion of macro ‘RTE_PTR_ADD’
149 | dest_table[i] = RTE_PTR_ADD(ptr_base, ptr_diff);
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[2021/2218] Compiling C object app/dpdk-test.p/test_test_ring.c.o
FAILED: app/dpdk-test.p/test_test_ring.c.o
gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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 -Ilib/eal/common -I../lib/eal/common -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/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/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/reorder -I../lib/reorder -Ilib/security -I../lib/security -Ilib/distributor -I../lib/distributor -Ilib/dmadev -I../lib/dmadev -Ilib/efd -I../lib/efd -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -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/pdump -I../lib/pdump -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_ring.c.o -MF app/dpdk-test.p/test_test_ring.c.o.d -o app/dpdk-test.p/test_test_ring.c.o -c ../app/test/test_ring.c
In file included from ../app/test/test_ring.c:15:
../lib/eal/include/rte_ptr_compress.h: In function ‘rte_ptr_decompress_32’:
../lib/eal/include/rte_common.h:371:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
371 | #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
| ^
../lib/eal/include/rte_ptr_compress.h:149:33: note: in expansion of macro ‘RTE_PTR_ADD’
149 | dest_table[i] = RTE_PTR_ADD(ptr_base, ptr_diff);
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-27 15:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-27 15:28 compilation|FAILURE| pw(132028) sid(29659) job(PER_PATCH_BUILD9218)[RFC, 2/2] test: add pointer compress tests to ring perf test sys_stv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).