Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/64992 _Compilation issues_ Submitter: Ali Alnubani Date: 2020-01-20 19:51:14 Reply_mail: 20200120195040.26843-1-alialnu@mellanox.com DPDK git baseline: Repo:dpdk, CommitID: ec40fe669f1dbb9a869a6c6225f13f848f2dbc60 Makefile build Summary: 23 Builds Done, 23 Successful, 0 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 | +----------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL80-64 | pass | | | | | | | | UB1804-64 | pass | pass | pass | | | pass | pass | | UB1604-32 | pass | | | | | pass | | | CENTOS77-64 | pass | pass | pass | pass | pass | pass | | | UB1604-64 | pass | pass | | | | | | | WIN10-64 | | | | | | pass | | | UB1910-64 | pass | | | | | | | | FC31-64 | pass | pass | | | | FAIL | | | CENTOS80-64 | pass | | | | | | | | FreeBSD1201-64 | pass | pass | | pass | pass | pass | | | 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-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang 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+debug x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared 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: CENTOS80-64 Kernel Version: 4.18.0-80.11.2.el8_0.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: 7.0.1 (tags/RELEASE_701/final) x86_64-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-170-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.15-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-gcc+debug x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang 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: 3.4.2 (tags/RELEASE_34/dot2-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 *Meson Build Failed #1: OS: FC31-64 Target:./build-gcc-static [2184/2244] Compiling C object 'examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_common_lthread_tls.c.o'. [2185/2244] Linking target examples/dpdk-packet_ordering. [2186/2244] Compiling C object 'examples/c590b3c@@dpdk-pthread_shim@exe/performance-thread_common_lthread_cond.c.o'. [2187/2244] Compiling C object 'examples/c590b3c@@dpdk-pthread_shim@exe/performance-thread_pthread_shim_pthread_shim.c.o'. [2188/2244] Compiling C object 'examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_common_lthread_mutex.c.o'. FAILED: examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_common_lthread_mutex.c.o clang -Iexamples/c590b3c@@dpdk-l3fwd-thread@exe -Iexamples -I../examples -Iexamples/performance-thread/l3fwd-thread -I../examples/performance-thread/l3fwd-thread -I../examples/performance-thread/l3fwd-thread/../common -I../examples/performance-thread/l3fwd-thread/../common/arch/x86 -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 -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -MD -MQ 'examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_common_lthread_mutex.c.o' -MF 'examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_common_lthread_mutex.c.o.d' -o 'examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_common_lthread_mutex.c.o' -c ../examples/performance-thread/common/lthread_mutex.c *** stack smashing detected ***: terminated Stack dump: 0. Program arguments: /usr/bin/clang-9 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name lthread_mutex.c -mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu broadwell -target-feature +sse2 -target-feature +cx16 -target-feature +sahf -target-feature -tbm -target-feature -avx512ifma -target-feature -sha -target-feature -gfni -target-feature -fma4 -target-feature -vpclmulqdq -target-feature +prfchw -target-feature +bmi2 -target-feature -cldemote -target-feature +fsgsbase -target-feature -ptwrite -target-feature -xsavec -target-feature +popcnt -target-feature -mpx -target-feature +aes -target-feature -avx512bitalg -target-feature -movdiri -target-feature -xsaves -target-feature -avx512er -target-feature -avx512vnni -target-feature -avx512vpopcntdq -target-feature -pconfig -target-feature -clwb -target-feature -avx512f -target-feature -clzero -target-feature -pku -target-feature +mmx -target-feature -lwp -target-feature -rdpid -target-feature -xop -target-feature +rdseed -target-feature -waitpkg -target-feature -movdir64b -target-feature -sse4a -target-feature -avx512bw -target-feature -clflushopt -target-feature +xsave -target-feature -avx512vbmi2 -target-feature +64bit -target-feature -avx512vl -target-feature +invpcid -target-feature -avx512cd -target-feature +avx -target-feature -vaes -target-feature +cx8 -target-feature +fma -target-feature +rtm -target-feature +bmi -target-feature -enqcmd -target-feature +rdrnd -target-feature -mwaitx -target-feature +sse4.1 -target-feature +sse4.2 -target-feature +avx2 -target-feature +fxsr -target-feature -wbnoinvd -target-feature +sse -target-feature +lzcnt -target-feature +pclmul -target-feature -prefetchwt1 -target-feature +f16c -target-feature +ssse3 -target-feature -sgx -target-feature -shstk -target-feature +cmov -target-feature -avx512vbmi -target-feature -avx512bf16 -target-feature +movbe -target-feature +xsaveopt -target-feature -avx512dq -target-feature +adx -target-feature -avx512pf -target-feature +sse3 -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/93c835854624451a95ade061e09d797f/dpdk/build-clang-shared/examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_common_lthread_mutex.c.gcno -resource-dir /usr/lib64/clang/9.0.0 -dependency-file examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_common_lthread_mutex.c.o.d -sys-header-deps -MT examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_common_lthread_mutex.c.o -include rte_config.h -I examples/c590b3c@@dpdk-l3fwd-thread@exe -I examples -I ../examples -I examples/performance-thread/l3fwd-thread -I ../examples/performance-thread/l3fwd-thread -I ../examples/performance-thread/l3fwd-thread/../common -I ../examples/performance-thread/l3fwd-thread/../common/arch/x86 -I . -I ../ -I config -I ../config -I lib/librte_eal/common/include -I ../lib/librte_eal/common/include -I ../lib/librte_eal/linux/eal/include -I lib/librte_eal/common -I ../lib/librte_eal/common -I lib/librte_eal/common/include/arch/x86 -I ../lib/librte_eal/common/include/arch/x86 -I lib/librte_eal -I ../lib/librte_eal -I lib/librte_kvargs -I ../lib/librte_kvargs -I lib/librte_mempool -I ../lib/librte_mempool -I lib/librte_ring -I ../lib/librte_ring -I lib/librte_net -I ../lib/librte_net -I lib/librte_mbuf -I ../lib/librte_mbuf -I lib/librte_ethdev -I ../lib/librte_ethdev -I lib/librte_meter -I ../lib/librte_meter -I lib/librte_cmdline -I ../lib/librte_cmdline -I lib/librte_timer -I ../lib/librte_timer -I lib/librte_lpm -I ../lib/librte_lpm -I lib/librte_hash -I ../lib/librte_hash -D _FILE_OFFSET_BITS=64 -D _GNU_SOURCE -internal-isystem /usr/local/include -internal-isystem /usr/lib64/clang/9.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O3 -Wall -Winvalid-pch -Werror -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-address-of-packed-member -Wno-missing-field-initializers -fconst-strings -fdebug-compilation-dir /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/93c835854624451a95ade061e09d797f/dpdk/build-clang-shared -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -fcolor-diagnostics -faddrsig -o examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_common_lthread_mutex.c.o -x c ../examples/performance-thread/common/lthread_mutex.c 1. parser at end of file -- /usr/bin/clang-9(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0x86f)[0x55e02ab9c9ff] /usr/bin/clang-9(main+0x1ab6)[0x55e02ab98466] /lib64/libc.so.6(__libc_start_main+0xf3)[0x7f71a34d31a3] /usr/bin/clang-9(_start+0x2e)[0x55e02ab98ffe] clang-9: error: unable to execute command: Aborted (core dumped) clang-9: error: clang frontend command failed due to signal (use -v to see invocation) clang version 9.0.0 (Fedora 9.0.0-1.fc31) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-9: note: diagnostic msg: PLEASE submit a bug report to and include the crash backtrace, preprocessed source, and associated run script. -- [2191/2244] Compiling C object 'examples/c590b3c@@dpdk-pthread_shim@exe/performance-thread_common_lthread.c.o'. [2192/2244] Compiling C object 'examples/c590b3c@@dpdk-l3fwd-thread@exe/performance-thread_l3fwd-thread_main.c.o'. [2193/2244] Compiling C object 'examples/c590b3c@@dpdk-ptpclient@exe/ptpclient_ptpclient.c.o'. [2194/2244] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring_perf.c.o'. [2195/2244] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all -Dlibdir=lib -Dmachine=nehalem --default-library=shared /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/93c835854624451a95ade061e09d797f/dpdk/devtools/.. ./build-x86-default The Meson build system Version: 0.52.1 Source dir: /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/93c835854624451a95ade061e09d797f/dpdk Build dir: /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/93c835854624451a95ade061e09d797f/dpdk/build-x86-default DPDK STV team