* [dpdk-test-report] |FAILURE| pw32467 [PATCH RFC v2 11/23] eal: replace memseg with memseg lists
@ 2018-01-09 8:06 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2018-01-09 8:06 UTC (permalink / raw)
To: test-report; +Cc: anatoly.burakov
[-- Attachment #1: Type: text/plain, Size: 25825 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/32467
_Compilation issues_
Submitter: Anatoly Burakov <anatoly.burakov@intel.com>
Date: Tue, 19 Dec 2017 11:14:41 +0000
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:7c6790df680d7fe3bb491e412da3cb689803bc71
Patch32452-32467 --> compile error
Build Summary: 16 Builds Done, 3 Successful, 13 Failures
Test environment and configuration as below:
OS: RHEL7.3_64
Kernel Version:3.10.0-514.16.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-11)
Clang Version:NA
x86_64-native-linuxapp-icc
OS: FreeBSD10.3_64
Kernel Version:10.3-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) 4.8.5
Clang Version:3.4.1
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc
OS: FC24_64
Kernel Version:4.9.13-100.fc24.x86_64
CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)
Clang Version:3.8.0
x86_64-native-linuxapp-clang
i686-native-linuxapp-gcc
x86_64-native-linuxapp-gcc-debug
x86_64-native-linuxapp-gcc-shared
x86_64-native-linuxapp-gcc
OS: UB1604_64
Kernel Version:4.4.0-81-generic
CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Clang Version:3.8.0
i686-native-linuxapp-gcc
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-gcc-shared
x86_64-native-linuxapp-clang
OS: CentOS7_64
Kernel Version:3.10.0-514.10.2.el7.x86_64
CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
Clang Version:3.4.2
i686-native-linuxapp-gcc
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-gcc-shared
x86_64-native-linuxapp-clang
Failed Build #1:
OS: RHEL7.3_64
Target: x86_64-native-linuxapp-icc
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_fbarray.c(582): error: expected an expression
for (int i = 0; i < msk->n_masks; i++) {
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_fbarray.c(582): error: identifier "i" is undefined
for (int i = 0; i < msk->n_masks; i++) {
^
compilation aborted for /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_fbarray.c (code 2)
Failed Build #2:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-clang
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:95:14: error: no member named 'memseg' in 'rte_mem_config'
.l_start = offsetof(struct rte_mem_config, memseg),
^ ~~~~~~
/usr/include/stddef.h:62:32: note: expanded from macro 'offsetof'
#define offsetof(type, member) __offsetof(type, member)
^
/usr/include/sys/cdefs.h:457:34: note: expanded from macro '__offsetof'
#define __offsetof(type, field) __builtin_offsetof(type, field)
^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:96:36: error: no member named 'memseg' in 'struct rte_mem_config'; did you mean 'memsegs'?
.l_len = sizeof(early_mem_config.memseg),
^~~~~~
memsegs
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_eal_memconfig.h:65:25: note: 'memsegs' declared here
struct rte_memseg_list memsegs[RTE_MAX_MEMSEG_LISTS];
^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:460:18: error: use of undeclared identifier 'RTE_MAX_MEMSEG'
for (i = 0; i < RTE_MAX_MEMSEG; i++)
^
3 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'bsdapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
Failed Build #3:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-gcc
In file included from /home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:45:0:
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:95:14: error: 'struct rte_mem_config' has no member named 'memseg'
.l_start = offsetof(struct rte_mem_config, memseg),
^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:96:35: error: 'struct rte_mem_config' has no member named 'memseg'
.l_len = sizeof(early_mem_config.memseg),
^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c: In function 'eal_check_mem_on_local_socket':
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:460:18: error: 'RTE_MAX_MEMSEG' undeclared (first use in this function)
for (i = 0; i < RTE_MAX_MEMSEG; i++)
^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:460:18: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'bsdapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
Failed Build #4:
OS: FC24_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘map_all_hugepages’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:399:42: error: passing argument 2 of ‘eal_get_virtual_area’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vma_addr = eal_get_virtual_area(NULL, &vma_len,
^
In file included from /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:70:0:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_private.h:224:1: note: expected ‘uint64_t * {aka long long unsigned int *}’ but argument is of type ‘size_t * {aka unsigned int *}’
eal_get_virtual_area(void *requested_addr, uint64_t *size,
^~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_tailq.h:20:0,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_eal_memconfig.h:8,
from /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:64:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘eal_legacy_hugepage_init’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1259:15: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_panic("Unknown socket or page sz: %i %lx\n",
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_debug.h:51:57: note: in definition of macro ‘rte_panic_’
#define rte_panic_(func, format, ...) __rte_panic(func, format "%.0s", __VA_ARGS__)
^~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1259:5: note: in expansion of macro ‘rte_panic’
rte_panic("Unknown socket or page sz: %i %lx\n",
^~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘rte_eal_hugepage_attach’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1515:7: error: ‘max_seg’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (cur_seg >= max_seg)
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1351:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1517:9: error: ‘i’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
ms = rte_fbarray_get(arr, i);
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1349:11: note: ‘i’ was declared here
unsigned i;
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal_memory.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
Failed Build #5:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘rte_eal_hugepage_attach’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1515:7: error: ‘max_seg’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (cur_seg >= max_seg)
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1351:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1517:9: error: ‘i’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
ms = rte_fbarray_get(arr, i);
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1349:11: note: ‘i’ was declared here
unsigned i;
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal_memory.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
Failed Build #6:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-shared
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘rte_eal_hugepage_attach’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1515:7: error: ‘max_seg’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (cur_seg >= max_seg)
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1351:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1517:9: error: ‘i’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
ms = rte_fbarray_get(arr, i);
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1349:11: note: ‘i’ was declared here
unsigned i;
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal_memory.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
Failed Build #7:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘rte_eal_hugepage_attach’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1515:7: error: ‘max_seg’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (cur_seg >= max_seg)
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1351:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1517:9: error: ‘i’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
ms = rte_fbarray_get(arr, i);
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1349:11: note: ‘i’ was declared here
unsigned i;
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal_memory.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
Failed Build #8:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘map_all_hugepages’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:399:42: error: passing argument 2 of ‘eal_get_virtual_area’ from incompatible pointer type [-Werror=incompatible-pointer-types]
vma_addr = eal_get_virtual_area(NULL, &vma_len,
^
In file included from /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:70:0:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_private.h:224:1: note: expected ‘uint64_t * {aka long long unsigned int *}’ but argument is of type ‘size_t * {aka unsigned int *}’
eal_get_virtual_area(void *requested_addr, uint64_t *size,
^
In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_tailq.h:20:0,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_eal_memconfig.h:8,
from /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:64:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘eal_legacy_hugepage_init’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1259:15: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
rte_panic("Unknown socket or page sz: %i %lx\n",
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_debug.h:51:57: note: in definition of macro ‘rte_panic_’
#define rte_panic_(func, format, ...) __rte_panic(func, format "%.0s", __VA_ARGS__)
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1259:5: note: in expansion of macro ‘rte_panic’
rte_panic("Unknown socket or page sz: %i %lx\n",
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘rte_eal_hugepage_attach’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1515:7: error: ‘max_seg’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (cur_seg >= max_seg)
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1351:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1517:9: error: ‘i’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
ms = rte_fbarray_get(arr, i);
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1349:11: note: ‘i’ was declared here
unsigned i;
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal_memory.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
Failed Build #9:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘rte_eal_hugepage_attach’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1515:7: error: ‘max_seg’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (cur_seg >= max_seg)
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1351:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1517:9: error: ‘i’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
ms = rte_fbarray_get(arr, i);
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1349:11: note: ‘i’ was declared here
unsigned i;
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal_memory.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
Failed Build #10:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘rte_eal_hugepage_attach’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1515:7: error: ‘max_seg’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (cur_seg >= max_seg)
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1351:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1517:9: error: ‘i’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
ms = rte_fbarray_get(arr, i);
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1349:11: note: ‘i’ was declared here
unsigned i;
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal_memory.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
Failed Build #11:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘map_all_hugepages’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:401:6: error: passing argument 2 of ‘eal_get_virtual_area’ from incompatible pointer type [-Werror]
EAL_VIRTUAL_AREA_ALLOW_SHRINK);
^
In file included from /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:70:0:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_private.h:224:1: note: expected ‘uint64_t *’ but argument is of type ‘size_t *’
eal_get_virtual_area(void *requested_addr, uint64_t *size,
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘eal_legacy_hugepage_init’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1259:5: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ [-Werror=format=]
rte_panic("Unknown socket or page sz: %i %lx\n",
^
cc1: all warnings being treated as errors
Failed Build #12:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘rte_eal_hugepage_attach’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1515:7: error: ‘max_seg’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (cur_seg >= max_seg)
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1351:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1517:24: error: ‘i’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
ms = rte_fbarray_get(arr, i);
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1349:11: note: ‘i’ was declared here
unsigned i;
^
cc1: all warnings being treated as errors
Failed Build #13:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc-shared
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘rte_eal_hugepage_attach’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1515:7: error: ‘max_seg’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (cur_seg >= max_seg)
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1351:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1517:24: error: ‘i’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
ms = rte_fbarray_get(arr, i);
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1349:11: note: ‘i’ was declared here
unsigned i;
^
cc1: all warnings being treated as errors
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-09 8:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-09 8:06 [dpdk-test-report] |FAILURE| pw32467 [PATCH RFC v2 11/23] eal: replace memseg with memseg lists sys_stv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).