From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 0CAE92C17 for ; Tue, 5 Jul 2016 10:43:10 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 05 Jul 2016 01:43:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,579,1459839600"; d="scan'208";a="1001114436" Received: from nnguy21-mobl3.ccr.corp.intel.com (HELO [10.255.149.189]) ([10.255.149.189]) by fmsmga001.fm.intel.com with ESMTP; 05 Jul 2016 01:43:05 -0700 To: Thomas Monjalon , Jerin Jacob References: <1464250025-9191-1-git-send-email-jerin.jacob@caviumnetworks.com> <1467288996-6109-1-git-send-email-jerin.jacob@caviumnetworks.com> <1752001.JOCExCpW7T@xps13> Cc: dev@dpdk.org, olivier.matz@6wind.com, Pablo de Lara From: Ferruh Yigit Message-ID: <577B7317.50608@intel.com> Date: Tue, 5 Jul 2016 09:43:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1752001.JOCExCpW7T@xps13> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v3] mempool: replace c memcpy code semantics with optimized rte_memcpy X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2016 08:43:11 -0000 On 6/30/2016 6:28 PM, Thomas Monjalon wrote: > 2016-06-30 17:46, Jerin Jacob: >> Signed-off-by: Jerin Jacob >> Acked-by: Olivier Matz > > 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