Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/68030 _Compilation issues_ Submitter: Mattias Rönnblom Date: 2020-04-08 17:56:54 Reply_mail: 20200408175655.18879-2-mattias.ronnblom@ericsson.com DPDK git baseline: Repo:dpdk-next-eventdev, CommitID: f2c9b773f95dfe2386d68814ac2788d26e20afda Makefile build Summary: 23 Builds Done, 19 Successful, 4 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 | pass | 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 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-clang x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc 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.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-clang x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-gcc x86_64-native-bsdapp-gcc+shared 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 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 LD dpaa2_eventdev.o LD dpaa_eventdev.o /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+debug/fa7febda66b64ebb96d2a743effb6742/dpdk/drivers/event/dsw/dsw_event.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]: *** [dsw_event.o] Error 1 make[5]: *** [dsw] Error 2 make[5]: *** Waiting for unfinished jobs.... CC otx2_evdev.o CC sw_evdev_worker.o PMDINFO ssovf_evdev.o.pmd.c CC ssovf_evdev.o.pmd.o -- PMDINFO otx2_evdev.o.pmd.c CC otx2_evdev.o.pmd.o LD otx2_evdev.o AR librte_pmd_octeontx2_event.a INSTALL-LIB librte_pmd_octeontx2_event.a make[4]: *** [event] 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+shared LD librte_pmd_dpaa2_event.so.20.0.2 INSTALL-LIB librte_pmd_dpaa_event.so.20.0.2 /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+shared/fa7febda66b64ebb96d2a743effb6742/dpdk/drivers/event/dsw/dsw_event.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]: *** [dsw_event.o] Error 1 make[5]: *** [dsw] Error 2 make[5]: *** Waiting for unfinished jobs.... PMDINFO opdl_evdev.o.pmd.c CC opdl_evdev_init.o CC timvf_worker.o CC opdl_evdev.o.pmd.o -- PMDINFO otx2_evdev.o.pmd.c CC otx2_evdev.o.pmd.o LD otx2_evdev.o LD librte_pmd_octeontx2_event.so.20.0.2 INSTALL-LIB librte_pmd_octeontx2_event.so.20.0.2 make[4]: *** [event] 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 CC otx2_tim_worker.o CC dpaa2_eventdev.o /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/fa7febda66b64ebb96d2a743effb6742/dpdk/drivers/event/dsw/dsw_event.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]: *** [dsw_event.o] Error 1 PMDINFO sw_evdev.o.pmd.c make[5]: *** [dsw] Error 2 make[5]: *** Waiting for unfinished jobs.... CC sw_evdev.o.pmd.o CC dpaa2_eventdev_selftest.o CC opdl_evdev.o LD sw_evdev.o -- PMDINFO otx2_evdev.o.pmd.c CC otx2_evdev.o.pmd.o LD otx2_evdev.o AR librte_pmd_octeontx2_event.a INSTALL-LIB librte_pmd_octeontx2_event.a make[4]: *** [event] 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: RHEL77-64 Target: x86_64-native-linuxapp-gcc CC sw_evdev_selftest.o CC otx2_tim_worker.o /root/RHEL77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/fa7febda66b64ebb96d2a743effb6742/dpdk/drivers/event/dsw/dsw_event.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]: *** [dsw_event.o] Error 1 make[5]: *** [dsw] Error 2 make[5]: *** Waiting for unfinished jobs.... CC opdl_evdev.o CC ssovf_evdev.o CC ssovf_evdev_selftest.o PMDINFO ssovf_evdev.o.pmd.c -- PMDINFO otx2_evdev.o.pmd.c CC otx2_evdev.o.pmd.o LD otx2_evdev.o AR librte_pmd_octeontx2_event.a INSTALL-LIB librte_pmd_octeontx2_event.a make[4]: *** [event] 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_dsw_event@sta/event_dsw_dsw_event.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_dsw_event@sta -Idrivers -I../drivers -Idrivers/event/dsw -I../drivers/event/dsw -Ilib/librte_eventdev -I../lib/librte_eventdev -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 -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -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 -Wno-format-nonliteral -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_dsw_event@sta/event_dsw_dsw_event.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_dsw_event@sta/event_dsw_dsw_event.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_dsw_event@sta/event_dsw_dsw_event.c.o' -c ../drivers/event/dsw/dsw_event.c ../drivers/event/dsw/dsw_event.c: In function ‘dsw_port_consider_emigration’: ../drivers/event/dsw/dsw_event.c:502:27: error: ‘candidate_qf’ may be used uninitialized in this function [-Werror=maybe-uninitialized] target_qfs[*targets_len] = *candidate_qf; ^ ../drivers/event/dsw/dsw_event.c:445:25: note: ‘candidate_qf’ was declared here struct dsw_queue_flow *candidate_qf; ^ In file included from ../lib/librte_eal/x86/include/rte_atomic.h:16:0, from ../lib/librte_eal/include/generic/rte_rwlock.h:25, from ../lib/librte_eal/x86/include/rte_rwlock.h:12, from ../lib/librte_eal/include/rte_fbarray.h:40, from ../lib/librte_eal/include/rte_memory.h:25, from ../lib/librte_eventdev/rte_event_ring.h:20, from ../drivers/event/dsw/dsw_evdev.h:8, from ../drivers/event/dsw/dsw_event.c:5: ../lib/librte_eal/include/generic/rte_atomic.h:566:22: error: ‘candidate_flow_load’ may be used uninitialized in this function [-Werror=maybe-uninitialized] __sync_fetch_and_add(&v->cnt, inc); ^ ../drivers/event/dsw/dsw_event.c:448:10: note: ‘candidate_flow_load’ was declared here int16_t candidate_flow_load; ^ ../drivers/event/dsw/dsw_event.c:505:49: error: ‘candidate_port_id’ may be used uninitialized in this function [-Werror=maybe-uninitialized] rte_atomic32_add(&dsw->ports[candidate_port_id].immigration_load, ^ ../drivers/event/dsw/dsw_event.c:446:10: note: ‘candidate_port_id’ was declared here uint8_t candidate_port_id; ^ cc1: all warnings being treated as errors [1788/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_dsw_event@sta/event_dsw_dsw_evdev.c.o'. [1789/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_dsw_event@sta/event_dsw_dsw_xstats.c.o'. [1790/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_event@sta/event_octeontx_ssovf_evdev.c.o'. [1791/2239] Generating rte_pmd_opdl_event.exp_chk with a meson_exe.py custom command. [1792/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx_event@sta/event_octeontx_ssovf_worker.c.o'. [1793/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_evdev.c.o'. [1794/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_sw_event@sta/event_sw_sw_evdev_selftest.c.o'. [1795/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker.c.o'. [1796/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker_dual.c.o'. ninja: build stopped: subcommand failed DPDK STV team