[dpdk-test-report] |FAILURE| pw17356 [PATCH, v1, 1/2] lib: distributor performance enhancements

sys_stv at intel.com sys_stv at intel.com
Thu Dec 1 14:48:28 CET 2016


Test-Label: Intel Per-patch compilation check
Test-Status: FAILURE

http://www.dpdk.org/dev/patchwork/patch/17356
Submitter: David Hunt <david.hunt at intel.com>
Date: Thu,  1 Dec 2016 04:50:21 +0000
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:b5415fbc69dd33a1bb64a140b2f6bc73d11e4d22

Patch17356-17356 --> compile error
Build Summary: 18 Builds Done, 11 Successful, 7 Failures

Test environment and configuration as below:
OS: FreeBSD10.3_64
    Kernel Version:10.3-RELEASE
    CPU info:CPU: 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-47-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-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-gcc-debug
    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/lib/librte_distributor/rte_distributor_burst.c: In function 'rte_distributor_poll_pkt_burst':
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: note: use option -std=c99 or -std=gnu99 to compile your code
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function 'find_match':
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:289:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (uint16_t i = 0; i < d->num_workers; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function 'release':
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:356:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function 'rte_distributor_process_burst':
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:406:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:420:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:441:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (int j = 0; j < pkts; j++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:491:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for (int w = j; w < pkts; w++)
     ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:502:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function 'rte_distributor_clear_returns_burst':
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:567:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (unsigned int wkr = 0; wkr < d->num_workers; wkr++)
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function 'rte_distributor_create_burst':
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:606:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0 ; i < num_workers ; i++)
  ^
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_distributor_burst.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_distributor' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:78: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:126: 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:101: recipe for target 'install' failed


Failed Build #2:
OS: RHEL7.2_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_poll_pkt_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: note: use option -std=c99 or -std=gnu99 to compile your code
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘find_match’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:289:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (uint16_t i = 0; i < d->num_workers; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘release’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:356:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_process_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:406:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:420:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:441:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (int j = 0; j < pkts; j++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:491:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
     for (int w = j; w < pkts; w++)
     ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:502:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_clear_returns_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:567:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wkr = 0; wkr < d->num_workers; wkr++)
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_create_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:606:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0 ; i < num_workers ; i++)
  ^


Failed Build #3:
OS: RHEL7.2_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_poll_pkt_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: note: use option -std=c99 or -std=gnu99 to compile your code
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘find_match’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:289:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (uint16_t i = 0; i < d->num_workers; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘release’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:356:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_process_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:406:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:420:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:441:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (int j = 0; j < pkts; j++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:491:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
     for (int w = j; w < pkts; w++)
     ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:502:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_clear_returns_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:567:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wkr = 0; wkr < d->num_workers; wkr++)
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_create_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:606:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0 ; i < num_workers ; i++)
  ^


Failed Build #4:
OS: RHEL7.2_64
Target: x86_64-native-linuxapp-gcc-shared

/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_poll_pkt_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: note: use option -std=c99 or -std=gnu99 to compile your code
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘find_match’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:289:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (uint16_t i = 0; i < d->num_workers; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘release’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:356:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_process_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:406:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:420:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:441:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (int j = 0; j < pkts; j++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:491:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
     for (int w = j; w < pkts; w++)
     ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:502:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_clear_returns_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:567:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wkr = 0; wkr < d->num_workers; wkr++)
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_create_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:606:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0 ; i < num_workers ; i++)
  ^


Failed Build #5:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_poll_pkt_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: note: use option -std=c99 or -std=gnu99 to compile your code
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘find_match’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:289:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (uint16_t i = 0; i < d->num_workers; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘release’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:356:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_process_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:406:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:420:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:441:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (int j = 0; j < pkts; j++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:491:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
     for (int w = j; w < pkts; w++)
     ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:502:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_clear_returns_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:567:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wkr = 0; wkr < d->num_workers; wkr++)
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_create_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:606:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0 ; i < num_workers ; i++)
  ^


Failed Build #6:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_poll_pkt_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: note: use option -std=c99 or -std=gnu99 to compile your code
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘find_match’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:289:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (uint16_t i = 0; i < d->num_workers; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘release’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:356:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_process_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:406:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:420:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:441:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (int j = 0; j < pkts; j++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:491:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
     for (int w = j; w < pkts; w++)
     ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:502:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_clear_returns_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:567:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wkr = 0; wkr < d->num_workers; wkr++)
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_create_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:606:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0 ; i < num_workers ; i++)
  ^


Failed Build #7:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc-shared

/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_poll_pkt_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:176:2: note: use option -std=c99 or -std=gnu99 to compile your code
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘find_match’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:289:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (uint16_t i = 0; i < d->num_workers; i++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘release’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:356:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_process_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:406:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:420:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (unsigned int i = 0; i < RTE_DIST_BURST_SIZE; i++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:441:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
   for (int j = 0; j < pkts; j++) {
   ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:491:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
     for (int w = j; w < pkts; w++)
     ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:502:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wid = 0 ; wid < d->num_workers; wid++) {
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_clear_returns_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:567:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int wkr = 0; wkr < d->num_workers; wkr++)
  ^
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c: In function ‘rte_distributor_create_burst’:
/home/patchWorkOrg/compilation/lib/librte_distributor/rte_distributor_burst.c:606:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (unsigned int i = 0 ; i < num_workers ; i++)
  ^


DPDK STV team


More information about the test-report mailing list