From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 689FBA0096 for ; Mon, 8 Apr 2019 14:11:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4369C4C8F; Mon, 8 Apr 2019 14:11:42 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 88C2A2C54 for ; Mon, 8 Apr 2019 14:11:40 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Apr 2019 05:11:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,325,1549958400"; d="scan'208";a="140983090" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.35]) by fmsmga007.fm.intel.com with SMTP; 08 Apr 2019 05:11:35 -0700 Received: by (sSMTP sendmail emulation); Mon, 08 Apr 2019 13:11:35 +0100 Date: Mon, 8 Apr 2019 13:11:34 +0100 From: Bruce Richardson To: Thomas Monjalon Cc: Jerin Jacob , dev@dpdk.org, jerinjacobk@gmail.com, Pavan Nikhilesh , Gavin Hu Message-ID: <20190408121134.GA1749@bricha3-MOBL.ger.corp.intel.com> References: <20190318164949.2357-1-jerinj@marvell.com> <20190406142737.20091-3-jerinj@marvell.com> <5057835.4tgjkVz2m1@xps> <1776778.zkdcId9aHm@xps> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline In-Reply-To: <1776778.zkdcId9aHm@xps> User-Agent: Mutt/1.11.4 (2019-03-13) Subject: Re: [dpdk-dev] [PATCH v7 3/4] config: add thunderx2 machine config 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" Message-ID: <20190408121134.XHZaZMgJSS0M-9dJuM2DpUTAotY91hvWkrw0UehcesI@z> On Mon, Apr 08, 2019 at 02:05:00PM +0200, Thomas Monjalon wrote: > 08/04/2019 12:32, Thomas Monjalon: > > 06/04/2019 16:27, jerinjacobk@gmail.com: > > > --- /dev/null > > > +++ b/config/arm/arm64_thunderx2_linux_gcc > > > @@ -0,0 +1,16 @@ > > > +[binaries] > > > +c = 'aarch64-linux-gnu-gcc' > > > +cpp = 'aarch64-linux-gnu-cpp' > > > +ar = 'aarch64-linux-gnu-gcc-ar' > > > +strip = 'aarch64-linux-gnu-strip' > > > +pcap-config = '' > > > > Strangely, I still see the same issue: > > > > In file included from /usr/include/inttypes.h:27, > > from /usr/include/pcap/pcap-inttypes.h:114, > > from /usr/include/pcap/pcap.h:74, > > from /usr/include/pcap.h:43, > > from ../drivers/net/pcap/rte_eth_pcap.c:19: > > /usr/include/stdint.h:109: error: "__INT64_C" redefined [-Werror] > > > > How may I help to debug it? > > Thanks Bruce for telling me to remove the build directory. > Now it works! > For reference, official documentation on this point - unlike most things in meson, changing the cross-build file does require you to start from scratch with a new build folder. https://mesonbuild.com/Cross-compilation.html#changing-cross-file-settings /Bruce