Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/95303 _Compilation issues_ Submitter: Dmitry Kozlyuk Date: 2021-07-05 12:49:49 Reply_mail: 20210705124950.902701-4-dkozlyuk@nvidia.com DPDK git baseline: Repo:dpdk, CommitID: a95bbb72623c310df4d0c8ad45c2ee06f538e01b Meson Build Summary: 22 Builds Done, 21 Successful, 1 Failures, 0 Blocked +----------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +----------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | pass | pass | pass | | | pass | | RHEL83-64 | pass | pass | pass | pass | pass | | | FC34-64 | pass | pass | | | | | | UB2104-64 | pass | | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | fail | | | | | | | CENTOS83-64 | pass | pass | | | | | | FreeBSD1201-64 | pass | pass | | pass | pass | | | SUSE15-64 | pass | pass | | | | | +----------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-doc OS: RHEL83-64 Kernel Version: 4.18.0-305.3.1.el8.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc OS: FC34-64 Kernel Version: 5.11.15-300.fc34.x86_64 GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2104-64 Kernel Version: 5.11.0-16-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0 Clang Version: 12.0.0-1ubuntu1 x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: CENTOS83-64 Kernel Version: 4.18.0-240.1.1.el8_3.x86_64 GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-lp152.57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 9.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc *Build Failed #1: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: app/test/dpdk-test.p/test_malloc_perf.c.o gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/acl -I../lib/acl -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/bitratestats -I../lib/bitratestats -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/hash -I../lib/hash -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/flow_classify -I../lib/flow_classify -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/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Ilib/latencystats -I../lib/latencystats -Ilib/member -I../lib/member -Ilib/node -I../lib/node -Ilib/pipeline -I../lib/pipeline -Ilib/rawdev -I../lib/rawdev -Ilib/reorder -I../lib/reorder -Ilib/stack -I../lib/stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/power -I../lib/power -Ilib/pdump -I../lib/pdump -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_malloc_perf.c.o -MF app/test/dpdk-test.p/test_malloc_perf.c.o.d -o app/test/dpdk-test.p/test_malloc_perf.c.o -c ../app/test/test_malloc_perf.c ../app/test/test_malloc_perf.c: In function ‘test_alloc_perf’: ../app/test/test_malloc_perf.c:101:19: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=] 101 | printf("%12zu%8lu%12.2f%12.2f%12.2f%12.2f\n", | ~~~^ | | | long unsigned int | %8u 102 | size, runs_done, alloc_time, free_time, | ~~~~~~~~~ | | | size_t {aka unsigned int} cc1: all warnings being treated as errors [2016/2277] Compiling C object app/test/dpdk-test.p/test_lpm6_perf.c.o [2017/2277] Compiling C object app/test/dpdk-test.p/test_ipsec_perf.c.o [2018/2277] Compiling C object app/test/dpdk-test.p/test_malloc.c.o [2019/2277] Compiling C object app/test/dpdk-test.p/test_lpm6.c.o [2020/2277] Compiling C object app/test/dpdk-test.p/test_lpm_perf.c.o [2021/2277] Compiling C object app/test/dpdk-test.p/test_event_timer_adapter.c.o [2022/2277] Compiling C object app/test/dpdk-test.p/test_ipsec.c.o [2023/2277] Compiling C object app/test/dpdk-test.p/test_lpm.c.o [2024/2277] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o ninja: build stopped DPDK STV team