Skip to contentSkip to conversation

PMD null driver build fails

BUG Stephen Hemminger 2 participants 2 messages Feb 27, 2015

lore
Share & tools
lore
#0 lore raw

Null driver fails on Debian Wheezy (with backports) which uses GCC 4.7

== Build lib/librte_pmd_null
CC rte_eth_null.o
/home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c: In function ‘eth_stats_get’:
/home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: error: array subscript is above array bounds [-Werror=array-bounds] /home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: error: array subscript is above array bounds [-Werror=array-bounds] /home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: error: array subscript is above array bounds [-Werror=array-bounds]

#1 lore raw

2015-02-26 16:44, Stephen Hemminger:

Quoted 10 lines

Null driver fails on Debian Wheezy (with backports) which uses GCC 4.7

== Build lib/librte_pmd_null
CC rte_eth_null.o
/home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c: In function ‘eth_stats_get’:
/home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: error: array subscript is above array bounds [-Werror=array-bounds] /home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: error: array subscript is above array bounds [-Werror=array-bounds] /home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: error: array subscript is above array bounds [-Werror=array-bounds]

Fixed: http://dpdk.org/browse/dpdk/commit/?id=e34550c8b97826

Thanks