2015-02-26 12:21, Mcnamara, John: > Hi, > > The HEAD doesn't compile with gcc 4.7.2: > > $ git clone http://dpdk.org/git/dpdk > $ cd dpdk > $ make T=x86_64-native-linuxapp-gcc -j install > > ... > == Build lib/librte_pipeline > SYMLINK-FILE include/rte_pipeline.h > CC rte_pipeline.o > /tmp/dpdk/lib/librte_pmd_null/rte_eth_null.c: In function 'eth_stats_get': > > /tmp/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: > error: array subscript is above array bounds [-Werror=array-bounds] > /tmp/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: > error: array subscript is above array bounds [-Werror=array-bounds] > /tmp/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: > error: array subscript is above array bounds [-Werror=array-bounds] > ... > > cc1: all warnings being treated as errors > make[5]: *** [rte_eth_null.o] Error 1 > make[4]: *** [librte_pmd_null] Error 2 > > > The following commit introduced this issue: > > $ git bisect good > c743e50c475f73edf78e5ba26445d7c6ea217f40 is the first bad commit > commit c743e50c475f73edf78e5ba26445d7c6ea217f40 > Author: Tetsuya Mukawa <mukawa at igel.co.jp> > Date: Mon Feb 23 14:12:34 2015 +0900 > > null: new poll mode driver > > > I don't see the issue with gcc 4.9.
Fixed: http://dpdk.org/browse/dpdk/commit/?id=e34550c8b97826