* [dpdk-test-report] |FAILURE| pw45512kni: add IOVA va support for kni
@ 2018-09-27 11:03 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2018-09-27 11:03 UTC (permalink / raw)
To: test-report
[-- Attachment #1: Type: text/plain, Size: 60942 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/45512
_Compilation issues_
Submitter: Kiran Kumar <kkokkilagadda@caviumnetworks.com>
Date: 2018-09-27 10:49:10
DPDK git baseline: Repo:dpdk-master, CommitID: 55d6bb67c9b3858b50df6c74a3b37d87b271a027
Build Summary: 15 Builds Done, 7 Successful, 8 Failures
Test environment and configuration as below:
OS: FC25
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 (tags/RELEASE_380/final)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-gcc-debug
OS: FC24
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 (tags/RELEASE_380/final)
i686-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc-shared
OS: CENTOS
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 (tags/RELEASE_34/dot2-final)
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc-shared
i686-native-linuxapp-gcc
x86_64-native-linuxapp-gcc
OS: UB1604
Kernel Version: 4.4.0-78-generic
CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc-shared
i686-native-linuxapp-gcc
OS: FreeBSD
Kernel Version: 10.3-RELEASE
CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.76-MHz K8-class CPU)
GCC Version: gcc (FreeBSD Ports Collection) 4.8.5
Clang Version: 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc
*Failed Build #1:
OS: UB1604
Target: x86_64-native-linuxapp-gcc
CC [M] /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.o
LD /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/built-in.o
CC [M] /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o
Building modules, stage 2.
/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c: In function ‘kni_pin_pages’:
/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:16: error: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror=int-conversion]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/linux-headers-4.8.0-22-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.8.0-22-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.8.0-22-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.8.0-22-generic/include/linux/mm.h:1315:6: note: expected ‘int’ but argument is of type ‘struct page **’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:271:9: error: too few arguments to function ‘get_user_pages’
npgs = get_user_pages((u64)address, mem->npgs,
^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.8.0-22-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.8.0-22-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.8.0-22-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.8.0-22-generic/include/linux/mm.h:1315:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
/usr/src/linux-headers-4.8.0-22-generic/scripts/Makefile.build:289: recipe for target '/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o' failed
make[9]: *** [/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o] Error 1
/usr/src/linux-headers-4.8.0-22-generic/Makefile:1489: recipe for target '_module_/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni' failed
make[8]: *** [_module_/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[7]: *** [sub-make] Error 2
/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.module.mk:50: recipe for target 'rte_kni.ko' failed
make[6]: *** [rte_kni.ko] Error 2
/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.subdir.mk:35: recipe for target 'kni' failed
make[5]: *** [kni] Error 2
make[5]: *** Waiting for unfinished jobs....
== Build drivers
MODPOST 1 modules
== Build drivers/common
CC /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.mod.o
== Build drivers/common/octeontx
LD [M] /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.ko
INSTALL-MODULE igb_uio.ko
/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.subdir.mk:35: recipe for target 'linux' failed
make[4]: *** [linux] Error 2
/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'kernel' failed
make[3]: *** [kernel] Error 2
make[3]: *** Waiting for unfinished jobs....
== Build drivers/bus
CC octeontx_mbox.o
== Build drivers/bus/dpaa
--
CC ifpga_enumerate.o
CC ifpga_feature_dev.o
CC ifpga_fme.o
CC ifpga_fme_iperf.o
CC ifpga_fme_dperf.o
CC ifpga_fme_error.o
CC ifpga_port.o
CC ifpga_port_error.o
CC opae_hw_api.o
CC opae_ifpga_hw_api.o
CC opae_debug.o
CC ifpga_fme_pr.o
CC ifpga_rawdev.o
PMDINFO ifpga_rawdev.o.pmd.c
CC ifpga_rawdev.o.pmd.o
LD ifpga_rawdev.o
AR librte_pmd_ifpga_rawdev.a
INSTALL-LIB librte_pmd_ifpga_rawdev.a
/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
make[2]: *** [all] Error 2
/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
make: *** [install] Error 2
*Failed Build #2:
OS: CENTOS
Target: x86_64-native-linuxapp-clang
INSTALL-LIB librte_mempool_dpaa.a
== Build drivers/mempool/dpaa2
SYMLINK-FILE include/rte_dpaa2_mempool.h
CC dpaa2_hw_mempool.o
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c: In function ‘kni_pin_pages’:
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘struct task_struct *’ but argument is of type ‘long long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘struct mm_struct *’ but argument is of type ‘u32’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘int’ but argument is of type ‘void *’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:272:5: error: too few arguments to function ‘get_user_pages’
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
cc1: all warnings being treated as errors
make[9]: *** [/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.o] Error 1
make[8]: *** [_module_/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni] Error 2
make[7]: *** [sub-make] Error 2
make[6]: *** [rte_kni.ko] Error 2
AR librte_mempool_dpaa2.a
--
AR librte_pmd_dpaa2_qdma.a
INSTALL-LIB librte_pmd_dpaa2_qdma.a
CC ifpga_fme.o
CC ifpga_fme_iperf.o
CC ifpga_fme_dperf.o
CC ifpga_fme_error.o
CC ifpga_port.o
CC ifpga_port_error.o
CC opae_hw_api.o
CC opae_ifpga_hw_api.o
CC opae_debug.o
CC ifpga_fme_pr.o
CC ifpga_rawdev.o
*Failed Build #3:
OS: CENTOS
Target: x86_64-native-linuxapp-gcc-shared
LD /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/built-in.o
CC [M] /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o
CC base/qbman/bman_driver.o
CC base/qbman/qman.o
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c: In function ‘kni_pin_pages’:
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘struct task_struct *’ but argument is of type ‘long long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘struct mm_struct *’ but argument is of type ‘u32’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘int’ but argument is of type ‘void *’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
CC base/qbman/qman_driver.o
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: too few arguments to function ‘get_user_pages’
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
cc1: all warnings being treated as errors
make[9]: *** [/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o] Error 1
make[8]: *** [_module_/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni] Error 2
make[7]: *** [sub-make] Error 2
make[6]: *** [rte_kni.ko] Error 2
make[5]: *** [kni] Error 2
--
LD librte_pmd_dpaa2_qdma.so.1.1
INSTALL-LIB librte_pmd_dpaa2_qdma.so.1.1
CC ifpga_fme.o
CC ifpga_fme_iperf.o
CC ifpga_fme_dperf.o
CC ifpga_fme_error.o
CC ifpga_port.o
CC ifpga_port_error.o
CC opae_hw_api.o
CC opae_ifpga_hw_api.o
CC opae_debug.o
CC ifpga_fme_pr.o
CC ifpga_rawdev.o
*Failed Build #4:
OS: CENTOS
Target: i686-native-linuxapp-gcc
LD /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/built-in.o
CC [M] /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o
CC base/qbman/process.o
CC base/qbman/bman.o
/tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c: In function ‘kni_pin_pages’:
/tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/netdevice.h:38,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/mm.h:1166:6: note: expected ‘struct task_struct *’ but argument is of type ‘long long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/netdevice.h:38,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/mm.h:1166:6: note: expected ‘struct mm_struct *’ but argument is of type ‘u32’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/netdevice.h:38,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/mm.h:1166:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/netdevice.h:38,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/mm.h:1166:6: note: expected ‘int’ but argument is of type ‘void *’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: too few arguments to function ‘get_user_pages’
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/netdevice.h:38,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-327.10.1.el7.x86_64/include/linux/mm.h:1166:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
cc1: all warnings being treated as errors
make[9]: *** [/tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o] Error 1
make[8]: *** [_module_/tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni] Error 2
make[7]: *** [sub-make] Error 2
make[6]: *** [rte_kni.ko] Error 2
make[5]: *** [kni] Error 2
--
INSTALL-LIB librte_pmd_dpaa2_qdma.a
CC ifpga_feature_dev.o
CC ifpga_fme.o
CC ifpga_fme_iperf.o
CC ifpga_fme_dperf.o
CC ifpga_fme_error.o
CC ifpga_port.o
CC ifpga_port_error.o
CC opae_hw_api.o
CC opae_ifpga_hw_api.o
CC opae_debug.o
CC ifpga_fme_pr.o
CC ifpga_rawdev.o
*Failed Build #5:
OS: UB1604
Target: x86_64-native-linuxapp-clang
LD /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/built-in.o
CC [M] /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.o
Building modules, stage 2.
MODPOST 1 modules
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c: In function ‘kni_pin_pages’:
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:271:24: error: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror=int-conversion]
npgs = get_user_pages((u64)address, mem->npgs,
^
In file included from /usr/src/linux-headers-4.4.0-130-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-130-generic/include/linux/mm.h:1222:6: note: expected ‘struct task_struct *’ but argument is of type ‘long long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:271:38: error: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror=int-conversion]
npgs = get_user_pages((u64)address, mem->npgs,
^
In file included from /usr/src/linux-headers-4.4.0-130-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-130-generic/include/linux/mm.h:1222:6: note: expected ‘struct mm_struct *’ but argument is of type ‘u32 {aka unsigned int}’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:272:16: error: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror=int-conversion]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/linux-headers-4.4.0-130-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/netdevice.h:38,
--
from /usr/src/linux-headers-4.4.0-130-generic/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/types.h:5,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/list.h:4,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/module.h:9,
from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:7:
/usr/src/linux-headers-4.4.0-130-generic/include/linux/stddef.h:7:14: error: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror=int-conversion]
#define NULL ((void *)0)
^
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:272:30: note: in expansion of macro ‘NULL’
gup_flags, &mem->pgs[0], NULL);
^
--
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-130-generic/include/linux/mm.h:1222:6: note: expected ‘int’ but argument is of type ‘void *’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:271:9: error: too few arguments to function ‘get_user_pages’
npgs = get_user_pages((u64)address, mem->npgs,
^
In file included from /usr/src/linux-headers-4.4.0-130-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-130-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-130-generic/include/linux/mm.h:1222:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
cc1: all warnings being treated as errors
/usr/src/linux-headers-4.4.0-130-generic/scripts/Makefile.build:277: recipe for target '/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.o' failed
make[9]: *** [/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.o] Error 1
/usr/src/linux-headers-4.4.0-130-generic/Makefile:1437: recipe for target '_module_/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni' failed
make[8]: *** [_module_/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/kni] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[7]: *** [sub-make] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.module.mk:50: recipe for target 'rte_kni.ko' failed
make[6]: *** [rte_kni.ko] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.subdir.mk:35: recipe for target 'kni' failed
make[5]: *** [kni] Error 2
make[5]: *** Waiting for unfinished jobs....
CC /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/igb_uio.mod.o
== Build drivers
== Build drivers/common
LD [M] /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/igb_uio.ko
INSTALL-MODULE igb_uio.ko
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.subdir.mk:35: recipe for target 'linux' failed
make[4]: *** [linux] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'kernel' failed
make[3]: *** [kernel] Error 2
make[3]: *** Waiting for unfinished jobs....
== Build drivers/bus
== Build drivers/common/octeontx
== Build drivers/bus/dpaa
--
AR librte_pmd_dpaa2_qdma.a
INSTALL-LIB librte_pmd_dpaa2_qdma.a
CC ifpga_fme.o
CC ifpga_fme_iperf.o
CC ifpga_fme_dperf.o
CC ifpga_fme_error.o
CC ifpga_port.o
CC ifpga_port_error.o
CC opae_hw_api.o
CC opae_ifpga_hw_api.o
CC opae_debug.o
CC ifpga_fme_pr.o
CC ifpga_rawdev.o
PMDINFO ifpga_rawdev.o.pmd.c
CC ifpga_rawdev.o.pmd.o
LD ifpga_rawdev.o
AR librte_pmd_ifpga_rawdev.a
INSTALL-LIB librte_pmd_ifpga_rawdev.a
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
make[2]: *** [all] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
make: *** [install] Error 2
*Failed Build #6:
OS: UB1604
Target: x86_64-native-linuxapp-gcc-shared
LD /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/built-in.o
CC [M] /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.o
LD /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/built-in.o
CC [M] /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c: In function ‘kni_pin_pages’:
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:271:24: error: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror=int-conversion]
npgs = get_user_pages((u64)address, mem->npgs,
^
In file included from /usr/src/linux-headers-4.4.0-128-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-128-generic/include/linux/mm.h:1222:6: note: expected ‘struct task_struct *’ but argument is of type ‘long long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:271:38: error: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror=int-conversion]
npgs = get_user_pages((u64)address, mem->npgs,
^
In file included from /usr/src/linux-headers-4.4.0-128-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-128-generic/include/linux/mm.h:1222:6: note: expected ‘struct mm_struct *’ but argument is of type ‘u32 {aka unsigned int}’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:16: error: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror=int-conversion]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/linux-headers-4.4.0-128-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/netdevice.h:38,
--
from /usr/src/linux-headers-4.4.0-128-generic/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/types.h:5,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/list.h:4,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/module.h:9,
from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:7:
/usr/src/linux-headers-4.4.0-128-generic/include/linux/stddef.h:7:14: error: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror=int-conversion]
#define NULL ((void *)0)
^
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:30: note: in expansion of macro ‘NULL’
gup_flags, &mem->pgs[0], NULL);
^
--
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-128-generic/include/linux/mm.h:1222:6: note: expected ‘int’ but argument is of type ‘void *’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:271:9: error: too few arguments to function ‘get_user_pages’
npgs = get_user_pages((u64)address, mem->npgs,
^
In file included from /usr/src/linux-headers-4.4.0-128-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-128-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-128-generic/include/linux/mm.h:1222:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
Building modules, stage 2.
cc1: all warnings being treated as errors
/usr/src/linux-headers-4.4.0-128-generic/scripts/Makefile.build:277: recipe for target '/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o' failed
make[9]: *** [/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o] Error 1
/usr/src/linux-headers-4.4.0-128-generic/Makefile:1437: recipe for target '_module_/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni' failed
make[8]: *** [_module_/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[7]: *** [sub-make] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.module.mk:50: recipe for target 'rte_kni.ko' failed
make[6]: *** [rte_kni.ko] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.subdir.mk:35: recipe for target 'kni' failed
make[5]: *** [kni] Error 2
make[5]: *** Waiting for unfinished jobs....
== Build drivers
MODPOST 1 modules
== Build drivers/common
CC /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.mod.o
== Build drivers/common/octeontx
LD [M] /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.ko
INSTALL-MODULE igb_uio.ko
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.subdir.mk:35: recipe for target 'linux' failed
make[4]: *** [linux] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'kernel' failed
make[3]: *** [kernel] Error 2
make[3]: *** Waiting for unfinished jobs....
== Build drivers/bus
CC octeontx_mbox.o
== Build drivers/bus/dpaa
--
CC ifpga_enumerate.o
CC ifpga_feature_dev.o
CC ifpga_fme.o
CC ifpga_fme_iperf.o
CC ifpga_fme_dperf.o
CC ifpga_fme_error.o
CC ifpga_port.o
CC ifpga_port_error.o
CC opae_hw_api.o
CC opae_ifpga_hw_api.o
CC opae_debug.o
CC ifpga_fme_pr.o
CC ifpga_rawdev.o
PMDINFO ifpga_rawdev.o.pmd.c
CC ifpga_rawdev.o.pmd.o
LD ifpga_rawdev.o
LD librte_pmd_ifpga_rawdev.so.1.1
INSTALL-LIB librte_pmd_ifpga_rawdev.so.1.1
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
make[2]: *** [all] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
make: *** [install] Error 2
*Failed Build #7:
OS: CENTOS
Target: x86_64-native-linuxapp-gcc
LD /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/built-in.o
CC [M] /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o
CC base/qbman/bman_driver.o
CC base/qbman/qman.o
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c: In function ‘kni_pin_pages’:
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘struct task_struct *’ but argument is of type ‘long long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘struct mm_struct *’ but argument is of type ‘u32’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: expected ‘int’ but argument is of type ‘void *’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:5: error: too few arguments to function ‘get_user_pages’
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/scatterlist.h:6:0,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/dmaengine.h:27,
from /usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/netdevice.h:39,
from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/kernels/3.10.0-514.10.2.el7.x86_64/include/linux/mm.h:1260:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
cc1: all warnings being treated as errors
make[9]: *** [/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o] Error 1
make[8]: *** [_module_/tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/kni] Error 2
make[7]: *** [sub-make] Error 2
make[6]: *** [rte_kni.ko] Error 2
make[5]: *** [kni] Error 2
--
AR librte_pmd_dpaa2_qdma.a
INSTALL-LIB librte_pmd_dpaa2_qdma.a
CC ifpga_fme.o
CC ifpga_fme_iperf.o
CC ifpga_fme_dperf.o
CC ifpga_fme_error.o
CC ifpga_port.o
CC ifpga_port_error.o
CC opae_hw_api.o
CC opae_ifpga_hw_api.o
CC opae_debug.o
CC ifpga_fme_pr.o
CC ifpga_rawdev.o
*Failed Build #8:
OS: UB1604
Target: i686-native-linuxapp-gcc
CC [M] /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.o
LD /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/built-in.o
CC [M] /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o
Building modules, stage 2.
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c: In function ‘kni_pin_pages’:
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:271:24: error: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror=int-conversion]
npgs = get_user_pages((u64)address, mem->npgs,
^
In file included from /usr/src/linux-headers-4.4.0-78-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-78-generic/include/linux/mm.h:1218:6: note: expected ‘struct task_struct *’ but argument is of type ‘long long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:271:38: error: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror=int-conversion]
npgs = get_user_pages((u64)address, mem->npgs,
^
In file included from /usr/src/linux-headers-4.4.0-78-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-78-generic/include/linux/mm.h:1218:6: note: expected ‘struct mm_struct *’ but argument is of type ‘u32 {aka unsigned int}’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:16: error: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror=int-conversion]
gup_flags, &mem->pgs[0], NULL);
^
In file included from /usr/src/linux-headers-4.4.0-78-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/netdevice.h:38,
--
from /usr/src/linux-headers-4.4.0-78-generic/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/types.h:5,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/list.h:4,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/module.h:9,
from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:7:
/usr/src/linux-headers-4.4.0-78-generic/include/linux/stddef.h:7:14: error: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror=int-conversion]
#define NULL ((void *)0)
^
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:272:30: note: in expansion of macro ‘NULL’
gup_flags, &mem->pgs[0], NULL);
^
--
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-78-generic/include/linux/mm.h:1218:6: note: expected ‘int’ but argument is of type ‘void *’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:271:9: error: too few arguments to function ‘get_user_pages’
npgs = get_user_pages((u64)address, mem->npgs,
^
In file included from /usr/src/linux-headers-4.4.0-78-generic/include/linux/scatterlist.h:7:0,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/dmaengine.h:24,
from /usr/src/linux-headers-4.4.0-78-generic/include/linux/netdevice.h:38,
from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.c:9:
/usr/src/linux-headers-4.4.0-78-generic/include/linux/mm.h:1218:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
cc1: all warnings being treated as errors
/usr/src/linux-headers-4.4.0-78-generic/scripts/Makefile.build:258: recipe for target '/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o' failed
make[9]: *** [/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o] Error 1
/usr/src/linux-headers-4.4.0-78-generic/Makefile:1420: recipe for target '_module_/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni' failed
make[8]: *** [_module_/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/kni] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[7]: *** [sub-make] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.module.mk:50: recipe for target 'rte_kni.ko' failed
make[6]: *** [rte_kni.ko] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.subdir.mk:35: recipe for target 'kni' failed
make[5]: *** [kni] Error 2
make[5]: *** Waiting for unfinished jobs....
== Build drivers
MODPOST 1 modules
== Build drivers/common
CC /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.mod.o
LD [M] /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/i686-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.ko
INSTALL-MODULE igb_uio.ko
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.subdir.mk:35: recipe for target 'linux' failed
make[4]: *** [linux] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'kernel' failed
make[3]: *** [kernel] Error 2
make[3]: *** Waiting for unfinished jobs....
== Build drivers/bus
== Build drivers/common/octeontx
== Build drivers/bus/dpaa
--
CC ifpga_enumerate.o
CC ifpga_feature_dev.o
CC ifpga_fme.o
CC ifpga_fme_iperf.o
CC ifpga_fme_dperf.o
CC ifpga_fme_error.o
CC ifpga_port.o
CC ifpga_port_error.o
CC opae_hw_api.o
CC opae_ifpga_hw_api.o
CC opae_debug.o
CC ifpga_fme_pr.o
CC ifpga_rawdev.o
PMDINFO ifpga_rawdev.o.pmd.c
CC ifpga_rawdev.o.pmd.o
LD ifpga_rawdev.o
AR librte_pmd_ifpga_rawdev.a
INSTALL-LIB librte_pmd_ifpga_rawdev.a
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
make[2]: *** [all] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/7d36e9c5e2554a6eb4b971dff684fd02/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
make: *** [install] Error 2
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-09-27 11:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-27 11:03 [dpdk-test-report] |FAILURE| pw45512kni: add IOVA va support for kni 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).