Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/36596 _Compilation issues_ Submitter: Ajit Khaparde Date: Tue, 27 Mar 2018 21:51:20 -0700 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:20526313ba41174d3e7831ee800f6e938a1d5b85 Patch36596-36596 --> compile error Build Summary: 15 Builds Done, 0 Successful, 15 Failures Test environment and configuration as below: 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-gcc-debug i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc OS: UB1604_64 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.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-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc Failed Build #1: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang /home/patchWorkOrg/compilation/lib/librte_eal/common/rte_malloc.c:41:29: error: unused parameter 'type' [-Werror,-Wunused-parameter] rte_malloc_cmem(const char *type, size_t size, size_t align, int socket_id) ^ 1 error generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_malloc.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 #2: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc /home/patchWorkOrg/compilation/lib/librte_eal/common/rte_malloc.c: In function 'rte_malloc_cmem': /home/patchWorkOrg/compilation/lib/librte_eal/common/rte_malloc.c:41:29: error: unused parameter 'type' [-Werror=unused-parameter] rte_malloc_cmem(const char *type, size_t size, size_t align, int socket_id) ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_malloc.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: 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.c: In function ‘map_cmem_virtual_area’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] cmemseg->addr_64 = addr; ^ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c: In function ‘rte_eal_init’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:182:21: error: ‘cmemseg’ may be used uninitialized in this function [-Werror=maybe-uninitialized] cmemseg->phys_addr = rte_mem_virt2phy(addr); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:134:21: note: ‘cmemseg’ was declared here struct rte_memseg *cmemseg; ^~~~~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: 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 '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 #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.c: In function ‘map_cmem_virtual_area’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] cmemseg->addr_64 = addr; ^ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c: In function ‘rte_eal_init’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:182:21: error: ‘cmemseg’ may be used uninitialized in this function [-Werror=maybe-uninitialized] cmemseg->phys_addr = rte_mem_virt2phy(addr); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:134:21: note: ‘cmemseg’ was declared here struct rte_memseg *cmemseg; ^~~~~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: 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 '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-clang SYMLINK-FILE include/exec-env/rte_kni_common.h/home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: incompatible pointer to integer conversion assigning to 'uint64_t' (aka 'unsigned long') from 'void *' [-Werror,-Wint-conversion] cmemseg->addr_64 = addr; ^ ~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:143:14: error: variable 'cmemseg' is used uninitialized whenever 'for' loop exits because its condition is false [-Werror,-Wsometimes-uninitialized] for (i = 0; i < RTE_MAX_MEMSEG; i++) { ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:151:7: note: uninitialized use occurs here if (!cmemseg) ^~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:143:14: note: remove the condition if it is always true for (i = 0; i < RTE_MAX_MEMSEG; i++) { ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:134:28: note: initialize the variable 'cmemseg' to silence this warning struct rte_memseg *cmemseg; ^ = NULL 2 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: 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 '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.c: In function ‘map_cmem_virtual_area’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] cmemseg->addr_64 = addr; ^ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c: In function ‘rte_eal_init’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:182:21: error: ‘cmemseg’ may be used uninitialized in this function [-Werror=maybe-uninitialized] cmemseg->phys_addr = rte_mem_virt2phy(addr); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:134:21: note: ‘cmemseg’ was declared here struct rte_memseg *cmemseg; ^~~~~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: 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 '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.c: In function ‘map_cmem_virtual_area’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] cmemseg->addr_64 = addr; ^ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c: In function ‘rte_eal_init’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:182:21: error: ‘cmemseg’ may be used uninitialized in this function [-Werror=maybe-uninitialized] cmemseg->phys_addr = rte_mem_virt2phy(addr); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:134:21: note: ‘cmemseg’ was declared here struct rte_memseg *cmemseg; ^~~~~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: 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 '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.c: In function ‘map_cmem_virtual_area’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] cmemseg->addr_64 = addr; ^ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c: In function ‘rte_eal_init’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:182:21: error: ‘cmemseg’ may be used uninitialized in this function [-Werror=maybe-uninitialized] cmemseg->phys_addr = rte_mem_virt2phy(addr); ^ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:134:21: note: ‘cmemseg’ was declared here struct rte_memseg *cmemseg; ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: 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 '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.c: In function ‘map_cmem_virtual_area’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] cmemseg->addr_64 = addr; ^ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c: In function ‘rte_eal_init’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:182:21: error: ‘cmemseg’ may be used uninitialized in this function [-Werror=maybe-uninitialized] cmemseg->phys_addr = rte_mem_virt2phy(addr); ^ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:134:21: note: ‘cmemseg’ was declared here struct rte_memseg *cmemseg; ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: 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 '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.c: In function ‘map_cmem_virtual_area’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] cmemseg->addr_64 = addr; ^ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c: In function ‘rte_eal_init’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:182:21: error: ‘cmemseg’ may be used uninitialized in this function [-Werror=maybe-uninitialized] cmemseg->phys_addr = rte_mem_virt2phy(addr); ^ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:134:21: note: ‘cmemseg’ was declared here struct rte_memseg *cmemseg; ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: 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 '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: UB1604_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.c:183:19: error: incompatible pointer to integer conversion assigning to 'uint64_t' (aka 'unsigned long') from 'void *' [-Werror,-Wint-conversion] cmemseg->addr_64 = addr; ^ ~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:143:14: error: variable 'cmemseg' is used uninitialized whenever 'for' loop exits because its condition is false [-Werror,-Wsometimes-uninitialized] for (i = 0; i < RTE_MAX_MEMSEG; i++) { ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:151:7: note: uninitialized use occurs here if (!cmemseg) ^~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:143:14: note: remove the condition if it is always true for (i = 0; i < RTE_MAX_MEMSEG; i++) { ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:134:28: note: initialize the variable 'cmemseg' to silence this warning struct rte_memseg *cmemseg; ^ = NULL 2 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: 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 '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 #12: 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.c: In function ‘map_cmem_virtual_area’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: assignment makes integer from pointer without a cast [-Werror] cmemseg->addr_64 = addr; ^ cc1: all warnings being treated as errors Failed Build #13: 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.c:183:19: error: incompatible pointer to integer conversion assigning to 'uint64_t' (aka 'unsigned long') from 'void *' [-Werror,-Wint-conversion] cmemseg->addr_64 = addr; ^ ~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:143:14: error: variable 'cmemseg' is used uninitialized whenever 'for' loop exits because its condition is false [-Werror,-Wsometimes-uninitialized] for (i = 0; i < RTE_MAX_MEMSEG; i++) { ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:151:7: note: uninitialized use occurs here if (!cmemseg) ^~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:143:14: note: remove the condition if it is always true for (i = 0; i < RTE_MAX_MEMSEG; i++) { ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:134:28: note: initialize the variable 'cmemseg' to silence this warning struct rte_memseg *cmemseg; ^ = NULL 2 errors generated. Failed Build #14: 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.c: In function ‘map_cmem_virtual_area’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: assignment makes integer from pointer without a cast [-Werror] cmemseg->addr_64 = addr; ^ cc1: all warnings being treated as errors Failed Build #15: 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.c: In function ‘map_cmem_virtual_area’: /home/patchWorkOrg/compilation/lib/librte_eal/linuxapp/eal/eal.c:183:19: error: assignment makes integer from pointer without a cast [-Werror] cmemseg->addr_64 = addr; ^ cc1: all warnings being treated as errors DPDK STV team