Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/55996 _Compilation issues_ Submitter: Gavin Hu Date: 2019-07-03 08:58:35 Reply_mail: 1562144316-14687-5-git-send-email-gavin.hu@arm.com DPDK git baseline: Repo:dpdk, CommitID: 85cf6dc3a5dcb5efa6ed78bd6baa0be262674760 Build Summary: 22 Builds Done, 22 Successful, 0 Failures Meson Summary: 8 Builds Done, 7 Successful, 1 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 x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-gcc+shared 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+debug x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-icc 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 OS: FD30-64 Kernel Version: 5.1.7-300.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.99-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 *Meson Build Failed #1: OS: UB1604-32 Target:build-gcc-static [1180/1611] Compiling C object 'drivers/a715181@@rte_pmd_octeontx2_event@sta/meson-generated_.._rte_pmd_octeontx2_event.pmd.c.o'. [1181/1611] Compiling C object 'drivers/a715181@@rte_pmd_octeontx2_event@sha/meson-generated_.._rte_pmd_octeontx2_event.pmd.c.o'. [1182/1611] Linking static target drivers/librte_pmd_octeontx2_event.a. [1183/1611] Compiling C object 'drivers/a715181@@tmp_rte_pmd_sw_event@sta/event_sw_sw_evdev_xstats.c.o'. [1184/1611] Linking target drivers/librte_pmd_octeontx2_event.so.1.1. FAILED: drivers/librte_pmd_octeontx2_event.so.1.1 clang -o drivers/librte_pmd_octeontx2_event.so.1.1 'drivers/a715181@@rte_pmd_octeontx2_event@sha/meson-generated_.._rte_pmd_octeontx2_event.pmd.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker_dual.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_evdev.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_evdev_adptr.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_evdev_irq.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_evdev_selftest.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_evdev.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_pmd_octeontx2_event.so.1 -Wl,--no-as-needed -pthread -lm -ldl -lnuma lib/librte_eventdev.so.7.1 lib/librte_eal.so.10.1 lib/librte_kvargs.so.1.1 lib/librte_ring.so.2.1 lib/librte_ethdev.so.12.1 lib/librte_net.so.1.1 lib/librte_mbuf.so.5.1 lib/librte_mempool.so.5.1 lib/librte_cmdline.so.2.1 lib/librte_meter.so.3.1 lib/librte_hash.so.2.1 lib/librte_timer.so.1.1 lib/librte_cryptodev.so.7.1 drivers/librte_bus_pci.so.2.1 lib/librte_pci.so.1.1 drivers/librte_common_octeontx2.so.1.1 drivers/librte_mempool_octeontx2.so.1.1 -Wl,--end-group -Wl,--version-script=/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk/drivers/event/octeontx2/rte_pmd_octeontx2_event_version.map '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk/build-clang-static/lib:/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk/build-clang-static/drivers drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o: In function `otx2_tim_arm_burst_mod_sp': ../drivers/event/octeontx2/otx2_tim_worker.c:(.text+0x17a): undefined reference to `__atomic_fetch_add_8' drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o: In function `otx2_tim_arm_burst_mod_mp': ../drivers/event/octeontx2/otx2_tim_worker.c:(.text+0x46a): undefined reference to `__atomic_fetch_add_8' -- drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o: In function `otx2_tim_arm_burst_mod_fb_mp': ../drivers/event/octeontx2/otx2_tim_worker.c:(.text+0xa5a): undefined reference to `__atomic_fetch_add_8' drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o: In function `otx2_tim_arm_burst_and_sp': ../drivers/event/octeontx2/otx2_tim_worker.c:(.text+0xd69): undefined reference to `__atomic_fetch_add_8' drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o:../drivers/event/octeontx2/otx2_tim_worker.c:(.text+0x104b): more undefined references to `__atomic_fetch_add_8' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) [1185/1611] Compiling C object 'drivers/a715181@@tmp_rte_pmd_sw_event@sta/event_sw_sw_evdev.c.o'. [1186/1611] Compiling C object 'drivers/a715181@@tmp_rte_pmd_dsw_event@sta/event_dsw_dsw_evdev.c.o'. [1187/1611] Compiling C object 'drivers/a715181@@tmp_rte_pmd_opdl_event@sta/event_opdl_opdl_ring.c.o'. [1188/1611] Compiling C object 'drivers/a715181@@tmp_rte_pmd_sw_event@sta/event_sw_sw_evdev_selftest.c.o'. [1189/1611] Compiling C object 'drivers/a715181@@tmp_rte_pmd_sw_event@sta/event_sw_sw_evdev_scheduler.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --default-library=shared /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk/devtools/.. build-clang-shared The Meson build system Version: 0.50.1 Source dir: /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk Build dir: /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk/build-clang-shared -- [1205/1631] Compiling C object 'drivers/a715181@@rte_pmd_octeontx2_event@sta/meson-generated_.._rte_pmd_octeontx2_event.pmd.c.o'. [1206/1631] Compiling C object 'drivers/a715181@@tmp_rte_pmd_sw_event@sta/event_sw_sw_evdev_xstats.c.o'. [1207/1631] Linking static target drivers/librte_pmd_octeontx2_event.a. [1208/1631] Compiling C object 'drivers/a715181@@rte_pmd_octeontx2_event@sha/meson-generated_.._rte_pmd_octeontx2_event.pmd.c.o'. [1209/1631] Linking target drivers/librte_pmd_octeontx2_event.so.1.1. FAILED: drivers/librte_pmd_octeontx2_event.so.1.1 clang -o drivers/librte_pmd_octeontx2_event.so.1.1 'drivers/a715181@@rte_pmd_octeontx2_event@sha/meson-generated_.._rte_pmd_octeontx2_event.pmd.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker_dual.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_evdev.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_evdev_adptr.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_evdev_irq.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_evdev_selftest.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_evdev.c.o' 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_pmd_octeontx2_event.so.1 -Wl,--no-as-needed -pthread -lm -ldl -lnuma lib/librte_eventdev.so.7.1 lib/librte_eal.so.10.1 lib/librte_kvargs.so.1.1 lib/librte_ring.so.2.1 lib/librte_ethdev.so.12.1 lib/librte_net.so.1.1 lib/librte_mbuf.so.5.1 lib/librte_mempool.so.5.1 lib/librte_cmdline.so.2.1 lib/librte_meter.so.3.1 lib/librte_hash.so.2.1 lib/librte_timer.so.1.1 lib/librte_cryptodev.so.7.1 drivers/librte_bus_pci.so.2.1 lib/librte_pci.so.1.1 drivers/librte_common_octeontx2.so.1.1 drivers/librte_mempool_octeontx2.so.1.1 -Wl,--end-group -Wl,--version-script=/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk/drivers/event/octeontx2/rte_pmd_octeontx2_event_version.map '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk/build-clang-shared/lib:/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk/build-clang-shared/drivers drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o: In function `otx2_tim_arm_burst_mod_sp': ../drivers/event/octeontx2/otx2_tim_worker.c:(.text+0x17a): undefined reference to `__atomic_fetch_add_8' drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o: In function `otx2_tim_arm_burst_mod_mp': ../drivers/event/octeontx2/otx2_tim_worker.c:(.text+0x46a): undefined reference to `__atomic_fetch_add_8' -- drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o: In function `otx2_tim_arm_burst_mod_fb_mp': ../drivers/event/octeontx2/otx2_tim_worker.c:(.text+0xa5a): undefined reference to `__atomic_fetch_add_8' drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o: In function `otx2_tim_arm_burst_and_sp': ../drivers/event/octeontx2/otx2_tim_worker.c:(.text+0xd69): undefined reference to `__atomic_fetch_add_8' drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_tim_worker.c.o:../drivers/event/octeontx2/otx2_tim_worker.c:(.text+0x104b): more undefined references to `__atomic_fetch_add_8' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) [1210/1631] Compiling C object 'drivers/a715181@@tmp_rte_pmd_sw_event@sta/event_sw_sw_evdev.c.o'. [1211/1631] Compiling C object 'drivers/a715181@@tmp_rte_pmd_opdl_event@sta/event_opdl_opdl_ring.c.o'. [1212/1631] Compiling C object 'drivers/a715181@@tmp_rte_pmd_dsw_event@sta/event_dsw_dsw_evdev.c.o'. [1213/1631] Compiling C object 'drivers/a715181@@tmp_rte_pmd_sw_event@sta/event_sw_sw_evdev_scheduler.c.o'. [1214/1631] Compiling C object 'drivers/a715181@@tmp_rte_pmd_sw_event@sta/event_sw_sw_evdev_selftest.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all -Dlibdir=lib -Dmachine=nehalem --default-library=shared /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk/devtools/.. build-x86-default The Meson build system Version: 0.50.1 Source dir: /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk Build dir: /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/5f1e6dfcaa904017b0e670780a88fccb/dpdk/build-x86-default DPDK STV team