Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/60695 _Compilation issues_ Submitter: Ruifeng Wang Date: 2019-10-08 09:55:24 Reply_mail: 20191008095524.1585-1-ruifeng.wang@arm.com DPDK git baseline: Repo:dpdk, CommitID: 5b5bb56532fd5dea5d6260c0a0e405c0e32da2a0 Makefile build Summary: 22 Builds Done, 22 Successful, 0 Failures Meson build Summary: 7 Builds Done, 6 Successful, 1 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +--------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +--------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL76-64 | pass | | | | | | | | CENTOS76-64 | pass | pass | pass | pass | pass | | | | UB1804-64 | pass | pass | pass | | | pass | pass | | UB1604-32 | pass | | | | | FAIL | | | UB1904-64 | pass | | | | | | | | UB1604-64 | pass | pass | | | | | | | FC30-64 | pass | pass | | | | pass | | | WIN10-64 | | | | | | pass | | | FreeBSD12-64 | pass | pass | | pass | pass | pass | | | RHEL80-64 | pass | | | | | | | | SUSE15-64 | pass | pass | | | | pass | | +--------------+------+-------+------+------------+-----------+-----------+----------+ Test environment and configuration as below: ** Makefile 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.27.2.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-clang x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared 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-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: FC30-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 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+debug x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc 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: 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: FC30-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 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.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) 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 *Meson Build Failed #1: OS: UB1604-32 Target:build-gcc-static [185/1656] Generating efd_def with a custom command. [186/1656] Compiling C object 'lib/76b5a35@@rte_distributor@sta/librte_distributor_rte_distributor_match_sse.c.o'. [187/1656] Linking static target lib/librte_distributor.a. [188/1656] Generating symbol file 'lib/76b5a35@@rte_compressdev@sha/librte_compressdev.so.1.1.symbols'. [189/1656] Linking target lib/librte_distributor.so.1.1. FAILED: lib/librte_distributor.so.1.1 clang -o lib/librte_distributor.so.1.1 'lib/76b5a35@@rte_distributor@sta/librte_distributor_rte_distributor.c.o' 'lib/76b5a35@@rte_distributor@sta/librte_distributor_rte_distributor_v20.c.o' 'lib/76b5a35@@rte_distributor@sta/librte_distributor_rte_distributor_match_sse.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_distributor.so.1 -Wl,--no-as-needed -pthread -lm -ldl -lnuma lib/librte_eal.so.11.1 lib/librte_kvargs.so.1.1 lib/librte_mbuf.so.5.1 lib/librte_mempool.so.5.1 lib/librte_ring.so.2.1 -Wl,--end-group -Wl,--version-script=/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/78024f4364944242a59eb24449a80fad/dpdk/lib/librte_distributor/rte_distributor_version.map '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/78024f4364944242a59eb24449a80fad/dpdk/build-clang-static/lib lib/76b5a35@@rte_distributor@sta/librte_distributor_rte_distributor.c.o: In function `rte_distributor_request_pkt@@DPDK_17.05': ../lib/librte_distributor/rte_distributor.c:(.text+0xae): undefined reference to `__atomic_load_8' ../lib/librte_distributor/rte_distributor.c:(.text+0x294): undefined reference to `__atomic_store_8' ../lib/librte_distributor/rte_distributor.c:(.text+0x2fe): undefined reference to `__atomic_load_8' -- ../lib/librte_distributor/rte_distributor_v20.c:(.text+0xae2): undefined reference to `__atomic_store_8' ../lib/librte_distributor/rte_distributor_v20.c:(.text+0xd5f): undefined reference to `__atomic_load_8' ../lib/librte_distributor/rte_distributor_v20.c:(.text+0xdcd): undefined reference to `__atomic_store_8' ../lib/librte_distributor/rte_distributor_v20.c:(.text+0xe6f): undefined reference to `__atomic_store_8' ../lib/librte_distributor/rte_distributor_v20.c:(.text+0xeb1): undefined reference to `__atomic_store_8' clang: error: linker command failed with exit code 1 (use -v to see invocation) [190/1656] Generating symbol file 'lib/76b5a35@@rte_cryptodev@sha/librte_cryptodev.so.8.1.symbols'. [191/1656] Compiling C object 'lib/76b5a35@@rte_security@sta/librte_security_rte_security.c.o'. [192/1656] Compiling C object 'lib/76b5a35@@rte_eventdev@sta/librte_eventdev_rte_event_ring.c.o'. [193/1656] Compiling C object 'lib/76b5a35@@rte_efd@sta/librte_efd_rte_efd.c.o'. [194/1656] Compiling C object 'lib/76b5a35@@rte_eventdev@sta/librte_eventdev_rte_eventdev.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/78024f4364944242a59eb24449a80fad/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/78024f4364944242a59eb24449a80fad/dpdk Build dir: /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/78024f4364944242a59eb24449a80fad/dpdk/build-clang-shared -- [187/1680] Compiling C object 'lib/76b5a35@@rte_cryptodev@sta/librte_cryptodev_rte_cryptodev.c.o'. [188/1680] Linking static target lib/librte_distributor.a. [189/1680] Linking static target lib/librte_cryptodev.a. [190/1680] Linking target lib/librte_cryptodev.so.8.1. [191/1680] Linking target lib/librte_distributor.so.1.1. FAILED: lib/librte_distributor.so.1.1 clang -o lib/librte_distributor.so.1.1 'lib/76b5a35@@rte_distributor@sta/librte_distributor_rte_distributor.c.o' 'lib/76b5a35@@rte_distributor@sta/librte_distributor_rte_distributor_v20.c.o' 'lib/76b5a35@@rte_distributor@sta/librte_distributor_rte_distributor_match_sse.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_distributor.so.1 -Wl,--no-as-needed -pthread -lm -ldl -lnuma lib/librte_eal.so.11.1 lib/librte_kvargs.so.1.1 lib/librte_mbuf.so.5.1 lib/librte_mempool.so.5.1 lib/librte_ring.so.2.1 -Wl,--end-group -Wl,--version-script=/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/78024f4364944242a59eb24449a80fad/dpdk/lib/librte_distributor/rte_distributor_version.map '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/78024f4364944242a59eb24449a80fad/dpdk/build-clang-shared/lib lib/76b5a35@@rte_distributor@sta/librte_distributor_rte_distributor.c.o: In function `rte_distributor_request_pkt@@DPDK_17.05': ../lib/librte_distributor/rte_distributor.c:(.text+0xae): undefined reference to `__atomic_load_8' ../lib/librte_distributor/rte_distributor.c:(.text+0x294): undefined reference to `__atomic_store_8' ../lib/librte_distributor/rte_distributor.c:(.text+0x2fe): undefined reference to `__atomic_load_8' -- ../lib/librte_distributor/rte_distributor_v20.c:(.text+0xae2): undefined reference to `__atomic_store_8' ../lib/librte_distributor/rte_distributor_v20.c:(.text+0xd5f): undefined reference to `__atomic_load_8' ../lib/librte_distributor/rte_distributor_v20.c:(.text+0xdcd): undefined reference to `__atomic_store_8' ../lib/librte_distributor/rte_distributor_v20.c:(.text+0xe6f): undefined reference to `__atomic_store_8' ../lib/librte_distributor/rte_distributor_v20.c:(.text+0xeb1): undefined reference to `__atomic_store_8' clang: error: linker command failed with exit code 1 (use -v to see invocation) [192/1680] Compiling C object 'lib/76b5a35@@rte_security@sta/librte_security_rte_security.c.o'. [193/1680] Generating symbol file 'lib/76b5a35@@rte_compressdev@sha/librte_compressdev.so.1.1.symbols'. [194/1680] Generating symbol file 'lib/76b5a35@@rte_cryptodev@sha/librte_cryptodev.so.8.1.symbols'. [195/1680] Compiling C object 'lib/76b5a35@@rte_efd@sta/librte_efd_rte_efd.c.o'. [196/1680] Compiling C object 'lib/76b5a35@@rte_eventdev@sta/librte_eventdev_rte_eventdev.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/78024f4364944242a59eb24449a80fad/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/78024f4364944242a59eb24449a80fad/dpdk Build dir: /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/78024f4364944242a59eb24449a80fad/dpdk/build-x86-default DPDK STV team