automatic DPDK test reports
 help / color / mirror / Atom feed
From: sys_stv@intel.com
To: test-report@dpdk.org
Cc: bruce.richardson@intel.com
Subject: [dpdk-test-report] |FAILURE| pw19134 [PATCH RFC 10/11] ring: reuse typed rings management functions
Date: 11 Jan 2017 18:39:07 -0800	[thread overview]
Message-ID: <e624e2$107rjph@orsmga001.jf.intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 24433 bytes --]

Test-Label: Intel compilation
Test-Status: FAILURE

http://dpdk.org/patch/19134

_Compilation issues_

Submitter: Bruce Richardson <bruce.richardson@intel.com>
Date: Wed, 11 Jan 2017 15:05:17 +0000
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:6de5c0f1302cc9e310a47e3488d7d3f1a4602b64

Patch19125-19134 --> compile error
Build Summary: 18 Builds Done, 17 Successful, 1 Failures

Test environment and configuration as below:
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: 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.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-debug
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc
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-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc

Failed Build #1:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug

In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:96:0,
                 from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_typed_ring.h: In function ‘rte_void_ring_init’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_typed_ring.h:1570:0: error: unterminated argument list invoking macro "RTE_BUILD_BUG_ON"    
/home/patchWorkOrg/compilation/lib/librte_ring/rte_typed_ring.h:1238:2: error: unknown type name ‘RTE_BUILD_BUG_ON’
  RTE_BUILD_BUG_ON((sizeof(struct TYPE(ring_debug_stats) &
  ^~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:0:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:116:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rte_ring_get_memsize’
 ssize_t rte_ring_get_memsize(unsigned count);
         ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:153:2: warning: nested extern declaration of ‘rte_ring_init’ [-Wnested-externs]
  unsigned flags);
  ^~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:195:6: warning: nested extern declaration of ‘rte_ring_create’ [-Wnested-externs]
      int socket_id, unsigned flags);
      ^~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:100:18: warning: nested extern declaration of ‘rte_ring_free’ [-Wnested-externs]
 #define rte_ring rte_void_ring
                  ^
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:202:27: note: in expansion of macro ‘rte_ring’
 void rte_ring_free(struct rte_ring *r);
                           ^~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:100:18: warning: nested extern declaration of ‘rte_ring_set_water_mark’ [-Wnested-externs]
 #define rte_ring rte_void_ring
                  ^
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:222:36: note: in expansion of macro ‘rte_ring’
 int rte_ring_set_water_mark(struct rte_ring *r, unsigned count);
                                    ^~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:100:18: warning: nested extern declaration of ‘rte_ring_dump’ [-Wnested-externs]
 #define rte_ring rte_void_ring
                  ^
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:232:42: note: in expansion of macro ‘rte_ring’
 void rte_ring_dump(FILE *f, const struct rte_ring *r);
                                          ^~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:260:1: error: invalid storage class for function ‘__rte_ring_mp_do_enqueue’
 __rte_ring_mp_do_enqueue(struct rte_ring *r, void * const *obj_table,
 ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:369:1: error: invalid storage class for function ‘__rte_ring_sp_do_enqueue’
 __rte_ring_sp_do_enqueue(struct rte_ring *r, void * const *obj_table,
 ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:453:1: error: invalid storage class for function ‘__rte_ring_mc_do_dequeue’
 __rte_ring_mc_do_dequeue(struct rte_ring *r, void **obj_table,
 ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:552:1: error: invalid storage class for function ‘__rte_ring_sc_do_dequeue’
 __rte_ring_sc_do_dequeue(struct rte_ring *r, void **obj_table,
 ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:614:1: error: invalid storage class for function ‘rte_ring_mp_enqueue_bulk’
 rte_ring_mp_enqueue_bulk(struct rte_ring *r, void * const *obj_table,
 ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:636:1: error: invalid storage class for function ‘rte_ring_sp_enqueue_bulk’
 rte_ring_sp_enqueue_bulk(struct rte_ring *r, void * const *obj_table,
 ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:662:1: error: invalid storage class for function ‘rte_ring_enqueue_bulk’
 rte_ring_enqueue_bulk(struct rte_ring *r, void * const *obj_table,
 ^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:688:1: error: invalid storage class for function ‘rte_ring_mp_enqueue’
 rte_ring_mp_enqueue(struct rte_ring *r, void *obj)
 ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:707:1: error: invalid storage class for function ‘rte_ring_sp_enqueue’
 rte_ring_sp_enqueue(struct rte_ring *r, void *obj)
 ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:730:1: error: invalid storage class for function ‘rte_ring_enqueue’
 rte_ring_enqueue(struct rte_ring *r, void *obj)
 ^~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:756:1: error: invalid storage class for function ‘rte_ring_mc_dequeue_bulk’
 rte_ring_mc_dequeue_bulk(struct rte_ring *r, void **obj_table, unsigned n)
 ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:777:1: error: invalid storage class for function ‘rte_ring_sc_dequeue_bulk’
 rte_ring_sc_dequeue_bulk(struct rte_ring *r, void **obj_table, unsigned n)
 ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:801:1: error: invalid storage class for function ‘rte_ring_dequeue_bulk’
 rte_ring_dequeue_bulk(struct rte_ring *r, void **obj_table, unsigned n)
 ^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:825:1: error: invalid storage class for function ‘rte_ring_mc_dequeue’
 rte_ring_mc_dequeue(struct rte_ring *r, void **obj_p)
 ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:843:1: error: invalid storage class for function ‘rte_ring_sc_dequeue’
 rte_ring_sc_dequeue(struct rte_ring *r, void **obj_p)
 ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:865:1: error: invalid storage class for function ‘rte_ring_dequeue’
 rte_ring_dequeue(struct rte_ring *r, void **obj_p)
 ^~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:883:1: error: invalid storage class for function ‘rte_ring_full’
 rte_ring_full(const struct rte_ring *r)
 ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:900:1: error: invalid storage class for function ‘rte_ring_empty’
 rte_ring_empty(const struct rte_ring *r)
 ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:916:1: error: invalid storage class for function ‘rte_ring_count’
 rte_ring_count(const struct rte_ring *r)
 ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:932:1: error: invalid storage class for function ‘rte_ring_free_count’
 rte_ring_free_count(const struct rte_ring *r)
 ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:945:1: warning: nested extern declaration of ‘rte_ring_list_dump’ [-Wnested-externs]
 void rte_ring_list_dump(FILE *f);
 ^~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:100:18: warning: nested extern declaration of ‘rte_ring_lookup’ [-Wnested-externs]
 #define rte_ring rte_void_ring
                  ^
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:957:8: note: in expansion of macro ‘rte_ring’
 struct rte_ring *rte_ring_lookup(const char *name);
        ^~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:975:1: error: invalid storage class for function ‘rte_ring_mp_enqueue_burst’
 rte_ring_mp_enqueue_burst(struct rte_ring *r, void * const *obj_table,
 ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:994:1: error: invalid storage class for function ‘rte_ring_sp_enqueue_burst’
 rte_ring_sp_enqueue_burst(struct rte_ring *r, void * const *obj_table,
 ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:1017:1: error: invalid storage class for function ‘rte_ring_enqueue_burst’
 rte_ring_enqueue_burst(struct rte_ring *r, void * const *obj_table,
 ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:1044:1: error: invalid storage class for function ‘rte_ring_mc_dequeue_burst’
 rte_ring_mc_dequeue_burst(struct rte_ring *r, void **obj_table, unsigned n)
 ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:1064:1: error: invalid storage class for function ‘rte_ring_sc_dequeue_burst’
 rte_ring_sc_dequeue_burst(struct rte_ring *r, void **obj_table, unsigned n)
 ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:1086:1: error: invalid storage class for function ‘rte_ring_dequeue_burst’
 rte_ring_dequeue_burst(struct rte_ring *r, void **obj_table, unsigned n)
 ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:80:0:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_tailq.h:151:10: error: invalid storage class for function ‘tailqinitfn_rte_ring_tailq’
 RTE_INIT(tailqinitfn_ ##t); \
          ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_eal.h:262:48: note: in definition of macro ‘RTE_INIT’
 static void __attribute__((constructor, used)) func(void)
                                                ^~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:95:1: note: in expansion of macro ‘EAL_REGISTER_TAILQ’
 EAL_REGISTER_TAILQ(rte_ring_tailq)
 ^~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_eal_memconfig.h:37:0,
                 from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:81:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_tailq.h:152:13: error: invalid storage class for function ‘tailqinitfn_rte_ring_tailq’
 static void tailqinitfn_ ##t(void) \
             ^
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:95:1: note: in expansion of macro ‘EAL_REGISTER_TAILQ’
 EAL_REGISTER_TAILQ(rte_ring_tailq)
 ^~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:105:1: error: static declaration of ‘rte_ring_init’ follows non-static declaration
 rte_ring_init(struct rte_ring *r, const char *name, unsigned count,
 ^~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:0:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:152:5: note: previous declaration of ‘rte_ring_init’ was here
 int rte_ring_init(struct rte_ring *r, const char *name, unsigned count,
     ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:113:1: error: static declaration of ‘rte_ring_create’ follows non-static declaration
 rte_ring_create(const char *name, unsigned count, int socket_id,
 ^~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:0:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:194:18: note: previous declaration of ‘rte_ring_create’ was here
 struct rte_ring *rte_ring_create(const char *name, unsigned count,
                  ^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_ring_create’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:116:9: warning: implicit declaration of function ‘rte_void_ring_create’ [-Wimplicit-function-declaration]
  return rte_void_ring_create(name, count, socket_id, flags);
         ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:116:2: warning: nested extern declaration of ‘rte_void_ring_create’ [-Wnested-externs]
  return rte_void_ring_create(name, count, socket_id, flags);
  ^~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:116:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
  return rte_void_ring_create(name, count, socket_id, flags);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_void_ring_init’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:121:1: error: static declaration of ‘rte_ring_free’ follows non-static declaration
 rte_ring_free(struct rte_ring *r)
 ^~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:0:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:202:6: note: previous declaration of ‘rte_ring_free’ was here
 void rte_ring_free(struct rte_ring *r);
      ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_ring_free’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:123:2: warning: implicit declaration of function ‘rte_void_ring_free’ [-Wimplicit-function-declaration]
  rte_void_ring_free(r);
  ^~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:123:2: warning: nested extern declaration of ‘rte_void_ring_free’ [-Wnested-externs]
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_void_ring_init’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:131:1: error: static declaration of ‘rte_ring_set_water_mark’ follows non-static declaration
 rte_ring_set_water_mark(struct rte_ring *r, unsigned count)
 ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:0:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:222:5: note: previous declaration of ‘rte_ring_set_water_mark’ was here
 int rte_ring_set_water_mark(struct rte_ring *r, unsigned count);
     ^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_ring_set_water_mark’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:133:9: warning: implicit declaration of function ‘rte_void_ring_set_water_mark’ [-Wimplicit-function-declaration]
  return rte_void_ring_set_water_mark(r, count);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:133:2: warning: nested extern declaration of ‘rte_void_ring_set_water_mark’ [-Wnested-externs]
  return rte_void_ring_set_water_mark(r, count);
  ^~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_void_ring_init’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:138:1: error: static declaration of ‘rte_ring_dump’ follows non-static declaration
 rte_ring_dump(FILE *f, const struct rte_ring *r)
 ^~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:0:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:232:6: note: previous declaration of ‘rte_ring_dump’ was here
 void rte_ring_dump(FILE *f, const struct rte_ring *r);
      ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_ring_dump’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:140:2: warning: implicit declaration of function ‘rte_void_ring_dump’ [-Wimplicit-function-declaration]
  rte_void_ring_dump(f, r);
  ^~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:140:2: warning: nested extern declaration of ‘rte_void_ring_dump’ [-Wnested-externs]
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_void_ring_init’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:145:1: error: static declaration of ‘rte_ring_list_dump’ follows non-static declaration
 rte_ring_list_dump(FILE *f)
 ^~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:0:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:945:6: note: previous declaration of ‘rte_ring_list_dump’ was here
 void rte_ring_list_dump(FILE *f);
      ^~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_ring_list_dump’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:147:2: warning: implicit declaration of function ‘rte_void_ring_list_dump’ [-Wimplicit-function-declaration]
  rte_void_ring_list_dump(f);
  ^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:147:2: warning: nested extern declaration of ‘rte_void_ring_list_dump’ [-Wnested-externs]
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_void_ring_init’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:152:1: error: static declaration of ‘rte_ring_lookup’ follows non-static declaration
 rte_ring_lookup(const char *name)
 ^~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:0:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:957:18: note: previous declaration of ‘rte_ring_lookup’ was here
 struct rte_ring *rte_ring_lookup(const char *name);
                  ^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_ring_lookup’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:154:9: warning: implicit declaration of function ‘rte_void_ring_lookup’ [-Wimplicit-function-declaration]
  return rte_void_ring_lookup(name);
         ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:154:2: warning: nested extern declaration of ‘rte_void_ring_lookup’ [-Wnested-externs]
  return rte_void_ring_lookup(name);
  ^~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:154:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
  return rte_void_ring_lookup(name);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c: In function ‘rte_void_ring_init’:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:155:1: error: expected declaration or statement at end of input
 }
 ^
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:96:0,
                 from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_typed_ring.h:1226:6: warning: unused variable ‘ret’ [-Wunused-variable]
  int ret;
      ^~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:155:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
In file included from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.h:96:0,
                 from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:90:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_typed_ring.h:1223:36: warning: unused parameter ‘r’ [-Wunused-parameter]
 TYPE(ring_init)(struct TYPE(ring) *r, const char *name, unsigned int count,
                                    ^
/home/patchWorkOrg/compilation/lib/librte_ring/rte_typed_ring.h:1223:51: warning: unused parameter ‘name’ [-Wunused-parameter]
 TYPE(ring_init)(struct TYPE(ring) *r, const char *name, unsigned int count,
                                                   ^~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_typed_ring.h:1223:70: warning: unused parameter ‘count’ [-Wunused-parameter]
 TYPE(ring_init)(struct TYPE(ring) *r, const char *name, unsigned int count,
                                                                      ^~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_typed_ring.h:1224:15: warning: unused parameter ‘flags’ [-Wunused-parameter]
  unsigned int flags)
               ^~~~~
At top level:
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:152:1: warning: ‘rte_ring_lookup’ defined but not used [-Wunused-function]
 rte_ring_lookup(const char *name)
 ^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:145:1: warning: ‘rte_ring_list_dump’ defined but not used [-Wunused-function]
 rte_ring_list_dump(FILE *f)
 ^~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:138:1: warning: ‘rte_ring_dump’ defined but not used [-Wunused-function]
 rte_ring_dump(FILE *f, const struct rte_ring *r)
 ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:131:1: warning: ‘rte_ring_set_water_mark’ defined but not used [-Wunused-function]
 rte_ring_set_water_mark(struct rte_ring *r, unsigned count)
 ^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:121:1: warning: ‘rte_ring_free’ defined but not used [-Wunused-function]
 rte_ring_free(struct rte_ring *r)
 ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:113:1: warning: ‘rte_ring_create’ defined but not used [-Wunused-function]
 rte_ring_create(const char *name, unsigned count, int socket_id,
 ^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:105:1: warning: ‘rte_ring_init’ defined but not used [-Wunused-function]
 rte_ring_init(struct rte_ring *r, const char *name, unsigned count,
 ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:99:1: warning: ‘rte_ring_get_memsize’ defined but not used [-Wunused-function]
 rte_ring_get_memsize(unsigned count)
 ^~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_eal_memconfig.h:37:0,
                 from /home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:81:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_tailq.h:152:13: warning: ‘tailqinitfn_rte_ring_tailq’ defined but not used [-Wunused-function]
 static void tailqinitfn_ ##t(void) \
             ^
/home/patchWorkOrg/compilation/lib/librte_ring/rte_ring.c:95:1: note: in expansion of macro ‘EAL_REGISTER_TAILQ’
 EAL_REGISTER_TAILQ(rte_ring_tailq)
 ^~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_ring.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_ring' 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


DPDK STV team

                 reply	other threads:[~2017-01-12  2:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='e624e2$107rjph@orsmga001.jf.intel.com' \
    --to=sys_stv@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).