Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/33443 _Compilation issues_ Submitter: Pavan Nikhilesh Date: Wed, 10 Jan 2018 16:40:05 +0530 DPDK git baseline: Repo:dpdk-next-eventdev, Branch:master, CommitID:49194debd126076ab0805f608340017af2df8655 Patch33429-33443 --> compile error Build Summary: 15 Builds Done, 11 Successful, 4 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-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang 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-gcc /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c: In function 'opdl_queue_setup': /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:291:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->nb_q_md; i++) { ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:291:2: note: use option -std=c99 or -std=gnu99 to compile your code /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c: In function 'opdl_dump': /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:394:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->nb_opdls; i++) ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:403:16: error: redefinition of 'i' for (uint32_t i = 0; i < device->max_port_nb; i++) { ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:394:16: note: previous definition of 'i' was here for (uint32_t i = 0; i < device->nb_opdls; i++) ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:403:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->max_port_nb; i++) { ^ /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'opdl_evdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'opdl' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'event' 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: CentOS7_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c: In function ‘opdl_queue_setup’: /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:291:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->nb_q_md; i++) { ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:291:2: note: use option -std=c99 or -std=gnu99 to compile your code /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c: In function ‘opdl_dump’: /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:394:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->nb_opdls; i++) ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:403:16: error: redefinition of ‘i’ for (uint32_t i = 0; i < device->max_port_nb; i++) { ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:394:16: note: previous definition of ‘i’ was here for (uint32_t i = 0; i < device->nb_opdls; i++) ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:403:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->max_port_nb; i++) { ^ Failed Build #3: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c: In function ‘opdl_queue_setup’: /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:291:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->nb_q_md; i++) { ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:291:2: note: use option -std=c99 or -std=gnu99 to compile your code /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c: In function ‘opdl_dump’: /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:394:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->nb_opdls; i++) ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:403:16: error: redefinition of ‘i’ for (uint32_t i = 0; i < device->max_port_nb; i++) { ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:394:16: note: previous definition of ‘i’ was here for (uint32_t i = 0; i < device->nb_opdls; i++) ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:403:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->max_port_nb; i++) { ^ Failed Build #4: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c: In function ‘opdl_queue_setup’: /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:291:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->nb_q_md; i++) { ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:291:2: note: use option -std=c99 or -std=gnu99 to compile your code /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c: In function ‘opdl_dump’: /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:394:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->nb_opdls; i++) ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:403:16: error: redefinition of ‘i’ for (uint32_t i = 0; i < device->max_port_nb; i++) { ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:394:16: note: previous definition of ‘i’ was here for (uint32_t i = 0; i < device->nb_opdls; i++) ^ /home/patchWorkOrg/compilation/drivers/event/opdl/opdl_evdev.c:403:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < device->max_port_nb; i++) { ^ DPDK STV team