Re: [dpdk-dev] [PATCH 1/3] ring: fix build for gcc O1 optimization

2020-05-07 Thread Ananyev, Konstantin
> > Can be reproduced with "make EXTRA_CFLAGS='-O1'" command using > gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2) > > Two build errors: > 1) > In file included from .../build/include/rte_ring_elem.h:1093, > from .../lib/librte_rcu/rte_rcu_qsbr.c:21: > ../lib/librte_rcu/rte_rcu_qs

[dpdk-dev] [PATCH 1/3] ring: fix build for gcc O1 optimization

2020-05-07 Thread Ferruh Yigit
Can be reproduced with "make EXTRA_CFLAGS='-O1'" command using gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2) Two build errors: 1) In file included from .../build/include/rte_ring_elem.h:1093, from .../lib/librte_rcu/rte_rcu_qsbr.c:21: ../lib/librte_rcu/rte_rcu_qsbr.c: In function ‘rt