Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/99784 _Compilation issues_ Submitter: Nipun Gupta Date: 2021-09-27 12:26:50 Reply_mail: 20210927122650.30881-12-nipun.gupta@nxp.com DPDK git baseline: Repo:dpdk, CommitID: a0a388a897167f0efaf1657d9cdc32b14bd83604 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.3.0-1ubuntu1~20.04) 10.3.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.3.0-1ubuntu1~20.04) 10.3.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: drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_ethdev.c.o gcc -Idrivers/libtmp_rte_net_dpaa.a.p -Idrivers -I../drivers -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/ethdev -I../lib/ethdev -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.dpaa -MD -MQ drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_ethdev.c.o -MF drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_ethdev.c.o.d -o drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_ethdev.c.o -c ../drivers/net/dpaa/dpaa_ethdev.c In file included from ../drivers/bus/dpaa/rte_dpaa_bus.h:12, from ../drivers/net/dpaa/dpaa_ethdev.c:36: ../drivers/common/dpaax/dpaax_iova_table.h: In function ‘dpaax_iova_table_get_va’: ../drivers/common/dpaax/dpaax_iova_table.h:107:7: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 107 | if ((void *)entry[i].pages[index] == NULL) | ^ cc1: all warnings being treated as errors [479/2440] Compiling C object drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_fmlib_fm_vsp.c.o [480/2440] Compiling C object lib/librte_table.a.p/table_rte_table_stub.c.o [481/2440] Generating port.sym_chk with a meson_exe.py custom command [482/2440] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_port_in_action.c.o [483/2440] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_pipeline.c.o [484/2440] Compiling C object drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_rxtx.c.o FAILED: drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_rxtx.c.o gcc -Idrivers/libtmp_rte_net_dpaa.a.p -Idrivers -I../drivers -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/ethdev -I../lib/ethdev -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 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.dpaa -MD -MQ drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_rxtx.c.o -MF drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_rxtx.c.o.d -o drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_rxtx.c.o -c ../drivers/net/dpaa/dpaa_rxtx.c In file included from ../drivers/bus/dpaa/rte_dpaa_bus.h:12, from ../drivers/net/dpaa/dpaa_rxtx.c:40: ../drivers/common/dpaax/dpaax_iova_table.h: In function ‘dpaax_iova_table_get_va’: ../drivers/common/dpaax/dpaax_iova_table.h:107:7: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 107 | if ((void *)entry[i].pages[index] == NULL) | ^ cc1: all warnings being treated as errors [485/2440] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [486/2440] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o [487/2440] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o ninja: build stopped DPDK STV team