Re: [dpdk-dev] [PATCH 00/10] fix compilation with -Og

2017-10-06 Thread Olivier MATZ
Hi Ferruh, On Fri, Oct 06, 2017 at 01:26:17AM +0100, Ferruh Yigit wrote: > On 9/11/2017 4:13 PM, Olivier Matz wrote: > > In developer mode (RTE_DEVEL_BUILD=y) where -Werror is passed in the > > CFLAGS, the compilation fails with gcc-6.3.0 and EXTRA_CFLAGS=-Og. Some > > errors are real bugs (but no

Re: [dpdk-dev] [PATCH 00/10] fix compilation with -Og

2017-10-05 Thread Ferruh Yigit
On 9/11/2017 4:13 PM, Olivier Matz wrote: > In developer mode (RTE_DEVEL_BUILD=y) where -Werror is passed in the > CFLAGS, the compilation fails with gcc-6.3.0 and EXTRA_CFLAGS=-Og. Some > errors are real bugs (but not critical), while some are false positives > (gcc bugs?). > > The solution often

Re: [dpdk-dev] [PATCH 00/10] fix compilation with -Og

2017-09-11 Thread Bruce Richardson
On Mon, Sep 11, 2017 at 05:13:23PM +0200, Olivier Matz wrote: > In developer mode (RTE_DEVEL_BUILD=y) where -Werror is passed in the > CFLAGS, the compilation fails with gcc-6.3.0 and EXTRA_CFLAGS=-Og. Some > errors are real bugs (but not critical), while some are false positives > (gcc bugs?). >

[dpdk-dev] [PATCH 00/10] fix compilation with -Og

2017-09-11 Thread Olivier Matz
In developer mode (RTE_DEVEL_BUILD=y) where -Werror is passed in the CFLAGS, the compilation fails with gcc-6.3.0 and EXTRA_CFLAGS=-Og. Some errors are real bugs (but not critical), while some are false positives (gcc bugs?). The solution often consists in initializing a local variable to ensure t