Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/69544 _Compilation issues_ Submitter: Wei Hu (Xavier) Date: 2020-04-29 11:13:24 Reply_mail: 20200429111328.64952-3-huwei013@chinasoftinc.com DPDK git baseline: Repo:dpdk-next-net, CommitID: 3abedc95cc4aeb00b1ad7e632b4cb24e49e20028 Makefile build Summary: 23 Builds Done, 23 Successful, 0 Failures Meson build Summary: 9 Builds Done, 8 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 | | | pass | | | UB1804-64 | pass | pass | pass | | | pass | pass | | FC32-64 | | pass | | | | | | | CENTOS77-64 | pass | | | | | | | | WIN10-64 | | | | | | pass | | | CENTOS80-64 | pass | pass | pass | pass | pass | pass | | | FC31-64 | pass | | | | | pass | | | UB1804-32 | pass | | | | | FAIL | | | 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+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc 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: 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: 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: UB1804-32 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/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: 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: UB1804-32 Target:./build-gcc-static [1286/1905] Linking static target drivers/librte_pmd_tap.a. [1287/1905] Linking static target drivers/librte_pmd_vhost.a. [1288/1905] Linking target drivers/librte_pmd_vdev_netvsc.so.20.0.2. [1289/1905] Generating rte_pmd_thunderx.pmd.c with a custom command. [1290/1905] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_packed_avx.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_packed_avx.c.o clang -Idrivers/a715181@@tmp_rte_pmd_virtio@sta -Idrivers -I../drivers -Idrivers/net/virtio -I../drivers/net/virtio -Ilib/librte_ethdev -I../lib/librte_ethdev -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_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -mavx512f -mavx512bw -mavx512vl -DCC_AVX512_SUPPORT -DVHOST_CLANG_UNROLL_PRAGMA -MD -MQ 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_packed_avx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_packed_avx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_packed_avx.c.o' -c ../drivers/net/virtio/virtio_rxtx_packed_avx.c ../drivers/net/virtio/virtio_rxtx_packed_avx.c:368:19: error: implicit declaration of function '_mm512_maskz_set1_epi64' is invalid in C99 [-Werror,-Wimplicit-function-declaration] __m512i v_mask = _mm512_maskz_set1_epi64(0xaa, PACKED_FLAGS_MASK); ^ ../drivers/net/virtio/virtio_rxtx_packed_avx.c:368:19: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] -- [1297/1905] Generating rte_pmd_vhost.sym_chk with a meson_exe.py custom command. [1298/1905] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_simple_sse.c.o'. [1299/1905] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_user_ethdev.c.o'. [1300/1905] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1301/1905] 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 --buildtype=debugoptimized -Dc_args=-m32 -Dc_link_args=-m32 --default-library=shared /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/ab0a7b770b8941fba840c06d6ca12459/dpdk/devtools/.. ./build-clang-shared The Meson build system Version: 0.50.0 Source dir: /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/ab0a7b770b8941fba840c06d6ca12459/dpdk Build dir: /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/ab0a7b770b8941fba840c06d6ca12459/dpdk/build-clang-shared -- [1327/2093] Compiling C object 'drivers/a715181@@rte_pmd_vhost@sha/meson-generated_.._rte_pmd_vhost.pmd.c.o'. [1328/2093] Compiling C object 'drivers/a715181@@rte_pmd_thunderx@sta/meson-generated_.._rte_pmd_thunderx.pmd.c.o'. [1329/2093] Linking static target drivers/librte_pmd_thunderx.a. [1330/2093] Compiling C object 'drivers/a715181@@rte_pmd_thunderx@sha/meson-generated_.._rte_pmd_thunderx.pmd.c.o'. [1331/2093] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_packed_avx.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_packed_avx.c.o clang -Idrivers/a715181@@tmp_rte_pmd_virtio@sta -Idrivers -I../drivers -Idrivers/net/virtio -I../drivers/net/virtio -Ilib/librte_ethdev -I../lib/librte_ethdev -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_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -mavx512f -mavx512bw -mavx512vl -DCC_AVX512_SUPPORT -DVHOST_CLANG_UNROLL_PRAGMA -MD -MQ 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_packed_avx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_packed_avx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_packed_avx.c.o' -c ../drivers/net/virtio/virtio_rxtx_packed_avx.c ../drivers/net/virtio/virtio_rxtx_packed_avx.c:368:19: error: implicit declaration of function '_mm512_maskz_set1_epi64' is invalid in C99 [-Werror,-Wimplicit-function-declaration] __m512i v_mask = _mm512_maskz_set1_epi64(0xaa, PACKED_FLAGS_MASK); ^ ../drivers/net/virtio/virtio_rxtx_packed_avx.c:368:19: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] -- [1338/2093] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx_simple_sse.c.o'. [1339/2093] Generating rte_pmd_thunderx.sym_chk with a meson_exe.py custom command. [1340/2093] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_user_ethdev.c.o'. [1341/2093] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_user_vhost_kernel.c.o'. [1342/2093] 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 --buildtype=debugoptimized -Dc_args=-m32 -Dc_link_args=-m32 -Dlibdir=lib -Dmachine=nehalem --default-library=shared /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/ab0a7b770b8941fba840c06d6ca12459/dpdk/devtools/.. ./build-x86-default The Meson build system Version: 0.50.0 Source dir: /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/ab0a7b770b8941fba840c06d6ca12459/dpdk Build dir: /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/ab0a7b770b8941fba840c06d6ca12459/dpdk/build-x86-default DPDK STV team