[dpdk-test-report] |FAILURE| pw64048[v7, 01/17] test/ring: use division for cycle count calculation

sys_stv at intel.com sys_stv at intel.com
Thu Jan 16 02:20:59 CET 2020


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

_Compilation issues_

Submitter: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
Date: 2019-12-20 04:45:08
Reply_mail: 20191220044524.32910-2-honnappa.nagarahalli at arm.com
DPDK git baseline: Repo:dpdk-next-eventdev, CommitID: 0b6ee9a9a5e13866cd603cd116d25914af966e2a

Makefile build Summary: 23 Builds Done, 17 Successful, 6 Failures

Meson build Summary: 8 Builds Done, 6 Successful, 2 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      | FAIL |       |      |            |           | FAIL      |          |
| CENTOS77-64    | FAIL | pass  | FAIL | FAIL       | FAIL      | FAIL      |          |
| UB1604-64      | pass | pass  |      |            |           |           |          |
| WIN10-64       |      |       |      |            |           | pass      |          |
| UB1910-64      | pass |       |      |            |           |           |          |
| FC31-64        | pass | pass  |      |            |           | pass      |          |
| CENTOS80-64    | pass |       |      |            |           |           |          |
| FreeBSD1201-64 | pass | pass  |      | pass       | pass      | pass      |          |
| RHEL77-64      | FAIL |       |      |            |           |           |          |
| 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
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-clang


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


*Make Build Failed #1:
OS: UB1604-32
Target: i686-native-linuxapp-gcc
/root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/lib/librte_ring/rte_ring_elem.h:321:9: warning: unused parameter ‘obj_table’ [-Wunused-parameter]
   void *obj_table, uint32_t n)
         ^
/root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/lib/librte_ring/rte_ring.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’
/root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_ring.o' failed
make[5]: *** [rte_ring.o] Error 1
/root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_ring' failed
make[4]: *** [librte_ring] Error 2
make[4]: *** Waiting for unfinished jobs....
  CC acl_gen.o
  CC acl_run_scalar.o
  AR librte_cfgfile.a
  CC acl_run_sse.o
--
  INSTALL-LIB librte_rcu.a
  AR librte_timer.a
  INSTALL-LIB librte_timer.a
  AR librte_acl.a
  INSTALL-LIB librte_acl.a
/root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'lib' failed
make[3]: *** [lib] Error 2
/root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed
make[2]: *** [all] Error 2
/root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed
make: *** [install] Error 2


*Make Build Failed #2:
OS: CENTOS77-64
Target: x86_64-native-linuxapp-gcc
  ^
  CC power_acpi_cpufreq.o
/root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/lib/librte_hash/rte_cuckoo_hash.c: At top level:
cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default]
  CC power_kvm_vm.o
make[5]: *** [rte_cuckoo_hash.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC guest_channel.o
  CC rte_power_empty_poll.o
  CC power_pstate_cpufreq.o
make[4]: *** [librte_hash] Error 2
make[4]: *** Waiting for unfinished jobs....
  AR librte_mempool.a
  INSTALL-LIB librte_mempool.a
  AR librte_power.a
  INSTALL-LIB librte_power.a
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2


*Make Build Failed #3:
OS: CENTOS77-64
Target: x86_64-native-linuxapp-gcc+shared
/root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+shared/91a57f493d9d4b13870f9fd945f48aec/dpdk/lib/librte_hash/rte_cuckoo_hash.c:435:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (uint32_t i = 1; i < num_key_slots; i++)
  ^
/root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+shared/91a57f493d9d4b13870f9fd945f48aec/dpdk/lib/librte_hash/rte_cuckoo_hash.c: At top level:
cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default]
make[5]: *** [rte_cuckoo_hash.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  INSTALL-LIB librte_acl.so.20.0.1
  LD librte_mempool.so.20.0.1
  INSTALL-LIB librte_mempool.so.20.0.1
== Build lib/librte_mbuf
== Build lib/librte_rib
make[4]: *** [librte_hash] Error 2
make[4]: *** Waiting for unfinished jobs....
  LD librte_power.so.20.0.1
  INSTALL-LIB librte_power.so.20.0.1
  SYMLINK-FILE include/rte_mbuf.h
  SYMLINK-FILE include/rte_mbuf_core.h
--
  CC rte_mbuf_dyn.o
  LD librte_rib.so.0.2001
  INSTALL-LIB librte_rib.so.0.2001
  LD librte_mbuf.so.20.0.1
  INSTALL-LIB librte_mbuf.so.20.0.1
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2


*Make Build Failed #4:
OS: CENTOS77-64
Target: x86_64-native-linuxapp-gcc+debug
  for (uint32_t i = 1; i < num_key_slots; i++)
  ^
  CC rte_power_empty_poll.o
/root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+debug/91a57f493d9d4b13870f9fd945f48aec/dpdk/lib/librte_hash/rte_cuckoo_hash.c: At top level:
cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default]
make[5]: *** [rte_cuckoo_hash.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC power_pstate_cpufreq.o
make[4]: *** [librte_hash] Error 2
make[4]: *** Waiting for unfinished jobs....
  AR librte_mempool.a
  INSTALL-LIB librte_mempool.a
  AR librte_power.a
  INSTALL-LIB librte_power.a
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2


*Make Build Failed #5:
OS: CENTOS77-64
Target: x86_64-native-linuxapp-icc
/root/CENTOS77-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/91a57f493d9d4b13870f9fd945f48aec/dpdk/lib/librte_hash/rte_cuckoo_hash.c(435): error: identifier "i" is undefined
  	for (uint32_t i = 1; i < num_key_slots; i++)
  	                     ^

compilation aborted for /root/CENTOS77-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/91a57f493d9d4b13870f9fd945f48aec/dpdk/lib/librte_hash/rte_cuckoo_hash.c (code 2)
make[5]: *** [rte_cuckoo_hash.o] Error 2
make[5]: *** Waiting for unfinished jobs....
  CC rte_power_empty_poll.o
make[4]: *** [librte_hash] Error 2
make[4]: *** Waiting for unfinished jobs....
  CC power_pstate_cpufreq.o
  AR librte_acl.a
  INSTALL-LIB librte_acl.a
  AR librte_mempool.a
  INSTALL-LIB librte_mempool.a
  AR librte_power.a
  INSTALL-LIB librte_power.a
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2


*Make Build Failed #6:
OS: RHEL77-64
Target: x86_64-native-linuxapp-gcc
/root/RHEL77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/lib/librte_hash/rte_cuckoo_hash.c:435:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (uint32_t i = 1; i < num_key_slots; i++)
  ^
/root/RHEL77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/91a57f493d9d4b13870f9fd945f48aec/dpdk/lib/librte_hash/rte_cuckoo_hash.c: At top level:
cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default]
make[5]: *** [rte_cuckoo_hash.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  AR librte_mempool.a
  INSTALL-LIB librte_mempool.a
make[4]: *** [librte_hash] Error 2
make[4]: *** Waiting for unfinished jobs....
  AR librte_power.a
  INSTALL-LIB librte_power.a
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2

*Meson Build Failed #1:
OS: CENTOS77-64
Target:./build-gcc-static
FAILED: lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o 
gcc -Ilib/76b5a35@@rte_hash at sta -Ilib -I../lib -Ilib/librte_hash -I../lib/librte_hash -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_ring -I../lib/librte_ring -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -MF 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o.d' -o 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -c ../lib/librte_hash/rte_cuckoo_hash.c
../lib/librte_hash/rte_cuckoo_hash.c: In function ‘rte_hash_create’:
../lib/librte_hash/rte_cuckoo_hash.c:296:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (uint32_t i = 1; i <= num_buckets; i++)
   ^
../lib/librte_hash/rte_cuckoo_hash.c:296:3: note: use option -std=c99 or -std=gnu99 to compile your code
../lib/librte_hash/rte_cuckoo_hash.c:435:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (uint32_t i = 1; i < num_key_slots; i++)
  ^
[122/2195] Linking static target lib/librte_metrics.a.
[123/2195] Compiling C object 'lib/76b5a35@@rte_latencystats at sta/librte_latencystats_rte_latencystats.c.o'.
[124/2195] Generating cmdline.exp_chk with a meson_exe.py custom command.
[125/2195] Compiling C object 'lib/76b5a35@@rte_ethdev at sta/librte_ethdev_rte_ethdev.c.o'.
[126/2195] Generating eal.exp_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed




*Meson Build Failed #2:
OS: UB1604-32
Target:./build-gcc-static
FAILED: lib/76b5a35@@rte_ring at sta/librte_ring_rte_ring.c.o 
gcc -Ilib/76b5a35@@rte_ring at sta -Ilib -I../lib -Ilib/librte_ring -I../lib/librte_ring -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 -fdiagnostics-color=always -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-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'lib/76b5a35@@rte_ring at sta/librte_ring_rte_ring.c.o' -MF 'lib/76b5a35@@rte_ring at sta/librte_ring_rte_ring.c.o.d' -o 'lib/76b5a35@@rte_ring at sta/librte_ring_rte_ring.c.o' -c ../lib/librte_ring/rte_ring.c
In file included from ../lib/librte_ring/rte_ring.c:36:0:
../lib/librte_ring/rte_ring_elem.h: In function ‘enqueue_elems_128’:
../lib/librte_ring/rte_ring_elem.h:195:2: error: unknown type name ‘__uint128_t’
  __uint128_t *ring = (__uint128_t *)&r[1];
  ^
../lib/librte_ring/rte_ring_elem.h:195:23: error: ‘__uint128_t’ undeclared (first use in this function)
  __uint128_t *ring = (__uint128_t *)&r[1];
                       ^
../lib/librte_ring/rte_ring_elem.h:195:23: note: each undeclared identifier is reported only once for each function it appears in
../lib/librte_ring/rte_ring_elem.h:195:36: error: expected expression before ‘)’ token
  __uint128_t *ring = (__uint128_t *)&r[1];
                                    ^
../lib/librte_ring/rte_ring_elem.h:196:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  const __uint128_t *obj = (const __uint128_t *)obj_table;
                    ^
../lib/librte_ring/rte_ring_elem.h:196:21: error: ‘obj’ undeclared (first use in this function)
  const __uint128_t *obj = (const __uint128_t *)obj_table;
                     ^
../lib/librte_ring/rte_ring_elem.h:196:34: error: expected ‘)’ before ‘__uint128_t’
  const __uint128_t *obj = (const __uint128_t *)obj_table;
                                  ^
../lib/librte_ring/rte_ring_elem.h:196:20: error: type defaults to ‘int’ in type name [-Werror=implicit-int]
  const __uint128_t *obj = (const __uint128_t *)obj_table;
                    ^
../lib/librte_ring/rte_ring_elem.h: In function ‘dequeue_elems_128’:
../lib/librte_ring/rte_ring_elem.h:326:2: error: unknown type name ‘__uint128_t’
  __uint128_t *ring = (__uint128_t *)&r[1];
  ^
../lib/librte_ring/rte_ring_elem.h:326:23: error: ‘__uint128_t’ undeclared (first use in this function)
  __uint128_t *ring = (__uint128_t *)&r[1];
                       ^
../lib/librte_ring/rte_ring_elem.h:326:36: error: expected expression before ‘)’ token
  __uint128_t *ring = (__uint128_t *)&r[1];
                                    ^
../lib/librte_ring/rte_ring_elem.h:327:15: error: ‘obj’ undeclared (first use in this function)
  __uint128_t *obj = (__uint128_t *)obj_table;
               ^
../lib/librte_ring/rte_ring_elem.h:327:35: error: expected expression before ‘)’ token
  __uint128_t *obj = (__uint128_t *)obj_table;
                                   ^
../lib/librte_ring/rte_ring_elem.h:321:9: error: unused parameter ‘obj_table’ [-Werror=unused-parameter]
   void *obj_table, uint32_t n)
         ^
cc1: all warnings being treated as errors
[63/1949] Compiling C object 'lib/76b5a35@@rte_eal at sta/librte_eal_linux_eal_eal_vfio.c.o'.
[64/1949] Compiling C object 'lib/76b5a35@@rte_mempool at sta/librte_mempool_rte_mempool_ops.c.o'.
[65/1949] Compiling C object 'lib/76b5a35@@rte_mempool at sta/librte_mempool_rte_mempool_ops_default.c.o'.
[66/1949] Compiling C object 'lib/76b5a35@@rte_eal at sta/librte_eal_linux_eal_eal_memory.c.o'.
[67/1949] Compiling C object 'lib/76b5a35@@rte_mempool at sta/librte_mempool_rte_mempool.c.o'.
ninja: build stopped: subcommand failed



DPDK STV team


More information about the test-report mailing list