Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/70721 _Compilation issues_ Submitter: Sebastian, Selwin Date: 2020-06-01 12:57:35 Reply_mail: 20200601125735.11527-1-selwin.sebastian@amd.com DPDK git baseline: Repo:dpdk-next-net, CommitID: ad40e0470135dbc95d6bf3a8d3471af6e305842b Makefile build Summary: 23 Builds Done, 22 Successful, 1 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 | pass | | | | | | | CENTOS77-64 | pass | | | | | | | | WIN10-64 | | | | | | pass | | | CENTOS80-64 | pass | pass | pass | pass | pass | pass | | | FC31-64 | | | | | | pass | | | UB1804-32 | FAIL | | | | | 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-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc 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-gcc x86_64-native-linuxapp-icc 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 x86_64-native-linuxapp-gcc OS: CENTOS77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz 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-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-icc 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: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz 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+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 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-clang x86_64-native-linuxapp-gcc ** 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: 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: CENTOS80-64 Kernel Version: 4.18.0-147.8.1.el8_1.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.3.1 20190507 (Red Hat 8.3.1-4) Clang Version: 8.0.1 (Red Hat 8.0.1-1.module_el8.1.0+215+a01033fb) ./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: 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: 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 *Make Build Failed #1: OS: UB1804-32 Target: i686-native-linuxapp-gcc from /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_rxtx.h:35, from /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_ethdev.c:6: /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_ethdev.c: In function ‘axgbe_timesync_read_rx_timestamp’: /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_logs.h:23:51: error: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] rte_log(RTE_LOG_ ## level, axgbe_logtype_driver, "%s(): " fmt, \ ^ /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_ethdev.c:1544:5: note: in expansion of macro ‘PMD_DRV_LOG’ -- from /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_rxtx.h:35, from /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_ethdev.c:6: /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_ethdev.c: In function ‘axgbe_timesync_read_tx_timestamp’: /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_logs.h:23:51: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] rte_log(RTE_LOG_ ## level, axgbe_logtype_driver, "%s(): " fmt, \ ^ /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_ethdev.c:1577:2: note: in expansion of macro ‘PMD_DRV_LOG’ -- INSTALL-LIB librte_pmd_nitrox.a CC ark_udm.o /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/drivers/net/axgbe/axgbe_ethdev.c: At top level: cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'axgbe_ethdev.o' failed make[6]: *** [axgbe_ethdev.o] Error 1 /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/mk/rte.subdir.mk:35: recipe for target 'axgbe' failed make[5]: *** [axgbe] Error 2 make[5]: *** Waiting for unfinished jobs.... AR librte_pmd_octeontx_crypto.a CC cxgbevf_ethdev.o -- INSTALL-LIB librte_pmd_cxgbe.a AR librte_pmd_dpaa.a INSTALL-LIB librte_pmd_dpaa.a /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/mk/rte.sdkbuild.mk:51: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /root/UB1804-32_K4.15.0_GCC7.3.0/i686-native-linuxapp-gcc/b56662c8ff774407b372654b2ed6aeba/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Meson Build Failed #1: OS: UB1804-32 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_axgbe@sta/net_axgbe_axgbe_ethdev.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_axgbe@sta -Idrivers -I../drivers -Idrivers/net/axgbe -I../drivers/net/axgbe -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/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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 -fdiagnostics-color=always -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-cast-qual -MD -MQ 'drivers/a715181@@tmp_rte_pmd_axgbe@sta/net_axgbe_axgbe_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_axgbe@sta/net_axgbe_axgbe_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_axgbe@sta/net_axgbe_axgbe_ethdev.c.o' -c ../drivers/net/axgbe/axgbe_ethdev.c In file included from ../drivers/net/axgbe/axgbe_common.h:9:0, from ../drivers/net/axgbe/axgbe_rxtx.h:35, from ../drivers/net/axgbe/axgbe_ethdev.c:6: ../drivers/net/axgbe/axgbe_ethdev.c: In function ‘axgbe_timesync_read_rx_timestamp’: ../drivers/net/axgbe/axgbe_logs.h:23:51: error: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] rte_log(RTE_LOG_ ## level, axgbe_logtype_driver, "%s(): " fmt, \ ^ ../drivers/net/axgbe/axgbe_ethdev.c:1544:5: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(DEBUG, "flags = 0x%x nsec = %ld\n", ^~~~~~~~~~~ ../drivers/net/axgbe/axgbe_ethdev.c:1544:47: note: format string is defined here PMD_DRV_LOG(DEBUG, "flags = 0x%x nsec = %ld\n", ~~^ %lld In file included from ../drivers/net/axgbe/axgbe_common.h:9:0, from ../drivers/net/axgbe/axgbe_rxtx.h:35, from ../drivers/net/axgbe/axgbe_ethdev.c:6: ../drivers/net/axgbe/axgbe_ethdev.c: In function ‘axgbe_timesync_read_tx_timestamp’: ../drivers/net/axgbe/axgbe_logs.h:23:51: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] rte_log(RTE_LOG_ ## level, axgbe_logtype_driver, "%s(): " fmt, \ ^ ../drivers/net/axgbe/axgbe_ethdev.c:1577:2: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(DEBUG, "nsec = %ld tx_ssr = %d tx_snr = %d\n", ^~~~~~~~~~~ ../drivers/net/axgbe/axgbe_ethdev.c:1577:31: note: format string is defined here PMD_DRV_LOG(DEBUG, "nsec = %ld tx_ssr = %d tx_snr = %d\n", ~~^ %lld cc1: all warnings being treated as errors [733/1949] Linking static target drivers/librte_pmd_atlantic.a. [734/1949] Compiling C object 'drivers/a715181@@tmp_rte_pmd_axgbe@sta/net_axgbe_axgbe_rxtx.c.o'. [735/1949] Compiling C object 'drivers/a715181@@tmp_rte_pmd_avp@sta/net_avp_avp_ethdev.c.o'. [736/1949] Compiling C object 'drivers/a715181@@tmp_rte_pmd_axgbe@sta/net_axgbe_axgbe_rxtx_vec_sse.c.o'. [737/1949] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bond@sta/net_bonding_rte_eth_bond_args.c.o'. [738/1949] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bond@sta/net_bonding_rte_eth_bond_flow.c.o'. [739/1949] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bond@sta/net_bonding_rte_eth_bond_api.c.o'. [740/1949] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bond@sta/net_bonding_rte_eth_bond_alb.c.o'. [741/1949] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'. [742/1949] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bond@sta/net_bonding_rte_eth_bond_pmd.c.o'. [743/1949] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed DPDK STV team