From patchwork Thu Nov 2 10:08:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 117763 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1964403qgn; Thu, 2 Nov 2017 03:09:57 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QzNgsWsCT1iR47/19KBw3UJEwourA7FarcfeRV9PbVbjKCTrBnDrsRAd8+MiHEqq/RY3qM X-Received: by 10.28.105.142 with SMTP id z14mr1232376wmh.41.1509617397752; Thu, 02 Nov 2017 03:09:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509617397; cv=none; d=google.com; s=arc-20160816; b=pTGERqFqvN+DsyjTd8tp1X2VmEE8iPclShI7Lco4xDgiwU+y9qD2k3KaPxrNW7+RR8 olILJCAZ6gTonOwW+yaPwjJ3OQHU1Mu6Sk3yrwlAv5GY9BJyLx9kYjtp9LPeq58x9pT7 OKZoxy+kgqmW5dJWvQT1lJ2o/meVW8eNksTauRDjHkk/rR/fyK3rQZPjwXG8D+l8WNQy wJl8AOQB8cjkC/I4wNm1lvpl65lpy2MutjWAsqbJOSPrTrrn06vb2/kbkpK22Wzx4v37 kVUDkeRz3jNkDBUq3+QBVQmRbrkNA3l6NpqXjoX0hnVIO6r5987yVlumS6f2jdKBOg6N CTjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:cc:to:from :arc-authentication-results; bh=GP+MlyutaZhkIwi3lP7tKUJOiU+Xcrg60/bAoZIh20w=; b=OE2e8c/oveHXRSj7xM698V6k7OIkbYwtrXt34p63mNqgdFwTmBzu2T1R1+QRfkwtRY Fe9jp4oafLs/+vINUMD7B8kY36P7HffbFVB/yYPW9AT+WJVxYXdxIqWS0lQsaq9EHb6c dzPtmmBgLlrSj4KjeBMyYA/MgAsC84naoM6JPFscEs7yt94Khiz+Mg+WFqr2WlnPmHs7 HadIk3wxG8kuR/OPA70maY4mVnk17FTCayHJ2uU8Tx9WBt1hiPYGvOfTEsPW0Fbs9O/h S0Ny/VuCtROCIxpR9ttJajgH9JGjTM9XXDwR8w3LrpW1m1YIwoDZcswKzSjW6P/zMOnS sVow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id 74si2508985wrm.334.2017.11.02.03.09.57; Thu, 02 Nov 2017 03:09:57 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 460401B3C9; Thu, 2 Nov 2017 11:09:50 +0100 (CET) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0059.outbound.protection.outlook.com [104.47.37.59]) by dpdk.org (Postfix) with ESMTP id 743621B3B3; Thu, 2 Nov 2017 11:09:47 +0100 (CET) Received: from MWHPR03CA0050.namprd03.prod.outlook.com (10.174.173.167) by CY4PR03MB2696.namprd03.prod.outlook.com (10.173.43.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Thu, 2 Nov 2017 10:09:43 +0000 Received: from BL2FFO11FD028.protection.gbl (2a01:111:f400:7c09::118) by MWHPR03CA0050.outlook.office365.com (2603:10b6:301:3b::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.178.6 via Frontend Transport; Thu, 2 Nov 2017 10:09:42 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD028.mail.protection.outlook.com (10.173.161.107) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.178.5 via Frontend Transport; Thu, 2 Nov 2017 10:09:42 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vA2A9bnQ031572; Thu, 2 Nov 2017 03:09:38 -0700 From: Hemant Agrawal To: CC: , Neil Horman , , Jun Yang Date: Thu, 2 Nov 2017 15:38:51 +0530 Message-ID: <1509617335-6354-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131540909827216392; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7966004)(346002)(39380400002)(376002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(106466001)(305945005)(81166006)(8676002)(81156014)(356003)(8936002)(2351001)(4326008)(97736004)(189998001)(36756003)(85426001)(33646002)(68736007)(105606002)(77096006)(50466002)(53936002)(50986999)(50226002)(54906003)(5660300001)(48376002)(104016004)(316002)(498600001)(8656006)(2906002)(16586007)(575784001)(6916009)(5003940100001)(6666003)(86362001)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2696; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD028; 1:YqdIL06ITBy0BP9ZetCXKAsDeTMzroY+jL+yPbCR+0fL85AKAJf984w/R6saYftf0E3ztTycs4OnYTTRz5BbF2YLN0JNwnBhFdeQWZL2Jvr+4+0zQZqBoDa4QW9cy716 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3c6a4228-589c-4328-d408-08d521d9d625 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603199); SRVR:CY4PR03MB2696; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2696; 3:16Mi1jy59GUqhM8esYfoS6NyrN7/iHqZdqtuNKg5Qv8m0Mo4Vwl5DtOnndKKTNgR0sWOdb9gA8BkXltyxSMaNW4cf7c4+vL0AXyDCSlrRaSJi3W8f/vSazu5ZKfoyQ62UmrMzpGHBC4rzARgbbeY2vPc+Ty/bIiBLx2znnx2+crkYKOwKkgd8a5CJ03kgHT/Ryl/NSILruZVIt0mYtx67gXGXPm7LxqN+Ip4rwyQ0VLSi0yNigoip2LwFaIrC0HimK8DzrBj+dHnEPVNqi7JbwoJsnXVY05qqEul0aMKzHUmWEtiAhcZ0+C7ok8bjdizFXf24DZ4nzHYszzXN+VMha4OtumwTyK51N6s9qT3+pY=; 25:oGYFOal+wlqvnml69PeFyAXd0ONaDsiVXdmw1KiRHDonbgSe13cQCIuZASZYZMBZcJEIIXYGFEZYEYgzHkxlwxr4n9ayhuXRUkASuXkXaDG+Z5nIAjCEOyXHDGpFYDJnNffRsjDO2JXCF6baYM+KToU9jX0+fMb60dOh8JmRhHZxB/zIYpO87EUwngYYZlqWnj56C+LvVepBvmGDn6eiyXOCMhGw3xhQVgSerspLmNU5VTZvoulRc/XnGmZuZvFXpfUH4LuDYdtmbjmBjef+B6qYgXHybApYKt7QEcugQUH4BEFA1GTy+yjhjtabyNBKgvYpEzQnHXVTbDyCaETv3Q== X-MS-TrafficTypeDiagnostic: CY4PR03MB2696: X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2696; 31:phiAIKcsC2X5m/4LnUBW/1rhjIq3m6mcJ4I0bkv2u9hxe/dJObB4s50hRhB+WnwVonlZRpz4obxSeta/Od0NJiAnGGciCIe3TSoDXfL5yvfD8rn+trgBDvN9lM2/axUK+y87NfgMWVEfkesHLM72sq/CUhgZjhUg6rQlj3R8g/vLG6iNWERJP6UUIlD5ckgJebBoXj4L0oCGxTWyYed5XwyjPcJl2IadWqltLDntRog=; 4:N+iO4R64egQXLSqVIaoQeuTKmv4vHm9TjRiHEctgSxaM9eb4o08b0wk31apbVTOyQPX9/rIUEn/XR2PsuNBikya1OkPAcs7WhDsZbNqbFXHPb8kurYu352HwalR4WglKdBYtMthyp8RzPMLvmYVN85fIVWP1Z+68SffnR79YyIGYOf3isD1UC48vfZtseS7XoN52fWQU912IJCYTJx6Y4Eq7CEAcMzo7U8x630nzIqek9vcIPMzmTf6cTqsnqV87W/wDfsxNep1JxwIbcuvRfo2tJyujLoSKQj3j0ghjo/ZkRcvkkXrpQ+gV4DiZjjzpC38hVC+rfgdDIO4dZ1+Mioq2QxnCkx2tPe3kghy4u0A= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3231020)(3002001)(6055026)(6096035)(20161123559100)(20161123561025)(20161123556025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123563025)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR03MB2696; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR03MB2696; X-Forefront-PRVS: 047999FF16 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2696; 23:AC+B3BzjgXYsuwVLpga5hvYV9CEtJbGBQkp4ugYRM?= v7BUdEVO7u93Ri7Mhgo0Uv9taHRJjvoM2M6dAzsr3uKfPi66qVv2asV8xz4U5/ujeg1x8nMTKyaYdXGCNEWF41xtYYkeV/Ga6lOhCdYve/0uBxRW9Bk2EV3FfpQNr+TWVTR+cczED+ZBVMC+fUAHI3SXsWuekvFFqPdVPpQeznVMpAIgbWHR0hHja0D4Hjdzy97XmnpgFQeCUFbiDhUoXitnxLW1Q3izYmGcdfzXeitoo7CG7LaczJXMKr+f5W+Cwy6OwQXVwlK//PuCs3pbRBRxtzTmiLZZRYstmarwN8kcc8x+DgokZ9JJ7wTuxbcWdTmjRkxs/8LZXHEvDjPViU2P8QrCTuLH9vnt8LrjCN91OQ5EOhvHuzqC+Js2boK3S5T/tz9FDBWAHdPkcp7fA6A+4mu6QM4ebxcESBobubqQoaQcaHrcaT0kdjE7uAkPYitezLioSO6GcNM4OWLiRp88KzHDPUtX0f6p2zLdjWox/FBt5WsnkWsGzQs1LKHiIuxI/wQ9ohsHyJzPtFWo2HsPz5VxcmIbHFLouZzL0Bg2I3Q8ALFdRfB6b3F8ATVbVOsMwY1jSu9ZdnS1v2Zi85J+0SiNkEtiRBZozoRvYbGWcKek7GSKInvrDw/snNi6qwicZZYQgAYtEvujnKjtrQYFmQepAQknF9k1PZWg1CcOtJ4R9Dk4G5ZsI3efU/uafd5Ymbt3jxND5JdrJhnJ+T/qckYhkXAlm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:0j67nxM3EVtVRqOvZzpfoHYRaoFaoWJgqXAUN+t0N7qfXL0WQJoG5JrV3oQVnN/M79Nc3Yrwq3BJGndplvrsYn88YiZkflgqUrILswRilY9hE8fbYMAAWSmdQLEMyOrLLlk8gtdkoolrYq1U0MHbOXYoyRVdDVA1/Yan+1edIgV8G3gE36mtJThdL4i5za5HUHcTSlKP7ho0PEIE8k5+HIBAL8HROvrgbDKK+xnd5lQC+eVMo7JvXMb3wCITBflN SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2017 10:09:42.5656 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3c6a4228-589c-4328-d408-08d521d9d625 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2696 Subject: [dpdk-dev] [PATCH 1/5] pmdinfogen: fix cross compilation for ARM BE X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" cross compiling DPDK for BE mode on ARM results into errors "PMDINFO portal/dpaa2_hw_dpio.o.pmd.c No drivers registered" 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 --- buildtools/pmdinfogen/pmdinfogen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 Acked-by: Bruce Richardson Acked-by: Neil Horman diff --git a/buildtools/pmdinfogen/pmdinfogen.c b/buildtools/pmdinfogen/pmdinfogen.c index e73fc76..9119e52 100644 --- a/buildtools/pmdinfogen/pmdinfogen.c +++ b/buildtools/pmdinfogen/pmdinfogen.c @@ -181,7 +181,7 @@ static int parse_elf(struct elf_info *info, const char *filename) sechdrs[i].sh_offset = TO_NATIVE(endian, ADDR_SIZE, sechdrs[i].sh_offset); sechdrs[i].sh_size = - TO_NATIVE(endian, 32, sechdrs[i].sh_size); + TO_NATIVE(endian, ADDR_SIZE, sechdrs[i].sh_size); sechdrs[i].sh_link = TO_NATIVE(endian, 32, sechdrs[i].sh_link); sechdrs[i].sh_info =