Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/68580 _Compilation issues_ Submitter: Vladimir Medvedkin Date: 2020-04-15 18:17:27 Reply_mail: d8dde08da0e0698f3d7e6d37010a41f056ba6060.1586974412.git.vladimir.medvedkin@intel.com DPDK git baseline: Repo:dpdk, CommitID: c3eb8b62744930029f96c5d64d9adac5749908ef Makefile build Summary: 23 Builds Done, 22 Successful, 1 Failures Meson build Summary: 8 Builds Done, 7 Successful, 1 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +----------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +----------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL80-64 | pass | | | | | | | | UB1804-64 | pass | pass | pass | | | pass | pass | | UB1604-32 | pass | | | | | FAIL | | | CENTOS77-64 | pass | | | | | | | | UB1604-64 | pass | FAIL | | | | | | | CENTOS80-64 | pass | pass | pass | pass | pass | pass | | | UB1910-64 | pass | | | | | | | | FC31-64 | pass | pass | | | | pass | | | WIN10-64 | | | | | | pass | | | FreeBSD1201-64 | pass | pass | | pass | pass | pass | | | RHEL77-64 | pass | | | | | | | | SUSE15-64 | pass | pass | | | | pass | | +----------------+------+-------+------+------------+-----------+-----------+----------+ Test environment and configuration as below: ** Makefile build ** 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) Platinum 8180 CPU @ 2.50GHz 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: CENTOS77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-176-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 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: CENTOS80-64 Kernel Version: 4.18.0-80.11.2.el8_0.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 7.0.1 (tags/RELEASE_701/final) x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc OS: UB1910-64 Kernel Version: 5.3.0-18-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008 Clang Version: 9.0.0-2 (tags/RELEASE_900/final) x86_64-native-linuxapp-gcc OS: FC31-64 Kernel Version: 5.3.15-300.fc31.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) Clang Version: 9.0.0 (Fedora 9.0.0-1.fc31) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang 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: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.73-MHz K8-class CPU) 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+shared x86_64-native-bsdapp-gcc x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-clang OS: RHEL77-64 Kernel Version: 3.10.0-1062.9.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-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-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: CENTOS80-64 Kernel Version: 4.18.0-80.11.2.el8_0.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: 7.0.1 (tags/RELEASE_701/final) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: FC31-64 Kernel Version: 5.4.18-200.fc31.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) Clang Version: 9.0.0 (Fedora 9.0.0-1.fc31) ./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: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) 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) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.12.82-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.4.1 20190905 [gcc-7-branch revision 275407] 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-64 Target: x86_64-native-linuxapp-clang CC rte_k32v64_hash.o /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/259929ad836a43a28bfafd955020cc93/dpdk/lib/librte_hash/k32v64_hash_avx512vl.c:21:8: error: always_inline function '_mm_mask_cmpeq_epi32_mask' requires target feature 'avx512bw', but would be inlined into function 'k32v64_cmp_keys_avx512vl' that is compiled without support for 'avx512bw' msk = _mm_mask_cmpeq_epi32_mask(bucket->key_mask, keys, srch_key); ^ 1 error generated. /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/259929ad836a43a28bfafd955020cc93/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'k32v64_hash_avx512vl.o' failed make[5]: *** [k32v64_hash_avx512vl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... AR librte_rib.a INSTALL-LIB librte_rib.a == Build lib/librte_fib SYMLINK-FILE include/rte_fib.h -- CC rte_cryptodev_pmd.o AR librte_reorder.a INSTALL-LIB librte_reorder.a CC rte_ether.o CC rte_arp.o /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/259929ad836a43a28bfafd955020cc93/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_hash' failed make[4]: *** [librte_hash] Error 2 make[4]: *** Waiting for unfinished jobs.... AR librte_net.a INSTALL-LIB librte_net.a AR librte_compressdev.a INSTALL-LIB librte_compressdev.a AR librte_bbdev.a INSTALL-LIB librte_bbdev.a AR librte_cryptodev.a INSTALL-LIB librte_cryptodev.a /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/259929ad836a43a28bfafd955020cc93/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/259929ad836a43a28bfafd955020cc93/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/259929ad836a43a28bfafd955020cc93/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/259929ad836a43a28bfafd955020cc93/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Meson Build Failed #1: OS: UB1604-32 Target:./build-gcc-static [120/1981] Linking static target lib/librte_metrics.a. [121/1981] Generating mbuf.exp_chk with a meson_exe.py custom command. [122/1981] Compiling C object 'lib/76b5a35@@rte_hash@sta/librte_hash_rte_fbk_hash.c.o'. [123/1981] Generating hash_def with a custom command. [124/1981] Compiling C object 'lib/librte_hash/ea0a160@@avx512_tmp@sta/k32v64_hash_avx512vl.c.o'. FAILED: lib/librte_hash/ea0a160@@avx512_tmp@sta/k32v64_hash_avx512vl.c.o clang -Ilib/librte_hash/ea0a160@@avx512_tmp@sta -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_mempool -I../lib/librte_mempool -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -mavx512vl -MD -MQ 'lib/librte_hash/ea0a160@@avx512_tmp@sta/k32v64_hash_avx512vl.c.o' -MF 'lib/librte_hash/ea0a160@@avx512_tmp@sta/k32v64_hash_avx512vl.c.o.d' -o 'lib/librte_hash/ea0a160@@avx512_tmp@sta/k32v64_hash_avx512vl.c.o' -c ../lib/librte_hash/k32v64_hash_avx512vl.c ../lib/librte_hash/k32v64_hash_avx512vl.c:21:8: error: always_inline function '_mm_mask_cmpeq_epi32_mask' requires target feature 'avx512bw', but would be inlined into function 'k32v64_cmp_keys_avx512vl' that is compiled without support for 'avx512bw' msk = _mm_mask_cmpeq_epi32_mask(bucket->key_mask, keys, srch_key); ^ 1 error generated. -- [129/1981] Compiling C object 'lib/76b5a35@@rte_timer@sta/librte_timer_rte_timer.c.o'. [130/1981] Compiling C object 'lib/76b5a35@@rte_cryptodev@sta/librte_cryptodev_rte_cryptodev.c.o'. [131/1981] Generating eal.exp_chk with a meson_exe.py custom command. [132/1981] Compiling C object 'lib/76b5a35@@rte_ethdev@sta/librte_ethdev_rte_ethdev.c.o'. [133/1981] Compiling C object 'lib/76b5a35@@rte_hash@sta/librte_hash_rte_cuckoo_hash.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --buildtype=debugoptimized --default-library=shared /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/259929ad836a43a28bfafd955020cc93/dpdk/devtools/.. ./build-clang-shared The Meson build system Version: 0.50.1 Source dir: /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/259929ad836a43a28bfafd955020cc93/dpdk Build dir: /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/259929ad836a43a28bfafd955020cc93/dpdk/build-clang-shared -- [120/2009] Compiling C object 'lib/76b5a35@@rte_jobstats@sta/librte_jobstats_rte_jobstats.c.o'. [121/2009] Linking static target lib/librte_cmdline.a. [122/2009] Linking static target lib/librte_metrics.a. [123/2009] Generating hash_def with a custom command. [124/2009] Compiling C object 'lib/librte_hash/ea0a160@@avx512_tmp@sta/k32v64_hash_avx512vl.c.o'. FAILED: lib/librte_hash/ea0a160@@avx512_tmp@sta/k32v64_hash_avx512vl.c.o clang -Ilib/librte_hash/ea0a160@@avx512_tmp@sta -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_mempool -I../lib/librte_mempool -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -mavx512vl -MD -MQ 'lib/librte_hash/ea0a160@@avx512_tmp@sta/k32v64_hash_avx512vl.c.o' -MF 'lib/librte_hash/ea0a160@@avx512_tmp@sta/k32v64_hash_avx512vl.c.o.d' -o 'lib/librte_hash/ea0a160@@avx512_tmp@sta/k32v64_hash_avx512vl.c.o' -c ../lib/librte_hash/k32v64_hash_avx512vl.c ../lib/librte_hash/k32v64_hash_avx512vl.c:21:8: error: always_inline function '_mm_mask_cmpeq_epi32_mask' requires target feature 'avx512bw', but would be inlined into function 'k32v64_cmp_keys_avx512vl' that is compiled without support for 'avx512bw' msk = _mm_mask_cmpeq_epi32_mask(bucket->key_mask, keys, srch_key); ^ 1 error generated. -- [129/2009] Compiling C object 'lib/76b5a35@@rte_timer@sta/librte_timer_rte_timer.c.o'. [130/2009] Generating eal.exp_chk with a meson_exe.py custom command. [131/2009] Compiling C object 'lib/76b5a35@@rte_cryptodev@sta/librte_cryptodev_rte_cryptodev.c.o'. [132/2009] Compiling C object 'lib/76b5a35@@rte_ethdev@sta/librte_ethdev_rte_ethdev.c.o'. [133/2009] Compiling C object 'lib/76b5a35@@rte_hash@sta/librte_hash_rte_cuckoo_hash.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --buildtype=debugoptimized -Dlibdir=lib -Dmachine=nehalem --default-library=shared /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/259929ad836a43a28bfafd955020cc93/dpdk/devtools/.. ./build-x86-default The Meson build system Version: 0.50.1 Source dir: /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/259929ad836a43a28bfafd955020cc93/dpdk Build dir: /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/259929ad836a43a28bfafd955020cc93/dpdk/build-x86-default DPDK STV team