Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/54432 _Compilation issues_ Submitter: Stephen Hemminger Date: 2019-06-05 18:09:48 Reply_mail: 20190605180948.22414-9-stephen@networkplumber.org DPDK git baseline: Repo:dpdk-next-net, CommitID: 49103866af617b0406f6be57ce87aa241091f5db Build Summary: 21 Builds Done, 18 Successful, 3 Failures Meson Summary: 8 Builds Done, 6 Successful, 2 Failures Test environment and configuration as below: **Make Build** OS: RHEL76-64 Kernel Version: 3.10.0-957.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-36) Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.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-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc 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: UB1904-64 Kernel Version: 5.0.0-13-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0 Clang Version: 8.0.0-3 (tags/RELEASE_800/final) x86_64-native-linuxapp-gcc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 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: UB1604-64 Kernel Version: 4.4.0-47-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 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: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-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: NA x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-clang 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 OS: FD30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang **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: 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: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default 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: NA build-gcc-static build-gcc-shared build-x86-default 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) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: FD30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default *Build Failed Build #1: OS: RHEL80-64 Target: x86_64-native-linuxapp-gcc+shared axgbe_ethdev.o: In function `eth_axgbe_dev_init.part.5': axgbe_ethdev.c:(.text+0xb45): undefined reference to `rte_eth_random_addr' collect2: error: ld returned 1 exit status make[6]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.lib.mk:102: librte_pmd_axgbe.so.1.1] Error 1 make[5]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.subdir.mk:37: axgbe] Error 2 make[5]: *** Waiting for unfinished jobs.... LD librte_pmd_dpaa_sec.so.1.1 LD librte_pmd_caam_jr.so.1.1 -- LD librte_pmd_cxgbe.so.1.1 INSTALL-LIB librte_pmd_e1000.so.1.1 INSTALL-LIB librte_pmd_cxgbe.so.1.1 make[4]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #2: OS: FD30-64 Target: x86_64-native-linuxapp-gcc CC lio_ethdev.o.pmd.o LD lio_ethdev.o CC hn_rndis.o cc1: all warnings being treated as errors make[6]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/internal/rte.compile-pre.mk:114: rte_eth_memif.o] Error 1 make[5]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.subdir.mk:35: memif] Error 2 make[5]: *** Waiting for unfinished jobs.... CC nfp_cpp_pcie_ops.o CC hn_nvs.o -- LD ixgbe_ethdev.o AR librte_pmd_ixgbe.a INSTALL-LIB librte_pmd_ixgbe.a make[4]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Build Failed Build #3: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc+shared axgbe_ethdev.o: In function `eth_axgbe_dev_init.part.5': axgbe_ethdev.c:(.text.unlikely+0x1ad): undefined reference to `rte_eth_random_addr' collect2: error: ld returned 1 exit status gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.lib.mk:102: librte_pmd_axgbe.so.1.1] Error 1 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.subdir.mk:37: axgbe] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC rte_eth_bond_alb.o CC cxgbe_ethdev.o -- LD igb_ethdev.o LD librte_pmd_e1000.so.1.1 INSTALL-LIB librte_pmd_e1000.so.1.1 gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/f140a4388dd34c92b1c7824b2244542e/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Failed Build #1: OS: UB1604-32 Target:build-gcc-static FAILED: examples/c590b3c@@dpdk-rxtx_callbacks@exe/rxtx_callbacks_main.c.o gcc -Iexamples/c590b3c@@dpdk-rxtx_callbacks@exe -Iexamples -I../examples -Iexamples/rxtx_callbacks -I../examples/rxtx_callbacks -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -march=native -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-rxtx_callbacks@exe/rxtx_callbacks_main.c.o' -MF 'examples/c590b3c@@dpdk-rxtx_callbacks@exe/rxtx_callbacks_main.c.o.d' -o 'examples/c590b3c@@dpdk-rxtx_callbacks@exe/rxtx_callbacks_main.c.o' -c ../examples/rxtx_callbacks/main.c ../examples/rxtx_callbacks/main.c: In function ‘port_init’: ../examples/rxtx_callbacks/main.c:172:10: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] printf("TSC Freq ~= %lu\nHW Freq ~= %lu\nRatio : %f\n", ^ ../examples/rxtx_callbacks/main.c:172:10: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] cc1: all warnings being treated as errors [1530/1549] Compiling C object 'examples/c590b3c@@dpdk-tep_termination@exe/tep_termination_vxlan.c.o'. [1531/1549] Compiling C object 'examples/c590b3c@@dpdk-tep_termination@exe/tep_termination_vxlan_setup.c.o'. [1532/1549] Compiling C object 'examples/c590b3c@@dpdk-vhost_crypto@exe/vhost_crypto_main.c.o'. [1533/1549] Compiling C object 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o'. [1534/1549] Compiling C object 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_scsi.c.o'. ninja: build stopped: subcommand failed *Meson Failed Build #2: OS: FD30-64 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_memif@sta/net_memif_rte_eth_memif.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_memif@sta -Idrivers -I../drivers -Idrivers/net/memif -I../drivers/net/memif -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -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 -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -fPIC -march=native -mno-avx512f -Wno-format-truncation -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_memif@sta/net_memif_rte_eth_memif.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_memif@sta/net_memif_rte_eth_memif.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_memif@sta/net_memif_rte_eth_memif.c.o' -c ../drivers/net/memif/rte_eth_memif.c In file included from ../drivers/net/memif/rte_eth_memif.c:27: ../drivers/net/memif/rte_eth_memif.c: In function ‘rte_pmd_memif_probe’: ../drivers/net/memif/rte_eth_memif.h:35:2: error: ‘%s’ directive argument is null [-Werror=format-overflow=] 35 | rte_log(RTE_LOG_ ## level, memif_logtype, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 | "%s(): " fmt "\n", __func__, ##args) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/memif/rte_eth_memif.c:1104:2: note: in expansion of macro ‘MIF_LOG’ 1104 | MIF_LOG(INFO, "Initialize MEMIF: %s.", name); | ^~~~~~~ ../drivers/net/memif/rte_eth_memif.c:1107:35: note: format string is defined here 1107 | MIF_LOG(ERR, "Multi-processing not supported for memif."); | ^~ cc1: all warnings being treated as errors [875/1673] Generating rte_pmd_liquidio.pmd.c with a custom command. [876/1673] Compiling C object 'drivers/a715181@@tmp_rte_pmd_netvsc@sta/net_netvsc_hn_vf.c.o'. [877/1673] Compiling C object 'drivers/a715181@@tmp_rte_pmd_netvsc@sta/net_netvsc_hn_nvs.c.o'. [878/1673] Compiling C object 'drivers/a715181@@tmp_rte_pmd_netvsc@sta/net_netvsc_hn_rndis.c.o'. [879/1673] Compiling C object 'drivers/a715181@@tmp_rte_pmd_netvsc@sta/net_netvsc_hn_rxtx.c.o'. ninja: build stopped: subcommand failed DPDK STV team