Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/53559 _Compilation issues_ Submitter: Ziyang Xuan Date: 2019-05-21 08:17:09 Reply_mail: 1558426629-186916-1-git-send-email-xuanziyang2@huawei.com DPDK git baseline: Repo:dpdk, CommitID: 7e9562a107f170be5979199ae53a9780ce8cb81e Build Summary: 17 Builds Done, 12 Successful, 5 Failures Meson Summary: 8 Builds Done, 6 Successful, 2 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-16ubuntu3) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc 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.13.0-36-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS75-64 Kernel Version: 3.10.0-957.5.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: FC29-64 Kernel Version: 4.20.13-200.fc29.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2) Clang Version: 7.0.1 (Fedora 7.0.1-4.fc29) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc OS: RHEL75-64 Kernel Version: 3.10.0-862.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-28) Clang Version: NA x86_64-native-linuxapp-gcc OS: UB1810-64 Kernel Version: 4.18.0-10-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 8.2.0-7ubuntu1) 8.2.0 Clang Version: 7.0.0-3 (tags/RELEASE_700/final) 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-clang x86_64-native-bsdapp-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 OS: SUSE12-64 Kernel Version: 4.4.73-5-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.1.1 20170607 [gcc-7-branch revision 248970] Clang Version: 3.8.0 (tags/RELEASE_380/final 262553) x86_64-native-linuxapp-gcc **Meson Build** 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 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-gcc 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) i686-native-linuxapp-gcc OS: SUSE12-64 Kernel Version: 4.4.73-5-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.1.1 20170607 [gcc-7-branch revision 248970] Clang Version: 3.8.0 (tags/RELEASE_380/final 262553) x86_64-native-linuxapp-gcc OS: FC29-64 Kernel Version: 4.20.13-200.fc29.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.3.1 20190223 (Red Hat 8.3.1-2) Clang Version: 7.0.1 (Fedora 7.0.1-4.fc29) x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 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.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) x86_64-native-bsdapp-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 *Build Failed Build #1: OS: UB1604-32 Target: i686-native-linuxapp-gcc CC iavf_rxtx_vec_sse.o /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/drivers/net/hinic/base/hinic_pmd_wq.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/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'hinic_pmd_wq.o' failed make[6]: *** [hinic_pmd_wq.o] Error 1 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/rte.subdir.mk:35: recipe for target 'hinic' failed make[5]: *** [hinic] Error 2 make[5]: *** Waiting for unfinished jobs.... CC scheduler_multicore.o -- INSTALL-LIB librte_pmd_ixgbe.a AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/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/f3d6353782644030b4fa23f2ce8121fa/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/f3d6353782644030b4fa23f2ce8121fa/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/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Build Failed Build #2: OS: UB1804-64 Target: x86_64-native-linuxapp-clang static inline struct hinic_rq_wqe *hinic_get_rearm_rq_wqe(struct hinic_rxq *rxq, ^ 1 error generated. /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'hinic_pmd_rx.o' failed make[6]: *** [hinic_pmd_rx.o] Error 1 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/rte.subdir.mk:35: recipe for target 'hinic' failed make[5]: *** [hinic] Error 2 make[5]: *** Waiting for unfinished jobs.... CC rte_eth_null.o -- LD ixgbe_ethdev.o AR librte_pmd_ixgbe.a INSTALL-LIB librte_pmd_ixgbe.a /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Build Failed Build #3: OS: FC29-64 Target: x86_64-native-linuxapp-clang *Build Failed Build #4: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-clang *Build Failed Build #5: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc AR librte_pmd_ena.a INSTALL-LIB librte_pmd_ena.a cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror] cc1: all warnings being treated as errors gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/internal/rte.compile-pre.mk:116: hinic_pmd_api_cmd.o] Error 1 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/mk/rte.subdir.mk:35: hinic] Error 2 CC enic_rxtx.o *Meson Failed Build #1: OS: UB1604-32 Target: i686-native-linuxapp-gcc ../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 [316/1501] Generating rte_common_cpt.pmd.c with a custom command. [317/1501] Compiling C object 'drivers/a715181@@rte_common_octeontx@sta/meson-generated_.._rte_common_octeontx.pmd.c.o'. [318/1501] Compiling C object 'lib/76b5a35@@rte_bpf@sta/librte_bpf_bpf_pkt.c.o'. [319/1501] Compiling C object 'lib/76b5a35@@rte_bpf@sta/librte_bpf_bpf_validate.c.o'. [320/1501] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --default-library=shared /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/devtools/.. build-gcc-shared The Meson build system Version: 0.50.1 -- ../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 [327/1521] Linking static target drivers/librte_common_cpt.a. [328/1521] Linking target drivers/librte_common_cpt.so.1.1. [329/1521] Compiling C object 'lib/76b5a35@@rte_bpf@sta/librte_bpf_bpf_pkt.c.o'. [330/1521] Compiling C object 'lib/76b5a35@@rte_bpf@sta/librte_bpf_bpf_validate.c.o'. [331/1521] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --default-library=static /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/devtools/.. build-clang-static The Meson build system Version: 0.50.1 -- [56/1501] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_linux_eal_eal_dev.c.o'. [57/1501] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_linux_eal_eal.c.o'. [58/1501] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_linux_eal_eal_vfio.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --default-library=shared /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/devtools/.. build-clang-shared The Meson build system Version: 0.50.1 -- [56/1521] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_linux_eal_eal_dev.c.o'. [57/1521] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_linux_eal_eal.c.o'. [58/1521] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_linux_eal_eal_vfio.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all -Dmachine=nehalem --default-library=shared /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/devtools/.. build-x86-default The Meson build system Version: 0.50.1 -- ../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 [324/1524] Compiling C object 'drivers/a715181@@rte_common_cpt@sta/meson-generated_.._rte_common_cpt.pmd.c.o'. [325/1524] Compiling C object 'lib/76b5a35@@rte_bpf@sta/librte_bpf_bpf_pkt.c.o'. [326/1524] Compiling C object 'drivers/a715181@@tmp_rte_common_octeontx@sta/common_octeontx_octeontx_mbox.c.o'. [327/1524] Compiling C object 'lib/76b5a35@@rte_bpf@sta/librte_bpf_bpf_validate.c.o'. [328/1524] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed. *Meson Failed Build #2: OS: CENTOS76-64 Target: x86_64-native-linuxapp-gcc ../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c:107:19: note: ‘hash_oneblock_fn’ was declared here hash_one_block_t hash_oneblock_fn; ^ cc1: all warnings being treated as errors [1065/1660] Compiling C object 'drivers/a715181@@tmp_rte_pmd_vmxnet3@sta/net_vmxnet3_vmxnet3_ethdev.c.o'. [1066/1660] Compiling C object 'drivers/a715181@@tmp_rte_pmd_aesni_gcm@sta/crypto_aesni_gcm_aesni_gcm_pmd.c.o'. [1067/1660] Compiling C object 'drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd_ops.c.o'. [1068/1660] Compiling C object 'drivers/a715181@@tmp_rte_pmd_vmxnet3@sta/net_vmxnet3_vmxnet3_rxtx.c.o'. [1069/1660] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --default-library=shared /tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/devtools/.. build-gcc-shared The Meson build system Version: 0.50.0 -- ../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c:107:19: note: ‘hash_oneblock_fn’ was declared here hash_one_block_t hash_oneblock_fn; ^ cc1: all warnings being treated as errors [1085/1680] Compiling C object 'drivers/a715181@@tmp_rte_pmd_vmxnet3@sta/net_vmxnet3_vmxnet3_ethdev.c.o'. [1086/1680] Compiling C object 'drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd_ops.c.o'. [1087/1680] Compiling C object 'drivers/a715181@@tmp_rte_pmd_aesni_gcm@sta/crypto_aesni_gcm_aesni_gcm_pmd.c.o'. [1088/1680] Compiling C object 'drivers/a715181@@tmp_rte_pmd_vmxnet3@sta/net_vmxnet3_vmxnet3_rxtx.c.o'. [1089/1680] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --default-library=static /tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/devtools/.. build-clang-static The Meson build system Version: 0.50.0 -- Compiler for C supports arguments -Wno-address-of-packed-member: NO Fetching value of define "__SSE4_2__" : config/x86/meson.build:22:1: ERROR: Problem encountered: SSE4.2 instruction set is required for DPDK. Please set the machine type to "nehalem" or "corei7" or higher value A full log can be found at /tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/build-clang-static/meson-logs/meson-log.txt -- Compiler for C supports arguments -Wno-address-of-packed-member: NO Fetching value of define "__SSE4_2__" : config/x86/meson.build:22:1: ERROR: Problem encountered: SSE4.2 instruction set is required for DPDK. Please set the machine type to "nehalem" or "corei7" or higher value A full log can be found at /tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/f3d6353782644030b4fa23f2ce8121fa/dpdk/build-clang-shared/meson-logs/meson-log.txt -- ../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c:107:19: note: ‘hash_oneblock_fn’ was declared here hash_one_block_t hash_oneblock_fn; ^ cc1: all warnings being treated as errors [1093/1684] Compiling C object 'drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd_ops.c.o'. [1094/1684] Compiling C object 'drivers/a715181@@rte_pmd_aesni_gcm@sta/meson-generated_.._rte_pmd_aesni_gcm.pmd.c.o'. [1095/1684] Compiling C object 'drivers/a715181@@tmp_rte_pmd_caam_jr@sta/crypto_caam_jr_caam_jr_capabilities.c.o'. [1096/1684] Compiling C object 'drivers/a715181@@tmp_rte_pmd_vmxnet3@sta/net_vmxnet3_vmxnet3_rxtx.c.o'. [1097/1684] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx.c.o'. ninja: build stopped: subcommand failed. DPDK STV team