DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] dpdk and dpdk-next-net build is broken on RHEL 7.4
@ 2018-04-16 12:24 Andrew Rybchenko
  2018-04-16 13:05 ` Pavan Nikhilesh
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Rybchenko @ 2018-04-16 12:24 UTC (permalink / raw)
  To: Pavan Nikhilesh, Jerin Jacob; +Cc: dev, Thomas Monjalon

Hi,

dpdk and dpdk-next-net build is broken on RHEL 7.4.
It looks like after pull from next-eventdev.

== Build app/test-eventdev
   CC test_perf_common.o
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c: 
In function ‘perf_event_timer_produ
cer’:
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:99:3: 
error: missing initializer for
  field ‘priority’ of ‘struct <anonymous>’ 
[-Werror=missing-field-initializers]
    .ev.sched_type = t->opt->sched_type_list[0],
    ^
In file included from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
                  from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
/home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1049:12: 
n
ote: ‘priority’ declared here
     uint8_t priority;
             ^
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:100:3: 
error: missing initializer fo
r field ‘priority’ of ‘struct <anonymous>’ 
[-Werror=missing-field-initializers]
    .ev.priority = RTE_EVENT_DEV_PRIORITY_NORMAL,
    ^
In file included from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
                  from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
/home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1049:12: 
n
ote: ‘priority’ declared here
     uint8_t priority;
             ^
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:101:3: 
error: missing initializer fo
r field ‘impl_opaque’ of ‘struct <anonymous>’ 
[-Werror=missing-field-initializers]
    .ev.event_type =  RTE_EVENT_TYPE_TIMER,
    ^
In file included from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
                  from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
/home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1059:12: 
n
ote: ‘impl_opaque’ declared here
     uint8_t impl_opaque;
             ^
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:102:3: 
error: missing initializer fo
r field ‘impl_opaque’ of ‘struct <anonymous>’ 
[-Werror=missing-field-initializers]
    .state = RTE_EVENT_TIMER_NOT_ARMED,
    ^
In file included from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
                  from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
/home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1059:12: 
n
ote: ‘impl_opaque’ declared here
     uint8_t impl_opaque;
             ^
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c: 
In function ‘perf_event_timer_produ
cer_burst’:
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:161:3: 
error: missing initializer fo
r field ‘priority’ of ‘struct <anonymous>’ 
[-Werror=missing-field-initializers]
    .ev.sched_type = t->opt->sched_type_list[0],
    ^
In file included from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
                  from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
/home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1049:12: 
n
ote: ‘priority’ declared here
     uint8_t priority;
             ^
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:162:3: 
error: missing initializer fo
r field ‘priority’ of ‘struct <anonymous>’ 
[-Werror=missing-field-initializers]
    .ev.priority = RTE_EVENT_DEV_PRIORITY_NORMAL,
    ^
In file included from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
                  from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
/home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1049:12: 
note: ‘priority’ declared here
     uint8_t priority;
             ^
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:163:3: 
error: missing initializer for field ‘impl_opaque’ of ‘struct 
<anonymous>’ [-Werror=missing-field-initializers]
    .ev.event_type =  RTE_EVENT_TYPE_TIMER,
    ^
In file included from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
                  from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
/home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1059:12: 
note: ‘impl_opaque’ declared here
     uint8_t impl_opaque;
             ^
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:164:3: 
error: missing initializer for field ‘impl_opaque’ of ‘struct 
<anonymous>’ [-Werror=missing-field-initializers]
    .state = RTE_EVENT_TIMER_NOT_ARMED,
    ^
In file included from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
                  from 
/home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
/home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1059:12: 
note: ‘impl_opaque’ declared here
     uint8_t impl_opaque;
             ^
cc1: all warnings being treated as errors
make[4]: *** [test_perf_common.o] Error 1
make[3]: *** [test-eventdev] Error 2
make[2]: *** [app] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)

Andrew.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] dpdk and dpdk-next-net build is broken on RHEL 7.4
  2018-04-16 12:24 [dpdk-dev] dpdk and dpdk-next-net build is broken on RHEL 7.4 Andrew Rybchenko
@ 2018-04-16 13:05 ` Pavan Nikhilesh
  0 siblings, 0 replies; 2+ messages in thread
From: Pavan Nikhilesh @ 2018-04-16 13:05 UTC (permalink / raw)
  To: Andrew Rybchenko, Thomas Monjalon, Jerin Jacob; +Cc: dev

Hi Andrew,

Thanks for reporting the issue, will fix it and send out a patch soon.

Pavan

On Mon, Apr 16, 2018 at 03:24:21PM +0300, Andrew Rybchenko wrote:
> Hi,
>
> dpdk and dpdk-next-net build is broken on RHEL 7.4.
> It looks like after pull from next-eventdev.
>
> == Build app/test-eventdev
>   CC test_perf_common.o
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c: In
> function ‘perf_event_timer_produ
> cer’:
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:99:3:
> error: missing initializer for
>  field ‘priority’ of ‘struct <anonymous>’
> [-Werror=missing-field-initializers]
>    .ev.sched_type = t->opt->sched_type_list[0],
>    ^
> In file included from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
>                  from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
> /home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1049:12:
> n
> ote: ‘priority’ declared here
>     uint8_t priority;
>             ^
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:100:3:
> error: missing initializer fo
> r field ‘priority’ of ‘struct <anonymous>’
> [-Werror=missing-field-initializers]
>    .ev.priority = RTE_EVENT_DEV_PRIORITY_NORMAL,
>    ^
> In file included from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
>                  from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
> /home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1049:12:
> n
> ote: ‘priority’ declared here
>     uint8_t priority;
>             ^
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:101:3:
> error: missing initializer fo
> r field ‘impl_opaque’ of ‘struct <anonymous>’
> [-Werror=missing-field-initializers]
>    .ev.event_type =  RTE_EVENT_TYPE_TIMER,
>    ^
> In file included from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
>                  from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
> /home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1059:12:
> n
> ote: ‘impl_opaque’ declared here
>     uint8_t impl_opaque;
>             ^
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:102:3:
> error: missing initializer fo
> r field ‘impl_opaque’ of ‘struct <anonymous>’
> [-Werror=missing-field-initializers]
>    .state = RTE_EVENT_TIMER_NOT_ARMED,
>    ^
> In file included from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
>                  from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
> /home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1059:12:
> n
> ote: ‘impl_opaque’ declared here
>     uint8_t impl_opaque;
>             ^
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c: In
> function ‘perf_event_timer_produ
> cer_burst’:
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:161:3:
> error: missing initializer fo
> r field ‘priority’ of ‘struct <anonymous>’
> [-Werror=missing-field-initializers]
>    .ev.sched_type = t->opt->sched_type_list[0],
>    ^
> In file included from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
>                  from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
> /home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1049:12:
> n
> ote: ‘priority’ declared here
>     uint8_t priority;
>             ^
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:162:3:
> error: missing initializer fo
> r field ‘priority’ of ‘struct <anonymous>’
> [-Werror=missing-field-initializers]
>    .ev.priority = RTE_EVENT_DEV_PRIORITY_NORMAL,
>    ^
> In file included from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
>                  from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
> /home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1049:12:
> note: ‘priority’ declared here
>     uint8_t priority;
>             ^
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:163:3:
> error: missing initializer for field ‘impl_opaque’ of ‘struct <anonymous>’
> [-Werror=missing-field-initializers]
>    .ev.event_type =  RTE_EVENT_TYPE_TIMER,
>    ^
> In file included from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
>                  from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
> /home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1059:12:
> note: ‘impl_opaque’ declared here
>     uint8_t impl_opaque;
>             ^
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:164:3:
> error: missing initializer for field ‘impl_opaque’ of ‘struct <anonymous>’
> [-Werror=missing-field-initializers]
>    .state = RTE_EVENT_TIMER_NOT_ARMED,
>    ^
> In file included from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.h:14:0,
>                  from
> /home/arybchik/src/dpdk-next-net/app/test-eventdev/test_perf_common.c:5:
> /home/arybchik/build/dpdk-next-net.hpdl160g9b.x86_64-native-linuxapp-gcc/include/rte_eventdev.h:1059:12:
> note: ‘impl_opaque’ declared here
>     uint8_t impl_opaque;
>             ^
> cc1: all warnings being treated as errors
> make[4]: *** [test_perf_common.o] Error 1
> make[3]: *** [test-eventdev] Error 2
> make[2]: *** [app] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>
> $ gcc --version
> gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
>
> Andrew.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-16 13:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16 12:24 [dpdk-dev] dpdk and dpdk-next-net build is broken on RHEL 7.4 Andrew Rybchenko
2018-04-16 13:05 ` Pavan Nikhilesh

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).