* [dpdk-test-report] |FAILURE| pw32471 [PATCH RFC v2 19/23] eal: enable reserving physically contiguous memzones
@ 2018-01-09 7:07 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2018-01-09 7:07 UTC (permalink / raw)
To: test-report; +Cc: anatoly.burakov
[-- Attachment #1: Type: text/plain, Size: 29129 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/32471
_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-32471 --> compile error
Build Summary: 16 Builds Done, 2 Successful, 14 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/linuxapp/eal/eal_memory.c(1355): error: expected an expression
for (int hp_sz_idx = 0;
^
compilation aborted for /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.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:400: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:1260: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:1260:5: note: in expansion of macro ‘rte_panic’
rte_panic("Unknown socket or page sz: %i %lx\n",
^~~~~~~~~
In file included from /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:60:0:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘eal_hugepage_init’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1368:49: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
num_pages, hpi->hugepage_sz >> 20, socket_id);
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:287:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/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:1571: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:1407:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1573: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:1405: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:1571: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:1407:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1573: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:1405: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:1571: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:1407:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1573: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:1405: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:1571: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:1407:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^~~~~~~
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1573: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:1405: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:400: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:1260: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:1260:5: note: in expansion of macro ‘rte_panic’
rte_panic("Unknown socket or page sz: %i %lx\n",
^
In file included from /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:60:0:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘eal_hugepage_init’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1368:49: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
num_pages, hpi->hugepage_sz >> 20, socket_id);
^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:287:25: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^
/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:1571: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:1407:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1573: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:1405: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:1571: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:1407:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1573: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:1405: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:1571: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:1407:20: note: ‘max_seg’ was declared here
unsigned cur_seg, max_seg;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1573: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:1405: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:402: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:1260: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",
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c: In function ‘eal_hugepage_init’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1355:11: error: redeclaration of ‘hp_sz_idx’ with no linkage
for (int hp_sz_idx = 0;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1330:6: note: previous declaration of ‘hp_sz_idx’ was here
int hp_sz_idx, socket_id;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1355:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (int hp_sz_idx = 0;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1355:2: note: use option -std=c99 or -std=gnu99 to compile your code
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1367:4: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ [-Werror=format=]
RTE_LOG(DEBUG, EAL, "Allocating %u pages of size %luM on socket %i\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 ‘eal_hugepage_init’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1355:11: error: redeclaration of ‘hp_sz_idx’ with no linkage
for (int hp_sz_idx = 0;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1330:6: note: previous declaration of ‘hp_sz_idx’ was here
int hp_sz_idx, socket_id;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1355:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (int hp_sz_idx = 0;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1355:2: note: use option -std=c99 or -std=gnu99 to compile your code
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 ‘eal_hugepage_init’:
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1355:11: error: redeclaration of ‘hp_sz_idx’ with no linkage
for (int hp_sz_idx = 0;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1330:6: note: previous declaration of ‘hp_sz_idx’ was here
int hp_sz_idx, socket_id;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1355:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (int hp_sz_idx = 0;
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memory.c:1355:2: note: use option -std=c99 or -std=gnu99 to compile your code
Failed Build #14:
OS: CentOS7_64
Target: x86_64-native-linuxapp-clang
SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memalloc.c:268:17: error: use of undeclared identifier 'FALLOC_FL_PUNCH_HOLE'
fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memalloc.c:268:40: error: use of undeclared identifier 'FALLOC_FL_KEEP_SIZE'
fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memalloc.c:319:21: error: use of undeclared identifier 'FALLOC_FL_PUNCH_HOLE'
if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
^
/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal_memalloc.c:319:44: error: use of undeclared identifier 'FALLOC_FL_KEEP_SIZE'
if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
^
4 errors generated.
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-09 7:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-09 7:07 [dpdk-test-report] |FAILURE| pw32471 [PATCH RFC v2 19/23] eal: enable reserving physically contiguous memzones 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).