Re: [dpdk-dev] [PATCH v1] app/test: zcd needs to be initialised to fix gcc compile error

2020-11-10 Thread Walsh, Conor
> From: Honnappa Nagarahalli > Sent: Monday 9 November 2020 22:44 > To: Walsh, Conor ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Chen, LingliX ; nd > ; Honnappa Nagarahalli ; > nd > Subject: RE: [PATCH v1] app/test: zcd needs to be initialised to fix gcc > compile > error > > > > > > > > > >

Re: [dpdk-dev] [PATCH v1] app/test: zcd needs to be initialised to fix gcc compile error

2020-11-09 Thread Honnappa Nagarahalli
> > > > > > > > [2339/2407] Compiling C object app/test/dpdk- > > > test.p/test_ring_mt_peek_stress_zc.c.o > > > FAILED: app/test/dpdk-test.p/test_ring_mt_peek_stress_zc.c.o > > > gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/librte_acl > > > - I../lib/librte_acl -I. -I.. -Iconfig -I.

Re: [dpdk-dev] [PATCH v1] app/test: zcd needs to be initialised to fix gcc compile error

2020-11-09 Thread Walsh, Conor
> From: Honnappa Nagarahalli > Sent: Monday 9 November 2020 17:24 > To: Walsh, Conor ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Chen, LingliX ; nd > ; Honnappa Nagarahalli ; > nd > Subject: RE: [PATCH v1] app/test: zcd needs to be initialised to fix gcc > compile > error > > > > > > > > > >

Re: [dpdk-dev] [PATCH v1] app/test: zcd needs to be initialised to fix gcc compile error

2020-11-09 Thread Honnappa Nagarahalli
> > > > > > Hi Honnappa, > > > > > > Sorry about the delayed reply. > > No problem, thank you. > > > > > The build error trace is below, the build command used was: CC=gcc > > > meson > > -- > > > optimization=1 --werror build1; ninja -C build1 I am not sure how I > > > could fix this issue witho

Re: [dpdk-dev] [PATCH v1] app/test: zcd needs to be initialised to fix gcc compile error

2020-11-09 Thread Walsh, Conor
Hi Honnappa, > From: Honnappa Nagarahalli > Sent: Monday 9 November 2020 16:45 > To: Walsh, Conor ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Chen, LingliX ; nd > ; Honnappa Nagarahalli ; > nd > Subject: RE: [PATCH v1] app/test: zcd needs to be initialised to fix gcc > compile > error > > >

Re: [dpdk-dev] [PATCH v1] app/test: zcd needs to be initialised to fix gcc compile error

2020-11-09 Thread Honnappa Nagarahalli
> > Hi Honnappa, > > Sorry about the delayed reply. No problem, thank you. > The build error trace is below, the build command used was: CC=gcc meson -- > optimization=1 --werror build1; ninja -C build1 I am not sure how I could fix > this issue without initialising zcd. > > [2339/2407] Compi

Re: [dpdk-dev] [PATCH v1] app/test: zcd needs to be initialised to fix gcc compile error

2020-11-09 Thread Walsh, Conor
Hi Honnappa, Sorry about the delayed reply. The build error trace is below, the build command used was: CC=gcc meson --optimization=1 --werror build1; ninja -C build1 I am not sure how I could fix this issue without initialising zcd. [2339/2407] Compiling C object app/test/dpdk-test.p/test_ring

Re: [dpdk-dev] [PATCH v1] app/test: zcd needs to be initialised to fix gcc compile error

2020-11-04 Thread Honnappa Nagarahalli
Hi Conor, Thanks for the patch. > > When DPDK is compiled with gcc < 9 with the optimization level set to 1 gcc > sees zcd in test_ring.h as possibly being uninitialised. To correct this > error zcd > has been initialised to {0} in test_ring_mt_peek_stress_zc.c. > > Signed-off-by: Con

[dpdk-dev] [PATCH v1] app/test: zcd needs to be initialised to fix gcc compile error

2020-11-04 Thread Conor Walsh
When DPDK is compiled with gcc < 9 with the optimization level set to 1 gcc sees zcd in test_ring.h as possibly being uninitialised. To correct this error zcd has been initialised to {0} in test_ring_mt_peek_stress_zc.c. Signed-off-by: Conor Walsh --- app/test/test_ring_mt_peek_stress_zc.c | 4 +