From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id E71F3A04E0;
	Thu, 28 Nov 2019 12:04:45 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 664D62BF9;
	Thu, 28 Nov 2019 12:04:45 +0100 (CET)
Received: from mail-io1-f65.google.com (mail-io1-f65.google.com
 [209.85.166.65]) by dpdk.org (Postfix) with ESMTP id DD28D293C;
 Thu, 28 Nov 2019 12:04:43 +0100 (CET)
Received: by mail-io1-f65.google.com with SMTP id l17so2296940ioj.3;
 Thu, 28 Nov 2019 03:04:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=zHPwJ9CnvTy+IeRg35aNmrSLxKvq3fuAZjcLPNOdIJQ=;
 b=Hg77HI5Rr2N5WRJbtfehfpTR/S4Ek2Av5+/ySunlLkd/ZOEyFJPs76a7Q4dMNnNMj/
 oeEUJhpW6NRX5l4+AJd64JPoPDVB0nCK//Bj65HaWJKsaHGFUXLHPE5HmxiJ854dtD6Y
 0AwMrgkuSNGITCKJXK+9zCkxRES/bCu8cpLAMWNRShiGVoZve05meDFFXQH6GCPyKKb5
 GVC7hzj0gyVd8p19rHJBdSWZ48lzt2vCamf4VDqNSaK8KsRldRcBGWnKYolCnyK7l7kN
 jrwOYu+cbLS7c8aIAk+MXpCvlwR6v3DZ+qZw1BSkH07mExwdMcR+Z9+FVVu5rKgRO+hh
 PO7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=zHPwJ9CnvTy+IeRg35aNmrSLxKvq3fuAZjcLPNOdIJQ=;
 b=gDw04miTSio0KL2f57+qdduHFQ5P/RvjeF740KSksprPiEDcEk+ByM8beQIQ9k7NOL
 kjYMiCLA2ehOuXBpAyKAacehWRXy4D8GKcMsKjN5D9AWC07ISd1CsvTnJPzGfnnPZ0B6
 X603R9BvFRk87s1XmP0fUM29WvyXvABR4HsmOsDVcWc2hamFPB8H38jwx9Ym3cdeciAK
 pNLv2Ej03kM35U3uBSWPx7HFwOX0bATJKhrvA0e5s7mbbj2K6g0HgpyINL7cmxPW917W
 2MngzvdhFbg7hA1Ntjc3ygWv4z/OggWC0uhsxOd3hssxk1E2LwdUMhMdjkwWuFlQDgTz
 fXWw==
X-Gm-Message-State: APjAAAU081lAAQtreMdCCPVzcLWfuafdToCPsrzP3RlNsu5bQXnlq0VV
 c+fAnJS/0ShK+SwRlDmxW+p/X7q+qEwHQ2ipS5Q=
X-Google-Smtp-Source: APXvYqxH9Sm1h1kXNQ5TzKU1j/Vg0z/mePLX7Rqxw44dQ5d9UDlW+7UUJ+L3QB6mBGnXE7mvaLE+YZdCUecj2KP5aa0=
X-Received: by 2002:a6b:7614:: with SMTP id g20mr25545527iom.294.1574939080715; 
 Thu, 28 Nov 2019 03:04:40 -0800 (PST)
MIME-Version: 1.0
References: <1570848014-20125-1-git-send-email-joyce.kong@arm.com>
 <1574922779-14683-1-git-send-email-joyce.kong@arm.com>
In-Reply-To: <1574922779-14683-1-git-send-email-joyce.kong@arm.com>
From: Jerin Jacob <jerinjacobk@gmail.com>
Date: Thu, 28 Nov 2019 20:04:24 +0900
Message-ID: <CALBAE1N=ciwSpqpmz+Zzrcnke0rRpyfOWO4yLXUY-JryELHN8Q@mail.gmail.com>
To: Joyce Kong <joyce.kong@arm.com>
Cc: dpdk-dev <dev@dpdk.org>, nd <nd@arm.com>,
 Thomas Monjalon <thomas@monjalon.net>, Jerin Jacob <jerinj@marvell.com>,
 Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>, 
 Gavin Hu <gavin.hu@arm.com>, dpdk stable <stable@dpdk.org>
Content-Type: text/plain; charset="UTF-8"
Subject: Re: [dpdk-dev] [PATCH v3] doc: update cross build tool version
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

On Thu, Nov 28, 2019 at 3:33 PM Joyce Kong <joyce.kong@arm.com> wrote:
>
> Update the cross build tool version to gcc8.3.
>
> Fixes: 01add9da25cd ("doc: add cross compiling guide")
> Cc: stable@dpdk.org
>
> Signed-off-by: Joyce Kong <joyce.kong@arm.com>
> Reviewed-by: Gavin Hu <gavin.hu@arm.com>

With the following suggested tile change:
doc: update arm64 cross build tool version

Acked-by: Jerin Jacob <jerinj@marvell.com>



> ---
>
> v3:
> 1. Remove the fix for numactl issue, Ali Alnubani has a similar fix http://patches.dpdk.org/patch/63355/.
> 2. Some minor changes in description.
>
>  doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 16 +++++++++-------
>  1 file changed, 9 insertions(+), 7 deletions(-)
>
> diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> index e799b0b..d8b9dea 100644
> --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> @@ -16,19 +16,21 @@ Obtain the cross tool chain
>  The latest cross compile tool chain can be downloaded from:
>  https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads.
>
> -Following is the step to get the version 8.2, latest one at the time of this writing.
> +It is always recommended to check and get the latest compiler tool from the page and use
> +it to generate better code. As of this writing 8.3-2019.03 is the newest, the following
> +description is an example of this version.
>
>  .. code-block:: console
>
> -   wget https://developer.arm.com/-/media/Files/downloads/gnu-a/8.2-2019.01/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu.tar.xz
> +   wget https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz
>
>  Unzip and add into the PATH
>  ---------------------------
>
>  .. code-block:: console
>
> -   tar -xvf gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu.tar.xz
> -   export PATH=$PATH:<cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/bin
> +   tar -xvf gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz
> +   export PATH=$PATH:<cross_install_dir>/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin
>
>  .. note::
>
> @@ -71,9 +73,9 @@ Copy the NUMA header files and lib to the cross compiler's directories:
>
>  .. code-block:: console
>
> -   cp <numa_install_dir>/include/numa*.h <cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/bin/../aarch64-linux-gnu/libc/usr/include/
> -   cp <numa_install_dir>/lib/libnuma.a <cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.2/
> -   cp <numa_install_dir>/lib/libnuma.so <cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.2/
> +   cp <numa_install_dir>/include/numa*.h <cross_install_dir>/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/aarch64-linux-gnu/libc/usr/include/
> +   cp <numa_install_dir>/lib/libnuma.a <cross_install_dir>/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.3.0/
> +   cp <numa_install_dir>/lib/libnuma.so <cross_install_dir>/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.3.0/
>
>  .. _configure_and_cross_compile_dpdk_build:
>
> --
> 2.7.4
>