[dpdk-test-report] |FAILURE| pw(89158) [2/2] net/failsafe: fix primary/secondary mutex

sys_stv at intel.com sys_stv at intel.com
Mon Mar 15 20:59:07 CET 2021


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/89158

_Compilation issues_

Submitter: Stephen Hemminger <stephen at networkplumber.org>
Date: 2021-03-15 19:27:22
Reply_mail: 20210315192722.35490-3-stephen at networkplumber.org

DPDK git baseline: Repo:dpdk-next-net, CommitID: a9e42d719e7a2c5047babeddfcba9d3126f25f78


Meson Build Summary: 22 Builds Done, 21 Successful, 1 Failures, 0 Blocked

+------------------+------------+--------------+------------+------------+-----------+----------+
| os               | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+------------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64        | pass       | pass         | pass       |            |           | pass     |
| RHEL83-64        | pass       |              |            |            |           |          |
| FC33-64          | pass       | pass         |            |            |           |          |
| CentOsStream8-64 | pass       |              |            |            |           |          |
| UB2010-64        | pass       |              |            |            |           |          |
| WIN10-64         |            | FAIL         |            |            |           |          |
| UB2004-32        | pass       |              |            |            |           |          |
| CENTOS83-64      | pass       | pass         | pass       | pass       | pass      |          |
| FreeBSD1201-64   | pass       | pass         |            | pass       | pass      |          |
| SUSE15-64        | pass       | pass         |            |            |           |          |
+------------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: UB2004-64
	Kernel Version: 5.6.0-050600-generic
	GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc

OS: RHEL83-64
	Kernel Version: 4.18.0-240.el8.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896)
	x86_64-native-linuxapp-gcc

OS: FC33-64
	Kernel Version: 5.8.16-300.fc33.x86_64
	GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5)
	Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: CentOsStream8-64
	Kernel Version: 4.18.0-257.el8.x86_64
	GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
	Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577)
	x86_64-native-linuxapp-gcc

OS: UB2010-64
	Kernel Version: 5.8.0-25-generic
	GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0
	Clang Version: 11.0.0-2
	x86_64-native-linuxapp-gcc

OS: WIN10-64
	Kernel Version: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang

OS: UB2004-32
	Kernel Version: 5.6.0-050600-generic
	GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: CENTOS83-64
	Kernel Version: 4.18.0-240.1.1.el8_3.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	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
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.3.18-lp152.57-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 9.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: WIN10-64
Target: x86_64-windows-clang
FAILED: lib/librte_ethdev.a.p/librte_ethdev_rte_ethdev.c.obj 
"clang" "-Ilib\librte_ethdev.a.p" "-Ilib" "-I..\lib" "-Ilib\librte_ethdev" "-I..\lib\librte_ethdev" "-I." "-I.." "-Iconfig" "-I..\config" "-Ilib\librte_eal\include" "-I..\lib\librte_eal\include" "-Ilib\librte_eal\windows\include" "-I..\lib\librte_eal\windows\include" "-Ilib\librte_eal\x86\include" "-I..\lib\librte_eal\x86\include" "-Ilib\librte_eal\common" "-I..\lib\librte_eal\common" "-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" "-I..\lib\librte_metrics" "-Ilib\librte_telemetry" "-I..\lib\librte_telemetry" "-Xclang" "-fcolor-diagnostics" "-pipe" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-O3" "-include" "rte_config.h" "-Wextra" "-Wcast-qual" "-Wdeprecated" "-Wformat" "-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" "-D_WIN32_WINNT=0x0A00" "-D_CRT_SECURE_NO_WARNINGS" "-march=native" "-DALLOW_EXPERIMENTAL_API" "-DALLOW_INTERNAL_API" -MD -MQ lib/librte_ethdev.a.p/librte_ethdev_rte_ethdev.c.obj -MF "lib\librte_ethdev.a.p\librte_ethdev_rte_ethdev.c.obj.d" -o lib/librte_ethdev.a.p/librte_ethdev_rte_ethdev.c.obj "-c" ../lib/librte_ethdev/rte_ethdev.c
../lib/librte_ethdev/rte_ethdev.c:511:2: warning: implicit declaration of function 'pthread_mutexattr_init' is invalid in C99 [-Wimplicit-function-declaration]
        pthread_mutexattr_init(&attr);
        ^
../lib/librte_ethdev/rte_ethdev.c:511:2: warning: this function declaration is not a prototype [-Wstrict-prototypes]
../lib/librte_ethdev/rte_ethdev.c:512:2: warning: implicit declaration of function 'pthread_mutexattr_setpshared' is invalid in C99 [-Wimplicit-function-declaration]
        pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_SHARED);    
        ^
../lib/librte_ethdev/rte_ethdev.c:512:2: warning: this function declaration is not a prototype [-Wstrict-prototypes]
../lib/librte_ethdev/rte_ethdev.c:512:38: error: use of undeclared identifier 'PTHREAD_PROCESS_SHARED'
        pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_SHARED);    
                                            ^
4 warnings and 1 error generated.
[118/229] Linking static target lib/librte_pci.a
[119/229] Compiling C object lib/librte_cmdline.a.p/librte_cmdline_cmdline_parse.c.obj
[120/229] Compiling C object lib/librte_hash.a.p/librte_hash_rte_fbk_hash.c.obj
[121/229] Generating rte_bus_pci_mingw with a custom command
[122/229] Compiling C object lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.obj
[123/229] Compiling C object lib/librte_cmdline.a.p/librte_cmdline_cmdline.c.obj
[124/229] Compiling C object lib/librte_cfgfile.a.p/librte_cfgfile_rte_cfgfile.c.obj
[125/229] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_params.c.obj
[126/229] Compiling C object lib/librte_ethdev.a.p/librte_ethdev_rte_flow.c.obj
[127/229] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_windows_pci.c.obj
[128/229] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common.c.obj
[129/229] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_windows_pci_netuio.c.obj
../drivers/bus/pci/windows/pci_netuio.c:125:33: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        struct device_info hw_info = { 0 };
                                       ^
                                       {}
1 warning generated.
[130/229] Compiling C object lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.obj
ninja: build stopped


DPDK STV team


More information about the test-report mailing list