From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0061.outbound.protection.outlook.com [104.47.36.61]) by dpdk.org (Postfix) with ESMTP id 1FB9E4C74 for ; Wed, 30 May 2018 21:35:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=opVTGfoLLbTP1ufLQqMFHZ4PByuqdQ41QJtz7kmlJpE=; b=KRRhIkox9Cy4MB14F4uXibaNCITKEP1/HeJl4Dc/4mw3yruhzZ+VumJMJyGVZGOCqeJ3aU5t0tViQL0WCS7XTur5xI2cv9zaOaITMoVO9ZvZo/yxLSRD5xY3rW3ZerhJXbY5mN77vU6o8IWsAWJcPZnGW7wwuqmFi24yvZqokiM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by BN3PR07MB2514.namprd07.prod.outlook.com (2a01:111:e400:7bbf::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.11; Wed, 30 May 2018 19:35:50 +0000 Date: Thu, 31 May 2018 01:05:35 +0530 From: Jerin Jacob To: Gavin Hu Cc: dev@dpdk.org Message-ID: <20180530193534.GA1336@jerin> References: <1527578508-27297-1-git-send-email-gavin.hu@arm.com> <1527590616-28299-1-git-send-email-gavin.hu@arm.com> <1527590616-28299-3-git-send-email-gavin.hu@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1527590616-28299-3-git-send-email-gavin.hu@arm.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: PN1PR0101CA0037.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::23) To BN3PR07MB2514.namprd07.prod.outlook.com (2a01:111:e400:7bbf::11) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BN3PR07MB2514; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 3:d6JFlV9g8tIG/3+3JAIpNa/4gTmrcG4w1OxPsmpxBrEs3LPzFq6XqNQA1Y2F8HOtpDCu75UzwC8Po6lLtb8WenH6D7gzLeVZ6igEUFbXnMnJvQryA1RrTxDAY3yhl7izdIoFk4zm+y6bN+38PAtSK0AQ5WMuHebzbLhXy/m7VwEVNFh0hgELA7y9x9su35d5T/t7UVMznOOtB5WhnxvDbzwX6F4VdnXdtkArcHSJhqzlUztSTaqV/NOv26X70JlA; 25:8loN/NvHoqsDP2N1BL0HEJxMefHQyPjL0fjQinrh8gAwvXcR/0Rli5OOWRdm/R9/zbiDb91uCvI+8ZRzcQPin1xZwtJtpJDfkl7/K4l0YfLAWjy4BaOblxLqtvt700whbF9aHybERBQoJq98CkvoPhoE5A/Tzbfw83ReG9V7LwH/sjxoCkDcw1vad52vk5YLL0mF+RW7u1dds5kq6SCwA2LYF26sLsjSqR5N3KCnBoO0b5l6+YU2ra/o24Tbjhi19WPdfX/C+nsP1n2+SeoUzPZgVsu5uYhrwAfNItukF+O4YBdWMM/35mX/DnQ53rhaZ5nexG8YbtYKlhpScpV70w==; 31:x0Y026TvUdzBcgy+mepbRmUgP3AaEwFmgrNbZf1gOKeizevbxlY12HPkd46AIQ1fyQdLvhx7ejgdiOAskdI6qiE/NQlNxgeN7O6c5isMxSEd0YG2U8vaJN7N/V6kmmq2d54maDNnAWzfgVmFE1QWuL2Id30i9lIDl1up01yf95fk267/RZsUdyri417oFy22h0Bd3ViQLOFUp4/6yI2Tg2ExtZnJ6Utpt3U3RSusXJM= X-MS-TrafficTypeDiagnostic: BN3PR07MB2514: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 20:id+zflnM4lhb0Kc7OCbX9aEA0fLB0YIOTGKkheFpffhzx2SVG7upCOT0jhqkVxD1DtN9xAz81mWuCAPz8o2JO87O29ncWZuDA2hs+Te1ratOthuTFGijW0rkJ8JGVaCLgtRWf8zRKjimj2I5Fe5eJoPAl64rwG/CTl5BMkMXs63u9trq1ZF/2eEuAV7/Y6LebYOstGobLLGi7dyC44tnGpmvmhipBVKqju3pdqAvwY/s4wOyXJ7JAn/4EycIVzXCYhlx6z5sJ7ONI+ZAtJFBSIpCi7faC8OcYzF2YeGtPfLa5px77HCB9hQzyTrXmtggZCbp+Z/u6FGcfqhKsDl/QgtV0nTWQUopSTLR9+t9+ik29z1gKWcofhGPqlnbjEebr/+wAN1fYV0AzMDxj+2B2t5qvPQgsWIJk2SlwZzDPIpEJUZXmJRtR0jGxsl9kkOG+cBE70DEvssyb0NGSnWc9groQjTpRiy0IRjzGCmTSGVrFTLecsJXOZVl7D7g/eQq/1d1Vd8ceRrMP02EqCF0SMhdekQyI45Jw2JDmBNus46UqP15zY/NJal99T3296r63hqgS7C5jVsdF6bZbIe9/2Q+v0zxkxlRV9KK49NqToY=; 4:iYdR0jrrzFSFjrSJBYr5rysgX6Qj9ngeg0A7o48NIbVO40m3vqBHzJ7YGVOJZIRuonXZFZ0V4RrVfAeYcY7OR0vQSw8FMvz8LIjLUI9HXWVAhKMoQo2EeRx2N4pLn+XmLmaa6SiBTcZ3T8IBKIo+Y72Ww3ADtxrqIHplVgqZjbBDnmW8oyf1jMAWg3BY5VuZCPjgBjjQ47+asSuc4QsoXl/0HyhS1Asw2oFVU+4XEIRvMzBrJFG6BdhtbYHEA5u4OJnOh1gZjio/Fe5B2M8WT0mm2H6Zi2RCM6vXCe2641OT2xvpPeKVAae6ZtZp17uQ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(944501410)(52105095)(10201501046)(93006095)(149027)(150027)(6041310)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:BN3PR07MB2514; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2514; X-Forefront-PRVS: 0688BF9B46 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(346002)(396003)(366004)(376002)(189003)(199004)(13464003)(16526019)(26005)(4326008)(1076002)(316002)(47776003)(53936002)(66066001)(186003)(33656002)(229853002)(9686003)(3846002)(42882007)(23726003)(6246003)(6116002)(16586007)(97736004)(68736007)(50466002)(58126008)(25786009)(956004)(6916009)(76176011)(476003)(72206003)(6496006)(44832011)(52116002)(486006)(2906002)(386003)(6666003)(7736002)(305945005)(11346002)(55236004)(8676002)(33896004)(446003)(81166006)(33716001)(81156014)(8936002)(59450400001)(105586002)(5660300001)(55016002)(478600001)(106356001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2514; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2514; 23:4uzRTafmoJFnFdonSArQ/9mcDg4dfNxNfThqEbtdA?= =?us-ascii?Q?WortN1M71Q/F8e5TeUXGU6zAHdc0okddgS2h22Z8BJmmLgPbbf8EZAIV/T/m?= =?us-ascii?Q?v97IBOKk+y6J/usXg9p/c2JQij0Y8oJUzh50SwoD6dMVlXJUX6pX5wn3H70D?= =?us-ascii?Q?wDmaZKalWe6Vt40xnAN2JCPPyrP953DDvRSctmiGHXC7EgVnxa62tI61gny0?= =?us-ascii?Q?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e06sRW1fN5w/1?= =?us-ascii?Q?SjqrvEwlBL8tBiV8XFxztFyWbutULNczp4L0PAvHW9dkEN9HpzFo8IcOI2Ku?= =?us-ascii?Q?TTQxvF/vdECpHTnQO3AjkKTZxum6ZAAcgvwi4urDkKTxuq+j7C5VjhTUiqsI?= =?us-ascii?Q?wwyssAVcYyER2G3wl82HHnaJPZfk8APpyqng7QhLbQeHUt0ge0ODtzayxNTm?= =?us-ascii?Q?rTqNeA2Rz9ThUd5V8Jz1bFeNHXHj8OecRcl0i27Z83nH9jwCIC25OPZBUDqS?= =?us-ascii?Q?8e6x6vP2DpPdW598MmVBoOibt4=3D?= X-Microsoft-Antispam-Message-Info: LH5SOq12/+MtV06MYUDOMCKnhxFRMVlg9jDfUFpTKR7n/AF0mgohuKcs8hpLyPYOxx8VseAWl9j2NdwqAShzCDvfloUIhUHeFK5vXlSYwV8ibZIJ/DDa6tK9kVbQQ0Guy09JRD4l9OoW03CzsHgCqVDreQft4Zaw2dJQ7uv016SbVHOLCepjAHvCGY+Lat1P X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 6:NTxIhHadkvibjjnKYii48wALtLEKzNt9Fhi1+zGae0y7PpHW3QIjmAQApprYk33DKkXDbiDiNF5t/7jyJ1AEyj81QagRWeLdAW5vBAFY+RaWmAO/Tpj/BO0KN5kOQO5dnorIY3RfEYKwCSZcQyu1EzRVst/0xhXXnHuIY834BkAXLp6/KS0Uo3vf/iC0GZa+K7csQkouoZ40Ej2+SimbCcVUVnBST46+uHmPOoRgzDJg+MkQjlbV37Vkd33LdXov1QqdpRXbqAATf8Z+lOFQt38DBgGoPDFSKntvcMBtH7TQ7Yo018XlKTtN1kvOfBq096rPeKecYfPiHELZYTLW0/OsBQ/E7GPTcvOSpMOZXh0p3OigNBKbCmp1JhOasVed41ffrHiZEaaUuP8YvZEqe/RUhHdSqu9OMsz3woPsiM5eKTUdBYTcUL+t8nUe05TlxRzcniE8veiD9IM4942mMw==; 5:P46Ndovyyp90da3kK9f6oL9pfYpI6yYrzlVX35Jh44pb5yF2eVpRjeFgb0q87iLXLiIuz9keXVxoIMW+yXoM8gYAl1kG5bjn8w+PSZV3dhZXc7UI+SjBJfyCOvMDmuPaNOGliXzU2jMNp1UOvB/5rzu0gGlZ+q31uh7toqcFzhw=; 24:4oHwlNwcU/wlNe2osNHtZ//p286qaKgyuzuAV1DWMH3+OetL7aKAJM21vAsDcl6Qys7GLfEUoEfqM9JhzIi6bvzMqsiTZ/MOcdgo5fwFp3g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 7:ShCraEnEarJy3+7RW0GO1/pzwsmoTa2DhmfB5HGcIn9l2ZpBRobBO0HsAL0Hbi64XMrMK97JK6HLMw4bJyzle0EYS7aU7DHkp76o8v8yrXieg+0DyJSdPffO+c+9mEidC0x2+IXM3Wnqfy3W/20jZcVy/Wa74Pqv1NBej22k+Lbtp8mpSNlPA9A2w563pZgFml4Cc7LEdE4QOttnk6cDRbO3fhejy4Cobyrt0pabN8/r5pbIF3OdhDjD8zDhW2ym X-MS-Office365-Filtering-Correlation-Id: 2d8d8840-edd6-4fe1-bdd3-08d5c6648d9a X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2018 19:35:50.6144 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2d8d8840-edd6-4fe1-bdd3-08d5c6648d9a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2514 Subject: Re: [dpdk-dev] [PATCH v5 2/2] doc: add a guide doc for cross compiling from x86 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: , X-List-Received-Date: Wed, 30 May 2018 19:35:54 -0000 -----Original Message----- > Date: Tue, 29 May 2018 18:43:36 +0800 > From: Gavin Hu > To: dev@dpdk.org > CC: gavin.hu@arm.com > Subject: [dpdk-dev] [PATCH v5 2/2] doc: add a guide doc for cross compiling > from x86 > X-Mailer: git-send-email 2.1.4 > > + 1. EXTRA_CFLAGS and EXTRA_LDFLAGS should be added to include the NUMA headers and link the library respectively, > + if the step :ref:`argment_the_cross_toolcain_with_numa_support` was skipped therefore the toolchain was not > + argmented with NUMA support. > + > + 2. RTE_DEVEL_BUILD has to be disabled, otherwise the numa.h file gets If the warnings are from numa.h then please use -isystem instead of disabling RTE_DEVEL_BUILD. > + a lot of compiling errors of Werror=cast-qual, Werror=strict-prototypes and Werror=old-style-definition. > + An example is given below: > + > + .. code-block:: console > + > + make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n > + RTE_DEVEL_BUILD=n EXTRA_CFLAGS="-I/include" EXTRA_LDFLAGS= > + "-L/lib -lnuma" > + As discussed earlier, meson cross build instruction is missing. > diff --git a/doc/guides/linux_gsg/index.rst b/doc/guides/linux_gsg/index.rst > index 2a7bdfe..077f930 100644 > --- a/doc/guides/linux_gsg/index.rst > +++ b/doc/guides/linux_gsg/index.rst > @@ -13,6 +13,7 @@ Getting Started Guide for Linux > intro > sys_reqs > build_dpdk > + cross_build_dpdk_for_arm64 > linux_drivers > build_sample_apps > enable_func > -- > 2.1.4 >