DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [BUG] PMD null driver build fails
@ 2015-02-27  0:44 Stephen Hemminger
  2015-02-27 23:27 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2015-02-27  0:44 UTC (permalink / raw)
  To: Tetsuya Mukawa; +Cc: dev

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]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [BUG] PMD null driver build fails
  2015-02-27  0:44 [dpdk-dev] [BUG] PMD null driver build fails Stephen Hemminger
@ 2015-02-27 23:27 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2015-02-27 23:27 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev

2015-02-26 16:44, Stephen Hemminger:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-27 23:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-27  0:44 [dpdk-dev] [BUG] PMD null driver build fails Stephen Hemminger
2015-02-27 23:27 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).