Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/67859 _Compilation issues_ Submitter: Ivan Dyukov Date: 2020-04-06 08:58:01 Reply_mail: 20200406085855.25773-4-i.dyukov@samsung.com DPDK git baseline: Repo:dpdk-next-net, CommitID: fc1e2deb5ba56e26486191ba9b8ce4f38649728b Makefile build Summary: 23 Builds Done, 18 Successful, 5 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 | | | | | pass | | | CENTOS77-64 | FAIL | pass | FAIL | FAIL | FAIL | FAIL | | | UB1604-64 | pass | pass | | | | | | | WIN10-64 | | | | | | pass | | | UB1910-64 | pass | | | | | | | | FC31-64 | pass | pass | | | | pass | | | CENTOS80-64 | pass | | | | | | | | FreeBSD1201-64 | pass | pass | | pass | pass | pass | | | RHEL77-64 | FAIL | | | | | | | | 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+debug x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc 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 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.75-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+debug x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc 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-clang x86_64-native-linuxapp-gcc ** 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.12.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.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: 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: CENTOS77-64 Target: x86_64-native-linuxapp-gcc+debug /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+debug/116256106fda452e8d305c776983d5e5/dpdk/drivers/net/virtio/virtio_ethdev.c: At top level: cc1: error: unrecognized command line option "-Wno-address-of-packed-member" [-Werror] cc1: all warnings being treated as errors CC ecore_sriov.o CC virtio_rxtx_simple.o make[6]: *** [virtio_ethdev.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC rte_eth_softnic_link.o CC efx_filter.o CC ecore_vf.o PMDINFO vmxnet3_ethdev.o.pmd.c -- INSTALL-LIB librte_pmd_vhost.a CC otx2_rss.o CC rte_eth_softnic_cli.o CC efx_mcdi.o CC rte_eth_softnic_flow.o make[5]: *** [virtio] Error 2 make[5]: *** Waiting for unfinished jobs.... CC rte_eth_softnic_meter.o CC rte_eth_softnic_cryptodev.o CC otx2_mac.o CC otx2_ptp.o -- CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a AR librte_pmd_octeontx2.a INSTALL-LIB librte_pmd_octeontx2.a make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Make Build Failed #2: OS: CENTOS77-64 Target: x86_64-native-linuxapp-gcc ^ /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/116256106fda452e8d305c776983d5e5/dpdk/drivers/net/virtio/virtio_ethdev.c:2020:3: note: use option -std=c99 or -std=gnu99 to compile your code /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/116256106fda452e8d305c776983d5e5/dpdk/drivers/net/virtio/virtio_ethdev.c: At top level: cc1: error: unrecognized command line option "-Wno-address-of-packed-member" [-Werror] cc1: all warnings being treated as errors make[6]: *** [virtio_ethdev.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC bcm_osal.o CC sfc_ef10_essb_rx.o CC ecore_sriov.o PMDINFO vmxnet3_ethdev.o.pmd.c -- CC otx2_ethdev_devargs.o CC efx_nic.o CC efx_nvram.o CC efx_phy.o CC rte_eth_softnic_cli.o make[5]: *** [virtio] Error 2 make[5]: *** Waiting for unfinished jobs.... AR librte_pmd_octeontx2.a CC efx_port.o CC rte_eth_softnic_flow.o INSTALL-LIB librte_pmd_octeontx2.a -- CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a AR librte_pmd_softnic.a INSTALL-LIB librte_pmd_softnic.a make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Make Build Failed #3: OS: CENTOS77-64 Target: x86_64-native-linuxapp-gcc+shared /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+shared/116256106fda452e8d305c776983d5e5/dpdk/drivers/net/virtio/virtio_ethdev.c:2020:3: note: use option -std=c99 or -std=gnu99 to compile your code CC efx_lic.o /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+shared/116256106fda452e8d305c776983d5e5/dpdk/drivers/net/virtio/virtio_ethdev.c: At top level: cc1: error: unrecognized command line option "-Wno-address-of-packed-member" [-Werror] cc1: all warnings being treated as errors make[6]: *** [virtio_ethdev.o] Error 1 make[6]: *** Waiting for unfinished jobs.... LD librte_pmd_kni.so.20.0.2 CC efx_mac.o PMDINFO rte_eth_softnic.o.pmd.c CC rte_eth_softnic.o.pmd.o -- CC rte_eth_softnic_pipeline.o CC rte_eth_softnic_thread.o INSTALL-LIB librte_pmd_ice.so.20.0.2 CC rte_eth_softnic_cli.o CC efx_tunnel.o make[5]: *** [virtio] Error 2 make[5]: *** Waiting for unfinished jobs.... CC otx2_link.o CC rte_eth_softnic_flow.o CC efx_tx.o CC otx2_vlan.o -- CC medford2_nic.o LD librte_pmd_sfc_efx.so.20.0.2 INSTALL-LIB librte_pmd_sfc_efx.so.20.0.2 LD librte_pmd_qede.so.20.0.2 INSTALL-LIB librte_pmd_qede.so.20.0.2 make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Make Build Failed #4: OS: CENTOS77-64 Target: x86_64-native-linuxapp-icc /root/CENTOS77-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/116256106fda452e8d305c776983d5e5/dpdk/drivers/net/virtio/virtio_ethdev.c(2020): error: identifier "i" is undefined for (uint32_t i = 0; i < caps_size; i++) { ^ compilation aborted for /root/CENTOS77-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/116256106fda452e8d305c776983d5e5/dpdk/drivers/net/virtio/virtio_ethdev.c (code 2) make[6]: *** [virtio_ethdev.o] Error 2 make[6]: *** Waiting for unfinished jobs.... CC tap_intr.o CC ecore_dcbx.o == Build drivers/net/kni == Build drivers/net/softnic -- PMDINFO qede_ethdev.o.pmd.c CC qede_ethdev.o.pmd.o AR librte_pmd_vhost.a INSTALL-LIB librte_pmd_vhost.a CC rte_eth_softnic_thread.o make[5]: *** [virtio] Error 2 make[5]: *** Waiting for unfinished jobs.... CC rte_eth_softnic_cli.o LD qede_ethdev.o CC otx2_lookup.o CC otx2_ethdev.o -- INSTALL-LIB librte_pmd_softnic.a AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.a AR librte_pmd_octeontx2.a INSTALL-LIB librte_pmd_octeontx2.a make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Make Build Failed #5: OS: RHEL77-64 Target: x86_64-native-linuxapp-gcc ^ /root/RHEL77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/116256106fda452e8d305c776983d5e5/dpdk/drivers/net/virtio/virtio_ethdev.c:2020:3: note: use option -std=c99 or -std=gnu99 to compile your code /root/RHEL77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/116256106fda452e8d305c776983d5e5/dpdk/drivers/net/virtio/virtio_ethdev.c: At top level: cc1: error: unrecognized command line option "-Wno-address-of-packed-member" [-Werror] cc1: all warnings being treated as errors make[6]: *** [virtio_ethdev.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC otx2_tm.o CC qede_filter.o CC ice_dcf.o CC ice_dcf_ethdev.o CC efx_bootcfg.o CC vmxnet3_ethdev.o make[5]: *** [virtio] Error 2 make[5]: *** Waiting for unfinished jobs.... CC efx_crc32.o CC efx_ev.o CC ice_dcf_parent.o PMDINFO ice_dcf_ethdev.o.pmd.c -- CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a AR librte_pmd_octeontx2.a INSTALL-LIB librte_pmd_octeontx2.a make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Meson Build Failed #1: OS: CENTOS77-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_ethdev.c.o gcc -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 -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_ethdev.c.o' -c ../drivers/net/virtio/virtio_ethdev.c ../drivers/net/virtio/virtio_ethdev.c: In function ‘virtio_dev_speed_capa_get’: ../drivers/net/virtio/virtio_ethdev.c:2020:3: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < caps_size; i++) { ^ ../drivers/net/virtio/virtio_ethdev.c:2020:3: note: use option -std=c99 or -std=gnu99 to compile your code [1352/2245] Generating rte_pmd_vdev_netvsc.pmd.c with a custom command. [1353/2245] Compiling C object 'drivers/a715181@@tmp_rte_pmd_tap@sta/net_tap_rte_eth_tap.c.o'. [1354/2245] Generating rte_pmd_softnic.pmd.c with a custom command. [1355/2245] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_user_vhost_kernel_tap.c.o'. [1356/2245] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_pci.c.o'. [1357/2245] Compiling C object 'drivers/a715181@@tmp_rte_pmd_thunderx@sta/net_thunderx_nicvf_ethdev.c.o'. [1358/2245] Compiling C object 'drivers/a715181@@tmp_rte_pmd_vhost@sta/net_vhost_rte_eth_vhost.c.o'. [1359/2245] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2@sta/net_octeontx2_otx2_tx.c.o'. [1360/2245] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2@sta/net_octeontx2_otx2_rx.c.o'. ninja: build stopped: subcommand failed DPDK STV team