Test-Label: Intel compilation Test-Status: FAILURE http://dpdk.org/patch/19099 _Compilation issues_ Submitter: Sergey Vyazmitinov Date: Fri, 30 Dec 2016 05:08:20 +0700 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:348e470bc6be6f28fc197f6d2dc4f3cebb43e719 Patch19099-19099 --> compile error Build Summary: 18 Builds Done, 14 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: RHEL7.2_64 Kernel Version:3.10.0-327.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared OS: UB1604_64 Kernel Version:4.4.0-53-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-327.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang OS: FC24_64 Kernel Version:4.8.6-201.fc24.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2) Clang Version:3.8.0 x86_64-native-linuxapp-clang i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc-debug Failed Build #1: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c: In function ‘kni_allocate_mbufs’: /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:635:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (unsigned int i = 0; i < allocated; i++) ^ /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:635:2: note: use option -std=c99 or -std=gnu99 to compile your code /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:643:3: error: ‘for’ loop initial declarations are only allowed in C99 mode for (unsigned int j = put; j < allocated; j++) { ^ Failed Build #2: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c: In function ‘kni_allocate_mbufs’: /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:635:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (unsigned int i = 0; i < allocated; i++) ^ /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:635:2: note: use option -std=c99 or -std=gnu99 to compile your code /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:643:3: error: ‘for’ loop initial declarations are only allowed in C99 mode for (unsigned int j = put; j < allocated; j++) { ^ Failed Build #3: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c: In function ‘kni_allocate_mbufs’: /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:635:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (unsigned int i = 0; i < allocated; i++) ^ /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:635:2: note: use option -std=c99 or -std=gnu99 to compile your code /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:643:3: error: ‘for’ loop initial declarations are only allowed in C99 mode for (unsigned int j = put; j < allocated; j++) { ^ Failed Build #4: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c: In function ‘kni_allocate_mbufs’: /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:635:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (unsigned int i = 0; i < allocated; i++) ^ /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:635:2: note: use option -std=c99 or -std=gnu99 to compile your code /home/patchWorkOrg/compilation/lib/librte_kni/rte_kni.c:643:3: error: ‘for’ loop initial declarations are only allowed in C99 mode for (unsigned int j = put; j < allocated; j++) { ^ DPDK STV team