On 6/30/2016 6:28 PM, Thomas Monjalon wrote: > 2016-06-30 17:46, Jerin Jacob: >> Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com> >> Acked-by: Olivier Matz <olivier.matz at 6wind.com> > > Applied, thanks >
Hi Jerin, This commit cause a compilation error on target i686-native-linuxapp-gcc with gcc6. Compilation error is: == Build drivers/net/virtio CC virtio_rxtx_simple.o In file included from /root/development/dpdk/build/include/rte_mempool.h:77:0, from /root/development/dpdk/drivers/net/virtio/virtio_rxtx_simple.c:46: /root/development/dpdk/drivers/net/virtio/virtio_rxtx_simple.c: In function ?virtio_xmit_pkts_simple?: /root/development/dpdk/build/include/rte_memcpy.h:551:2: error: array subscript is above array bounds [-Werror=array-bounds] rte_mov16((uint8_t *)dst + 1 * 16, (const uint8_t *)src + 1 * 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/development/dpdk/build/include/rte_memcpy.h:552:2: error: array subscript is above array bounds [-Werror=array-bounds] rte_mov16((uint8_t *)dst + 2 * 16, (const uint8_t *)src + 2 * 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/development/dpdk/build/include/rte_memcpy.h:553:2: error: array subscript is above array bounds [-Werror=array-bounds] rte_mov16((uint8_t *)dst + 3 * 16, (const uint8_t *)src + 3 * 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/development/dpdk/build/include/rte_memcpy.h:554:2: error: array subscript is above array bounds [-Werror=array-bounds] rte_mov16((uint8_t *)dst + 4 * 16, (const uint8_t *)src + 4 * 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... ... Thanks, ferruh