Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/70049 _Compilation issues_ Submitter: Pablo de Lara Date: 2020-05-10 19:40:49 Reply_mail: 1589139650-195685-1-git-send-email-pablo.de.lara.guarch@intel.com DPDK git baseline: Repo:dpdk-next-crypto, CommitID: 29517986bd49cf5c4484d53b6dae83f0140007a5 Makefile build Summary: 23 Builds Done, 23 Successful, 0 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 | | | | | | | | UB2004-64 | pass | pass | pass | | | FAIL | | | UB1804-64 | pass | pass | pass | | | pass | pass | | FC32-64 | | pass | | | | | | | CENTOS77-64 | pass | | | | | | | | CENTOS80-64 | pass | pass | pass | pass | pass | pass | | | UB1804-32 | pass | | | | | | | | FC31-64 | 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: UB2004-64 Kernel Version: 5.4.0-26-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang 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: FC32-64 Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9) Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32) x86_64-native-linuxapp-clang 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: 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-icc x86_64-native-linuxapp-clang OS: UB1804-32 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) i686-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 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.74-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 x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL77-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: 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: UB2004-64 Kernel Version: 5.4.0-26-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0 Clang Version: 10.0.0-4ubuntu1 ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz 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-doc ./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 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) ./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) Platinum 8180 CPU @ 2.50GHz 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.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.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 *Meson Build Failed #1: OS: UB2004-64 Target:./build-gcc-static [1737/2171] Linking static target drivers/libtmp_rte_pmd_virtio_crypto.a. [1738/2171] Generating rte_pmd_virtio_crypto.pmd.c with a custom command. [1739/2171] Generating symbol file 'drivers/a715181@@rte_pmd_dpaa_sec@sha/librte_pmd_dpaa_sec.so.20.0.2.symbols'. [1740/2171] Compiling C object 'drivers/a715181@@rte_pmd_virtio_crypto@sta/meson-generated_.._rte_pmd_virtio_crypto.pmd.c.o'. [1741/2171] 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/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_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 -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_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:281: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] (const void **)iv, (const void **)src, length_in_bits, ^ ../drivers/crypto/zuc/rte_zuc_pmd.c:281:38: error: cast from 'uint8_t **' (aka 'unsigned char **') to 'const void **' must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] (const void **)iv, (const void **)src, length_in_bits, ^ 2 errors generated. [1742/2171] Generating rte_pmd_crypto_scheduler.sym_chk with a meson_exe.py custom command. [1743/2171] Linking static target drivers/librte_pmd_virtio_crypto.a. -- [1746/2171] Generating rte_pmd_snow3g.sym_chk with a meson_exe.py custom command. [1747/2171] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_compress@sta/compress_octeontx_otx_zip.c.o'. [1748/2171] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_crypto@sta/crypto_octeontx2_otx2_cryptodev_ops.c.o'. [1749/2171] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_compress@sta/compress_octeontx_otx_zip_pmd.c.o'. [1750/2171] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_crypto@sta/crypto_octeontx_otx_cryptodev_ops.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --buildtype=debugoptimized --default-library=shared /root/UB2004-64_K5.4.0_GCC9.3.0/x86_64-native-linuxapp-gcc/5873791e844245e1802ceda2971bff3f/dpdk/devtools/.. ./build-clang-shared The Meson build system Version: 0.52.1 Source dir: /root/UB2004-64_K5.4.0_GCC9.3.0/x86_64-native-linuxapp-gcc/5873791e844245e1802ceda2971bff3f/dpdk Build dir: /root/UB2004-64_K5.4.0_GCC9.3.0/x86_64-native-linuxapp-gcc/5873791e844245e1802ceda2971bff3f/dpdk/build-clang-shared -- [1758/2383] Generating rte_pmd_virtio_crypto.pmd.c with a custom command. [1759/2383] Linking target drivers/librte_pmd_dpaa2_sec.so.20.0.2. [1760/2383] Compiling C object 'drivers/a715181@@rte_pmd_virtio_crypto@sta/meson-generated_.._rte_pmd_virtio_crypto.pmd.c.o'. [1761/2383] Linking static target drivers/librte_pmd_virtio_crypto.a. [1762/2383] 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/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_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 -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_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:281: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] (const void **)iv, (const void **)src, length_in_bits, ^ ../drivers/crypto/zuc/rte_zuc_pmd.c:281:38: error: cast from 'uint8_t **' (aka 'unsigned char **') to 'const void **' must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] (const void **)iv, (const void **)src, length_in_bits, ^ 2 errors generated. [1763/2383] Compiling C object 'drivers/a715181@@tmp_rte_pmd_zuc@sta/crypto_zuc_rte_zuc_pmd_ops.c.o'. [1764/2383] Compiling C object 'drivers/a715181@@tmp_rte_pmd_crypto_scheduler@sta/crypto_scheduler_scheduler_multicore.c.o'. -- [1767/2383] Compiling C object 'drivers/a715181@@tmp_rte_pmd_snow3g@sta/crypto_snow3g_rte_snow3g_pmd.c.o'. [1768/2383] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_compress@sta/compress_octeontx_otx_zip.c.o'. [1769/2383] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_crypto@sta/crypto_octeontx2_otx2_cryptodev_ops.c.o'. [1770/2383] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_compress@sta/compress_octeontx_otx_zip_pmd.c.o'. [1771/2383] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_crypto@sta/crypto_octeontx_otx_cryptodev_ops.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --buildtype=debugoptimized -Dlibdir=lib -Dmachine=nehalem --default-library=shared /root/UB2004-64_K5.4.0_GCC9.3.0/x86_64-native-linuxapp-gcc/5873791e844245e1802ceda2971bff3f/dpdk/devtools/.. ./build-x86-default The Meson build system Version: 0.52.1 Source dir: /root/UB2004-64_K5.4.0_GCC9.3.0/x86_64-native-linuxapp-gcc/5873791e844245e1802ceda2971bff3f/dpdk Build dir: /root/UB2004-64_K5.4.0_GCC9.3.0/x86_64-native-linuxapp-gcc/5873791e844245e1802ceda2971bff3f/dpdk/build-x86-default DPDK STV team