Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/63757 _Compilation issues_ Submitter: Pablo de Lara Date: 2019-12-11 14:20:43 Reply_mail: 1576074044-250855-3-git-send-email-pablo.de.lara.guarch@intel.com DPDK git baseline: Repo:dpdk-next-crypto, CommitID: aef1d0733179afb56916e95058a4f1398b81af04 Makefile build Summary: 22 Builds Done, 21 Successful, 1 Failures Meson build Summary: 8 Builds Done, 6 Successful, 2 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +----------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +----------------+------+-------+------+------------+-----------+-----------+----------+ | UB1804-64 | pass | pass | pass | | | pass | pass | | UB1604-32 | pass | | | | | pass | | | CENTOS77-64 | pass | pass | pass | pass | pass | FAIL | | | UB1604-64 | pass | pass | | | | | | | FC30-64 | FAIL | | | | | | | | WIN10-64 | | | | | | pass | | | UB1910-64 | pass | | | | | | | | FC31-64 | pass | pass | | | | FAIL | | | RHEL80-64 | pass | | | | | | | | FreeBSD1201-64 | pass | FAIL | | 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) 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: CENTOS77-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+shared x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+debug 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) CPU E5-2699 v3 @ 2.30GHz 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: 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.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: FC31-64 Kernel Version: 5.3.14-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 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) x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc 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: CENTOS77-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) ./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: FC31-64 Kernel Version: 5.3.14-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) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-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.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: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang CC atl_rxtx.o CC bbdev_null.o CC ark_ddm.o CC isal_compress_pmd.o CC rte_openssl_pmd.o /root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/drivers/compress/isal/isal_compress_pmd.c:4:10: fatal error: 'isa-l.h' file not found CC otx2_cryptodev.o #include ^~~~~~~~~ CC otx_cryptodev.o CC bnx2x.o CC ark_ethdev.o PMDINFO axgbe_ethdev.o.pmd.c CC axgbe_ethdev.o.pmd.o 1 PMDINFO otx2_cryptodev.o.pmd.c error generated. gmake[6]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/mk/internal/rte.compile-pre.mk:116: isal_compress_pmd.o] Error 1 gmake[5]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/mk/rte.subdir.mk:37: isal] Error 2 gmake[4]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/mk/rte.subdir.mk:37: compress] Error 2 gmake[4]: *** Waiting for unfinished jobs.... CC qat_comp_pmd.o CC otx2_cryptodev.o.pmd.o LD axgbe_ethdev.o LD otx2_cryptodev.o -- CC ef10_vpd.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a gmake[3]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Build Failed #1: OS: CENTOS77-64 Target:./build-gcc-static Compiler for C supports arguments -Wno-address-of-packed-member: NO Compiler for C supports arguments -Wno-packed-not-aligned: NO Compiler for C supports arguments -Wno-missing-field-initializers: YES 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 /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/build-clang-static/meson-logs/meson-log.txt ninja -C ./build-clang-static ninja: Entering directory `./build-clang-static' -- Compiler for C supports arguments -Wno-address-of-packed-member: NO Compiler for C supports arguments -Wno-packed-not-aligned: NO Compiler for C supports arguments -Wno-missing-field-initializers: YES 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 /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/build-clang-shared/meson-logs/meson-log.txt ninja -C ./build-clang-shared ninja: Entering directory `./build-clang-shared' *Meson Build Failed #2: OS: FC31-64 Target:./build-gcc-static [1661/2228] Compiling C object 'drivers/a715181@@rte_pmd_octeontx_crypto@sta/meson-generated_.._rte_pmd_octeontx_crypto.pmd.c.o'. [1662/2228] Linking static target drivers/librte_pmd_octeontx_crypto.a. [1663/2228] Generating rte_pmd_virtio_crypto.exp_chk with a meson_exe.py custom command. [1664/2228] Compiling C object 'drivers/a715181@@tmp_rte_pmd_isal@sta/compress_isal_isal_compress_pmd.c.o'. [1665/2228] Compiling C object 'drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd.c.o clang -Idrivers/a715181@@tmp_rte_pmd_zuc@sta -Idrivers -I../drivers -Idrivers/crypto/zuc -I../drivers/crypto/zuc -Ilib/librte_cryptodev -I../lib/librte_cryptodev -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 -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd.c.o' -c ../drivers/crypto/zuc/rte_zuc_pmd.c ../drivers/crypto/zuc/rte_zuc_pmd.c:225:51: error: cast from 'uint8_t **' (aka 'unsigned char **') to 'const void **' must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] IMB_ZUC_EEA3_N_BUFFER(qp->mb_mgr, (const void **)cipher_keys, ^ ../drivers/crypto/zuc/rte_zuc_pmd.c:226:19: error: cast from 'uint8_t **' (aka 'unsigned char **') to 'const void **' must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] -- [1668/2228] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_compress@sta/compress_octeontx_otx_zip.c.o'. [1669/2228] Compiling C object 'drivers/a715181@@tmp_rte_pmd_isal@sta/compress_isal_isal_compress_pmd_ops.c.o'. [1670/2228] Generating rte_pmd_octeontx_crypto.exp_chk with a meson_exe.py custom command. [1671/2228] Compiling C object 'drivers/a715181@@tmp_rte_pmd_qat@sta/common_qat_qat_common.c.o'. [1672/2228] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_compress@sta/compress_octeontx_otx_zip_pmd.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --default-library=shared /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/devtools/.. ./build-clang-shared The Meson build system Version: 0.52.1 Source dir: /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk Build dir: /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/build-clang-shared -- [1660/2256] Linking static target drivers/librte_pmd_octeontx2_crypto.a. [1661/2256] Generating rte_pmd_crypto_scheduler.exp_chk with a meson_exe.py custom command. [1662/2256] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio_crypto@sta/crypto_virtio_virtio_cryptodev.c.o'. [1663/2256] Compiling C object 'drivers/a715181@@rte_pmd_octeontx2_crypto@sha/meson-generated_.._rte_pmd_octeontx2_crypto.pmd.c.o'. [1664/2256] Compiling C object 'drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd.c.o clang -Idrivers/a715181@@tmp_rte_pmd_zuc@sta -Idrivers -I../drivers -Idrivers/crypto/zuc -I../drivers/crypto/zuc -Ilib/librte_cryptodev -I../lib/librte_cryptodev -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 -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd.c.o' -c ../drivers/crypto/zuc/rte_zuc_pmd.c ../drivers/crypto/zuc/rte_zuc_pmd.c:225:51: error: cast from 'uint8_t **' (aka 'unsigned char **') to 'const void **' must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] IMB_ZUC_EEA3_N_BUFFER(qp->mb_mgr, (const void **)cipher_keys, ^ ../drivers/crypto/zuc/rte_zuc_pmd.c:226:19: error: cast from 'uint8_t **' (aka 'unsigned char **') to 'const void **' must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] -- [1667/2256] Generating rte_pmd_octeontx2_crypto.exp_chk with a meson_exe.py custom command. [1668/2256] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio_crypto@sta/crypto_virtio_virtqueue.c.o'. [1669/2256] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_crypto@sta/crypto_octeontx_otx_cryptodev_ops.c.o'. [1670/2256] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio_crypto@sta/crypto_virtio_virtio_rxtx.c.o'. [1671/2256] Compiling C object 'drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd_ops.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all -Dlibdir=lib -Dmachine=nehalem --default-library=shared /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/devtools/.. ./build-x86-default The Meson build system Version: 0.52.1 Source dir: /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk Build dir: /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b390dca44f6e4573b2a4b0a3037f4bb6/dpdk/build-x86-default DPDK STV team