From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH v3 1/5] pmdinfogen: fix cross compilation for ARM BE Date: Fri, 12 Jan 2018 17:27:48 +0100 Message-ID: <8474986.jiRWk0KP0p@xps> References: <1513169578-28440-1-git-send-email-hemant.agrawal@nxp.com> <1513583809-3926-1-git-send-email-hemant.agrawal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, dev@dpdk.org, bruce.richardson@intel.com, nhorman@tuxdriver.com, Jun Yang To: Hemant Agrawal Return-path: In-Reply-To: <1513583809-3926-1-git-send-email-hemant.agrawal@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 18/12/2017 08:56, Hemant Agrawal: > Cross compiling DPDK for BE mode on ARM results into errors > "PMDINFO portal/dpaa2_hw_dpio.o.pmd.c No drivers registered" > > The original code assumes the sh_size to be 32 bit, while it can > be Elf32_Word or Elf64_Xword based on 32bit or 64 bit systems. > > This patches replaces the sh_size conversion routines to use ADDR_SIZE > > Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility") > Cc: Neil Horman > Cc: stable@dpdk.org > > Signed-off-by: Jun Yang > Signed-off-by: Hemant Agrawal > Acked-by: Bruce Richardson > Acked-by: Neil Horman Series applied, thanks