Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/63831 _Compilation issues_ Submitter: Mattias Rönnblom Date: 2019-12-12 18:44:13 Reply_mail: 20191212184413.18630-1-mattias.ronnblom@ericsson.com DPDK git baseline: Repo:dpdk-next-eventdev, CommitID: 0f942e5ca79af6a68414f1950cd8d1e2690da4cf Makefile build Summary: 22 Builds Done, 21 Successful, 1 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 | +----------------+------+-------+------+------------+-----------+-----------+----------+ | UB1804-64 | pass | pass | pass | | | pass | pass | | UB1604-32 | pass | | | | | pass | | | CENTOS77-64 | pass | pass | pass | pass | pass | pass | | | UB1604-64 | pass | pass | | | | | | | FC30-64 | FAIL | | | | | | | | WIN10-64 | | | | | | pass | | | UB1910-64 | pass | | | | | | | | FC31-64 | pass | pass | | | | pass | | | RHEL80-64 | pass | | | | | | | | FreeBSD1201-64 | pass | FAIL | | pass | pass | FAIL | | | RHEL77-64 | pass | | | | | | | | 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) 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: CENTOS77-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+shared x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc OS: UB1910-64 Kernel Version: 5.3.0-18-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 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: 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.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: FC31-64 Kernel Version: 5.3.14-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 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) 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 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-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: CENTOS77-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: 6.0.0 (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: FC31-64 Kernel Version: 5.3.14-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) 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.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 *Make Build Failed #1: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang CC axgbe_ethdev.o /root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/53a4551fed384533a4f935134e301cee/dpdk/drivers/compress/isal/isal_compress_pmd.c CC otx_cryptodev.o :4 CC ark_ddm.o CC otx_zip_pmd.o : CC atl_rxtx.o 10: fatal error: 'isa-l.h' file not found #include ^~~~~~~~~ PMDINFO otx_cryptodev.o.pmd.c CC ark_ethdev.o 1 CC otx_cryptodev.o.pmd.o error LD otx_cryptodev.o generated. gmake[6]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/53a4551fed384533a4f935134e301cee/dpdk/mk/internal/rte.compile-pre.mk:116: isal_compress_pmd.o] Error 1 gmake[5]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/53a4551fed384533a4f935134e301cee/dpdk/mk/rte.subdir.mk:37: isal] Error 2 gmake[5]: *** Waiting for unfinished jobs.... PMDINFO otx_zip_pmd.o.pmd.c CC qat_comp_pmd.o CC otx_zip_pmd.o.pmd.o PMDINFO otx2_cryptodev.o.pmd.c -- CC otx_cryptodev_hw_access.o CC ark_ethdev_rx.o AR librte_pmd_octeontx_zip.a CC otx2_cryptodev_hw_access.o INSTALL-LIB librte_pmd_octeontx_zip.a gmake[4]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/53a4551fed384533a4f935134e301cee/dpdk/mk/rte.subdir.mk:37: compress] Error 2 gmake[4]: *** Waiting for unfinished jobs.... CC qat_sym_session.o CC bnx2x.o PMDINFO atl_ethdev.o.pmd.c CC atl_ethdev.o.pmd.o -- CC hunt_nic.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a gmake[3]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/53a4551fed384533a4f935134e301cee/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/53a4551fed384533a4f935134e301cee/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/53a4551fed384533a4f935134e301cee/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/53a4551fed384533a4f935134e301cee/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Build Failed #1: OS: FreeBSD1201-64 Target:build-gcc-static [538/1614] Compiling C object 'drivers/a715181@@rte_common_octeontx2@sta/meson-generated_.._rte_common_octeontx2.pmd.c.o'. [539/1614] Linking static target drivers/librte_common_octeontx2.a. [540/1614] Generating rte_common_octeontx.exp_chk with a meson_exe.py custom command. [541/1614] Compiling C object 'drivers/a715181@@rte_common_octeontx2@sha/meson-generated_.._rte_common_octeontx2.pmd.c.o'. [542/1614] Linking target drivers/librte_common_octeontx.so.20.0. FAILED: drivers/librte_common_octeontx.so.20.0 clang -o drivers/librte_common_octeontx.so.20.0 'drivers/a715181@@rte_common_octeontx@sha/meson-generated_.._rte_common_octeontx.pmd.c.o' 'drivers/a715181@@tmp_rte_common_octeontx@sta/common_octeontx_octeontx_mbox.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_common_octeontx.so.20.0 -Wl,--no-as-needed -pthread -lm -lexecinfo lib/librte_eal.so.20.0 lib/librte_kvargs.so.20.0 -Wl,--end-group -Wl,--version-script=/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/drivers/common/octeontx/rte_common_octeontx_version.map '-Wl,-rpath,$ORIGIN/../lib' -Wl,-rpath-link,/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/build-clang-static/lib ld: error: duplicate symbol 'octeontx_mbox_init' in version script ld: error: duplicate symbol 'octeontx_get_global_domain' in version script clang: error: linker command failed with exit code 1 (use -v to see invocation) [543/1614] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_cfg.c.o'. [544/1614] Generating bpf.exp_chk with a meson_exe.py custom command. [545/1614] Generating rte_common_octeontx2.exp_chk with a meson_exe.py custom command. [546/1614] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_cmdq.c.o'. [547/1614] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --default-library=shared /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/devtools/.. build-clang-shared The Meson build system Version: 0.52.1 Source dir: /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk Build dir: /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/build-clang-shared -- [546/1641] Compiling C object 'drivers/a715181@@tmp_rte_common_octeontx2@sta/common_octeontx2_otx2_irq.c.o'. [547/1641] Linking target lib/librte_flow_classify.so.0.200. [548/1641] Generating rte_common_octeontx.exp_chk with a meson_exe.py custom command. [549/1641] Generating rte_common_cpt.exp_chk with a meson_exe.py custom command. [550/1641] Linking target drivers/librte_common_octeontx.so.20.0. FAILED: drivers/librte_common_octeontx.so.20.0 clang -o drivers/librte_common_octeontx.so.20.0 'drivers/a715181@@rte_common_octeontx@sha/meson-generated_.._rte_common_octeontx.pmd.c.o' 'drivers/a715181@@tmp_rte_common_octeontx@sta/common_octeontx_octeontx_mbox.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_common_octeontx.so.20.0 -Wl,--no-as-needed -pthread -lm -lexecinfo lib/librte_eal.so.20.0 lib/librte_kvargs.so.20.0 -Wl,--end-group -Wl,--version-script=/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/drivers/common/octeontx/rte_common_octeontx_version.map '-Wl,-rpath,$ORIGIN/../lib' -Wl,-rpath-link,/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/build-clang-shared/lib ld: error: duplicate symbol 'octeontx_mbox_init' in version script ld: error: duplicate symbol 'octeontx_get_global_domain' in version script clang: error: linker command failed with exit code 1 (use -v to see invocation) [551/1641] Generating bpf.exp_chk with a meson_exe.py custom command. [552/1641] Linking target drivers/librte_common_cpt.so.20.0. [553/1641] Compiling C object 'drivers/a715181@@tmp_rte_common_octeontx2@sta/common_octeontx2_otx2_mbox.c.o'. [554/1641] Generating symbol file 'lib/76b5a35@@rte_flow_classify@sha/librte_flow_classify.so.0.200.symbols'. [555/1641] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all -Dlibdir=lib -Dmachine=nehalem --default-library=shared /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/devtools/.. build-x86-default The Meson build system Version: 0.52.1 Source dir: /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk Build dir: /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/build-x86-default -- [539/1646] Generating rte_common_cpt.exp_chk with a meson_exe.py custom command. [540/1646] Compiling C object 'drivers/a715181@@tmp_rte_rawdev_ntb@sta/raw_ntb_ntb.c.o'. [541/1646] Linking static target drivers/libtmp_rte_rawdev_ntb.a. [542/1646] Linking target drivers/librte_common_cpt.so.20.0. [543/1646] Linking target drivers/librte_common_octeontx.so.20.0. FAILED: drivers/librte_common_octeontx.so.20.0 cc -o drivers/librte_common_octeontx.so.20.0 'drivers/a715181@@rte_common_octeontx@sha/meson-generated_.._rte_common_octeontx.pmd.c.o' 'drivers/a715181@@tmp_rte_common_octeontx@sta/common_octeontx_octeontx_mbox.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_common_octeontx.so.20.0 -Wl,--no-as-needed -pthread -lm -lexecinfo lib/librte_eal.so.20.0 lib/librte_kvargs.so.20.0 -Wl,--end-group -Wl,--version-script=/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/drivers/common/octeontx/rte_common_octeontx_version.map '-Wl,-rpath,$ORIGIN/../lib' -Wl,-rpath-link,/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/build-x86-default/lib ld: error: duplicate symbol 'octeontx_mbox_init' in version script ld: error: duplicate symbol 'octeontx_get_global_domain' in version script cc: error: linker command failed with exit code 1 (use -v to see invocation) [544/1646] Generating rte_rawdev_ntb.pmd.c with a custom command. [545/1646] Generating bpf.exp_chk with a meson_exe.py custom command. [546/1646] Generating symbol file 'lib/76b5a35@@rte_flow_classify@sha/librte_flow_classify.so.0.200.symbols'. [547/1646] Compiling C object 'drivers/a715181@@tmp_rte_common_octeontx2@sta/common_octeontx2_otx2_dev.c.o'. [548/1646] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed. ninja: Entering directory `build-x86-default' [1/1100] Linking static target lib/librte_pipeline.a. [2/1100] Compiling C object 'drivers/a715181@@rte_rawdev_ntb@sha/meson-generated_.._rte_rawdev_ntb.pmd.c.o'. [3/1100] Compiling C object 'drivers/a715181@@rte_rawdev_ntb@sta/meson-generated_.._rte_rawdev_ntb.pmd.c.o'. [4/1100] Linking target drivers/librte_common_octeontx.so.20.0. FAILED: drivers/librte_common_octeontx.so.20.0 cc -o drivers/librte_common_octeontx.so.20.0 'drivers/a715181@@rte_common_octeontx@sha/meson-generated_.._rte_common_octeontx.pmd.c.o' 'drivers/a715181@@tmp_rte_common_octeontx@sta/common_octeontx_octeontx_mbox.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_common_octeontx.so.20.0 -Wl,--no-as-needed -pthread -lm -lexecinfo lib/librte_eal.so.20.0 lib/librte_kvargs.so.20.0 -Wl,--end-group -Wl,--version-script=/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/drivers/common/octeontx/rte_common_octeontx_version.map '-Wl,-rpath,$ORIGIN/../lib' -Wl,-rpath-link,/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/build-x86-default/lib ld: error: duplicate symbol 'octeontx_mbox_init' in version script ld: error: duplicate symbol 'octeontx_get_global_domain' in version script cc: error: linker command failed with exit code 1 (use -v to see invocation) [5/1100] Linking static target drivers/librte_rawdev_ntb.a. [6/1100] Linking target lib/librte_bpf.so.0.200. [7/1100] Compiling C object 'drivers/a715181@@tmp_rte_common_octeontx2@sta/common_octeontx2_otx2_irq.c.o'. [8/1100] Compiling C object 'drivers/a715181@@tmp_rte_common_octeontx2@sta/common_octeontx2_otx2_mbox.c.o'. [9/1100] Generating pipeline.exp_chk with a meson_exe.py custom command. ninja: build stopped: subcommand failed. find: /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/53a4551fed384533a4f935134e301cee/dpdk/build-x86-default/install-root: No such file or directory usage: dirname string [...] DPDK STV team