Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/34354 _Compilation issues_ Submitter: Shreyansh Jain Date: Tue, 23 Jan 2018 19:29:05 +0530 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:bf375b4d51170cd58ca50c646781cb6de17766ea Patch34351-34354 --> compile error Build Summary: 15 Builds Done, 2 Successful, 13 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-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc 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/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ {} /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ {} /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:584:31: error: implicit conversion from enumeration type 'enum skeleton_device_state' to different enumeration type 'enum skeleton_firmware_state' [-Werror,-Wenum-conversion] skeldev->fw.firmware_state = SKELETON_DEV_STOPPED; ~ ^~~~~~~~~~~~~~~~~~~~ 3 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'skeleton_rawdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'skeleton_rawdev' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'raw' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' 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/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:15: error: missing braces around initializer [-Werror=missing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:15: error: (near initialization for 'queue_buf[0]') [-Werror=missing-braces] cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'skeleton_rawdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'skeleton_rawdev' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'raw' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' 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: i686-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:28:0: /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c: In function ‘skeleton_rawdev_get_attr’: /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.h:13:51: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] rte_log(RTE_LOG_ ## level, skeleton_pmd_logtype, "%s(): " fmt "\n", \ ^ /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.h:19:2: note: in expansion of macro ‘SKELETON_PMD_LOG’ SKELETON_PMD_LOG(DEBUG, fmt, ## args) ^~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:332:4: note: in expansion of macro ‘SKELETON_PMD_DEBUG’ SKELETON_PMD_DEBUG("Attribute (%s) Value (%lu)", ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'skeleton_rawdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'skeleton_rawdev' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'raw' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' 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: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ {} /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ {} /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:584:31: error: implicit conversion from enumeration type 'enum skeleton_device_state' to different enumeration type 'enum skeleton_firmware_state' [-Werror,-Wenum-conversion] skeldev->fw.firmware_state = SKELETON_DEV_STOPPED; ~ ^~~~~~~~~~~~~~~~~~~~ 3 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'skeleton_rawdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'skeleton_rawdev' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'raw' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' 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-shared PMDINFO skeleton_rawdev.o.pmd.c LD skeleton_rawdev.o LD librte_pmd_skeleton_rawdev.so.1.1 skeleton_rawdev.o: In function `skeldev_parse_vdev_args': skeleton_rawdev.c:(.text+0x1a73): undefined reference to `rte_kvargs_parse' skeleton_rawdev.c:(.text+0x1ad3): undefined reference to `rte_kvargs_process' skeleton_rawdev.c:(.text+0x1b26): undefined reference to `rte_kvargs_free' skeleton_rawdev.c:(.text+0x1b3e): undefined reference to `rte_kvargs_free' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.lib.mk:98: recipe for target 'librte_pmd_skeleton_rawdev.so.1.1' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'skeleton_rawdev' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'raw' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' 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 LD dpdk-test-eventdev /usr/bin/ld: final link failed: No space left on device collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.app.mk:328: recipe for target 'dpdk-test-eventdev' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'test-eventdev' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'app' 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: UB1604_64 Target: i686-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:28:0: /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c: In function ‘skeleton_rawdev_get_attr’: /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.h:13:51: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] rte_log(RTE_LOG_ ## level, skeleton_pmd_logtype, "%s(): " fmt "\n", \ ^ /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.h:19:2: note: in expansion of macro ‘SKELETON_PMD_LOG’ SKELETON_PMD_LOG(DEBUG, fmt, ## args) ^ /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:332:4: note: in expansion of macro ‘SKELETON_PMD_DEBUG’ SKELETON_PMD_DEBUG("Attribute (%s) Value (%lu)", ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'skeleton_rawdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'skeleton_rawdev' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'raw' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' 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: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ {} /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ {} /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:584:31: error: implicit conversion from enumeration type 'enum skeleton_device_state' to different enumeration type 'enum skeleton_firmware_state' [-Werror,-Wenum-conversion] skeldev->fw.firmware_state = SKELETON_DEV_STOPPED; ~ ^~~~~~~~~~~~~~~~~~~~ 3 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'skeleton_rawdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'skeleton_rawdev' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'raw' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' 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-shared PMDINFO skeleton_rawdev.o.pmd.c LD skeleton_rawdev.o LD librte_pmd_skeleton_rawdev.so.1.1 skeleton_rawdev.o: In function `skeldev_parse_vdev_args': skeleton_rawdev.c:(.text+0x1a6e): undefined reference to `rte_kvargs_parse' skeleton_rawdev.c:(.text+0x1ace): undefined reference to `rte_kvargs_process' skeleton_rawdev.c:(.text+0x1b21): undefined reference to `rte_kvargs_free' skeleton_rawdev.c:(.text+0x1b39): undefined reference to `rte_kvargs_free' collect2: error: ld returned 1 exit status /home/patchWorkOrg/compilation/mk/rte.lib.mk:98: recipe for target 'librte_pmd_skeleton_rawdev.so.1.1' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'skeleton_rawdev' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'raw' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' 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: CentOS7_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:15: error: missing braces around initializer [-Werror=missing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:15: error: (near initialization for ‘queue_buf[0]’) [-Werror=missing-braces] /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c: In function ‘skeleton_rawdev_get_attr’: /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:332:4: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ [-Werror=format=] SKELETON_PMD_DEBUG("Attribute (%s) Value (%lu)", ^ cc1: all warnings being treated as errors Failed Build #11: OS: CentOS7_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ {} /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ {} /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:584:31: error: implicit conversion from enumeration type 'enum skeleton_device_state' to different enumeration type 'enum skeleton_firmware_state' [-Werror,-Wenum-conversion] skeldev->fw.firmware_state = SKELETON_DEV_STOPPED; ~ ^~~~~~~~~~~~~~~~~~~~ 3 errors generated. Failed Build #12: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:15: error: missing braces around initializer [-Werror=missing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:15: error: (near initialization for ‘queue_buf[0]’) [-Werror=missing-braces] cc1: all warnings being treated as errors Failed Build #13: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:15: error: missing braces around initializer [-Werror=missing-braces] static struct queue_buffers queue_buf[SKELETON_MAX_QUEUES] = {0}; ^ /home/patchWorkOrg/compilation/drivers/raw/skeleton_rawdev/skeleton_rawdev.c:46:15: error: (near initialization for ‘queue_buf[0]’) [-Werror=missing-braces] cc1: all warnings being treated as errors DPDK STV team