Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/58704 _Compilation issues_ Submitter: Xiaoyun Li Date: 2019-09-06 03:02:21 Reply_mail: 20190906030221.96093-5-xiaoyun.li@intel.com DPDK git baseline: Repo:dpdk, CommitID: e7fd5a3bbe5636e93a66fd5086f182756624c97a Makefile build Summary: 22 Builds Done, 20 Successful, 2 Failures Meson build Summary: 7 Builds Done, 6 Successful, 1 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +--------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +--------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL76-64 | pass | | | | | | | | CENTOS76-64 | pass | pass | pass | pass | pass | | | | UB1804-64 | pass | pass | pass | | | pass | pass | | UB1604-32 | FAIL | | | | | pass | | | UB1904-64 | pass | | | | | | | | UB1604-64 | pass | pass | | | | | | | FC30-64 | FAIL | pass | | | | FAIL | | | WIN10-64 | | | | | | pass | | | FreeBSD12-64 | pass | pass | | pass | pass | pass | | | RHEL80-64 | pass | | | | | | | | SUSE15-64 | pass | pass | | | | pass | | +--------------+------+-------+------+------------+-----------+-----------+----------+ Test environment and configuration as below: ** Makefile 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-clang x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-icc 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: FC30-64 Kernel Version: 5.1.7-300.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 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-clang x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc 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: 6.0.1 (tags/RELEASE_601/final) 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 ** 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: FC30-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 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.99-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: 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 *Make Build Failed #1: OS: UB1604-32 Target: i686-native-linuxapp-gcc CC opae_spi_transaction.o CC opae_intel_max10.o /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/drivers/raw/ntb/ntb.c: At top level: cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'ntb.o' failed make[6]: *** [ntb.o] Error 1 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.subdir.mk:35: recipe for target 'ntb' failed make[5]: *** [ntb] Error 2 make[5]: *** Waiting for unfinished jobs.... CC opae_i2c.o CC otx2_dpi_test.o CC opae_at24_eeprom.o CC opae_eth_group.o -- PMDINFO ifpga_rawdev.o.pmd.c CC ifpga_rawdev.o.pmd.o LD ifpga_rawdev.o AR librte_rawdev_ifpga.a INSTALL-LIB librte_rawdev_ifpga.a /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.subdir.mk:35: recipe for target 'raw' failed make[4]: *** [raw] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #2: OS: FC30-64 Target: x86_64-native-linuxapp-gcc CC ifpga_port.o AR librte_rawdev_octeontx2_dma.a INSTALL-LIB librte_rawdev_octeontx2_dma.a CC ifpga_port_error.o cc1: all warnings being treated as errors make[6]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/internal/rte.compile-pre.mk:114: ntb.o] Error 1 make[5]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.subdir.mk:35: ntb] Error 2 make[5]: *** Waiting for unfinished jobs.... CC opae_hw_api.o CC opae_ifpga_hw_api.o CC opae_debug.o CC ifpga_fme_pr.o -- PMDINFO ifpga_rawdev.o.pmd.c CC ifpga_rawdev.o.pmd.o LD ifpga_rawdev.o AR librte_rawdev_ifpga.a INSTALL-LIB librte_rawdev_ifpga.a make[4]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.subdir.mk:37: raw] Error 2 make[3]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/278024fdaaf94c20a63fdc0667fac029/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Build Failed #1: OS: FC30-64 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_rawdev_ntb@sta/raw_ntb_ntb.c.o gcc -Idrivers/a715181@@tmp_rte_rawdev_ntb@sta -Idrivers -I../drivers -Idrivers/raw/ntb -I../drivers/raw/ntb -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/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 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_rawdev_ntb@sta/raw_ntb_ntb.c.o' -MF 'drivers/a715181@@tmp_rte_rawdev_ntb@sta/raw_ntb_ntb.c.o.d' -o 'drivers/a715181@@tmp_rte_rawdev_ntb@sta/raw_ntb_ntb.c.o' -c ../drivers/raw/ntb/ntb.c ../drivers/raw/ntb/ntb.c: In function ‘ntb_xstats_get_names’: ../drivers/raw/ntb/ntb.c:1177:3: error: ‘strncpy’ output may be truncated copying 64 bytes from a string of length 383 [-Werror=stringop-truncation] 1177 | strncpy(xstats_names[i].name, ntb_xstats_names[i].name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1178 | RTE_RAW_DEV_XSTATS_NAME_SIZE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1421/1784] Compiling C object 'drivers/a715181@@rte_rawdev_skeleton@sha/meson-generated_.._rte_rawdev_skeleton.pmd.c.o'. [1422/1784] Compiling C object 'drivers/a715181@@rte_rawdev_skeleton@sta/meson-generated_.._rte_rawdev_skeleton.pmd.c.o'. [1423/1784] Compiling C object 'app/a172ced@@dpdk-proc-info@exe/proc-info_main.c.o'. [1424/1784] Compiling C object 'app/a172ced@@dpdk-pdump@exe/pdump_main.c.o'. [1425/1784] Compiling C object 'app/a172ced@@dpdk-test-bbdev@exe/test-bbdev_test_bbdev_perf.c.o'. [1426/1784] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker.c.o'. [1427/1784] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker_dual.c.o'. ninja: build stopped: subcommand failed DPDK STV team