Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/54519 _Compilation issues_ Submitter: Vipin Varghese Date: 2019-06-06 18:29:57 Reply_mail: 20190606182957.56596-3-vipin.varghese@intel.com DPDK git baseline: Repo:dpdk-next-eventdev, CommitID: 7a1ccc24874e251957513aba0520500f873e276a Build Summary: 21 Builds Done, 20 Successful, 1 Failures Meson Summary: 8 Builds Done, 4 Successful, 4 Failures Test environment and configuration as below: **Make Build** OS: RHEL76-64 Kernel Version: 3.10.0-957.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB1904-64 Kernel Version: 5.0.0-13-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0 Clang Version: 8.0.0-3 (tags/RELEASE_800/final) x86_64-native-linuxapp-gcc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) i686-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-47-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+debug OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: NA x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FD30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang **Meson Build** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: NA build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: FD30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default *Build Failed Build #1: OS: FD30-64 Target: x86_64-native-linuxapp-gcc /tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/lib/librte_eal/linux/eal/eal_memalloc.c:1478:16: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 1478 | primary_msl = &mcfg->memsegs[msl_idx]; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[7]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/mk/internal/rte.compile-pre.mk:116: eal_memalloc.o] Error 1 make[7]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[7]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/mk/internal/rte.compile-pre.mk:116: eal_memory.o] Error 1 cc1: all warnings being treated as errors make[7]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/mk/internal/rte.compile-pre.mk:116: eal_vfio.o] Error 1 make[6]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/mk/rte.subdir.mk:37: eal] Error 2 make[5]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/mk/rte.subdir.mk:37: linux] Error 2 make[4]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/mk/rte.subdir.mk:35: librte_eal] Error 2 make[3]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 make[2]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Failed Build #1: OS: WIN10-64 Target: x86_64-windows-clang Compiler for C supports arguments -Wcast-qual: YES Compiler for C supports arguments -Wno-address-of-packed-member: YES config\x86\meson.build:8:0: ERROR: Program or command 'ld' not found or not executable A full log can be found at C:\win-dpdk\dpdk\build\meson-logs\meson-log.txt ninja: Entering directory `build' *Meson Failed Build #2: OS: UB1604-32 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o gcc -Idrivers/a715181@@tmp_rte_common_dpaax@sta -Idrivers -I../drivers -Idrivers/common/dpaax -I../drivers/common/dpaax -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -fPIC -march=native -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o' -MF 'drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o.d' -o 'drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o' -c ../drivers/common/dpaax/dpaax_iova_table.c In file included from ../drivers/common/dpaax/dpaax_iova_table.c:8:0: ../drivers/common/dpaax/dpaax_iova_table.c: In function ‘read_memory_node’: ../drivers/common/dpaax/dpaax_logs.h:18:39: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘__off64_t {aka long long int}’ [-Werror=format=] rte_log(RTE_LOG_DEBUG, dpaax_logger, "dpaax: %s(): " fmt "\n", \ ^ ../drivers/common/dpaax/dpaax_iova_table.c:102:2: note: in expansion of macro ‘DPAAX_DEBUG’ DPAAX_DEBUG("Size of device-tree mem node: %lu", statbuf.st_size); ^ ../drivers/common/dpaax/dpaax_logs.h:18:39: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘__off64_t {aka long long int}’ [-Werror=format=] rte_log(RTE_LOG_DEBUG, dpaax_logger, "dpaax: %s(): " fmt "\n", \ ^ ../drivers/common/dpaax/dpaax_iova_table.c:121:3: note: in expansion of macro ‘DPAAX_DEBUG’ DPAAX_DEBUG("Invalid memory node values or count. (size=%lu)", ^ cc1: all warnings being treated as errors [302/1472] Linking target drivers/librte_common_cpt.so.1.1. [303/1472] Compiling C object 'lib/76b5a35@@rte_flow_classify@sta/librte_flow_classify_rte_flow_classify.c.o'. [304/1472] Compiling C object 'lib/76b5a35@@rte_bpf@sta/librte_bpf_bpf_pkt.c.o'. [305/1472] Compiling C object 'lib/76b5a35@@rte_bpf@sta/librte_bpf_bpf_validate.c.o'. [306/1472] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed *Meson Failed Build #3: OS: RHEL80-64 Target:build-gcc-static FAILED: kernel/linux/kni/rte_kni.ko make -j4 -C /lib/modules/4.18.0-80.el8.x86_64/build M=/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/build-gcc-static/kernel/linux/kni src=/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/kernel/linux/kni 'MODULE_CFLAGS=-include /tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/config/rte_config.h -I/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/lib/librte_eal/common/include -I/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/lib/librte_eal/linux/eal/include -I/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/build-gcc-static -I/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/kernel/linux/kni -I/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/kernel/linux/kni/ethtool/ixgbe -I/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/35fa8841033d4a119b6be3acb928ecb0/dpdk/kernel/linux/kni/ethtool/igb' modules ninja: build stopped: subcommand failed *Meson Failed Build #4: OS: FD30-64 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_fslmc_bus.c.o gcc -Idrivers/a715181@@tmp_rte_bus_fslmc@sta -Idrivers -I../drivers -Idrivers/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include -I../drivers/bus/fslmc/portal -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Idrivers/common/dpaax -I../drivers/common/dpaax -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -fPIC -march=native -Wno-format-truncation -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_fslmc_bus.c.o' -MF 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_fslmc_bus.c.o.d' -o 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_fslmc_bus.c.o' -c ../drivers/bus/fslmc/fslmc_bus.c In file included from ../drivers/bus/fslmc/fslmc_bus.c:21: In function ‘scan_one_fslmc_device’, inlined from ‘rte_fslmc_scan’ at ../drivers/bus/fslmc/fslmc_bus.c:298:9: ../drivers/bus/fslmc/fslmc_logs.h:13:2: error: ‘%s’ directive argument is null [-Werror=format-overflow=] 13 | rte_log(RTE_LOG_ ## level, dpaa2_logtype_bus, "fslmc: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 | ##args) | ~~~~~~~ ../drivers/bus/fslmc/fslmc_logs.h:26:2: note: in expansion of macro ‘DPAA2_BUS_LOG’ 26 | DPAA2_BUS_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~~ ../drivers/bus/fslmc/fslmc_bus.c:200:3: note: in expansion of macro ‘DPAA2_BUS_ERR’ 200 | DPAA2_BUS_ERR("Incorrect device string observed (%s)", t_ptr); | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors [347/1576] Compiling C object 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_portal_dpaa2_hw_dpci.c.o'. [348/1576] Compiling C object 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_portal_dpaa2_hw_dpbp.c.o'. [349/1576] Compiling C object 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_portal_dpaa2_hw_dpio.c.o'. [350/1576] Compiling C object 'drivers/a715181@@tmp_rte_bus_dpaa@sta/bus_dpaa_base_qbman_qman.c.o'. [351/1576] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed DPDK STV team