From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 7A4C91B582 for ; Fri, 5 Apr 2019 21:09:35 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 009E326645; Fri, 5 Apr 2019 15:09:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 05 Apr 2019 15:09:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=y7aLL9mJwb/HJB45koQLSJZaYGx9CYqpTLQiFJE8l/0=; b=Ye5u06wXuI1B jXqZ2e/FWuflcqS6Beh/BU9P4Qx7wzhNpEYUmlgXwg7hir5TVDfBaLbKcuGjZM1x E/NaeDmy/uJ/XwPoJugGyI98Vgmnb3tSLakS2NUmcBEJIRoTMI5artblQ3OTJFH5 1dziwn4410QKCArh3HwtwkWgo6U/UN8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=y7aLL9mJwb/HJB45koQLSJZaYGx9CYqpTLQiFJE8l /0=; b=HuLplaWbv+VKdFroKfMXougHaizuIxa3f9GENGbAe96lJiD3xqtImiz+b AaxcnOlxtNjEG5M3OtMCt5nkPeNyVOzsvg1JwfCtGCzu/z27x+XZbhFN94t7hg6c aKIq5/gq/f39xsb76Yo4li4z7bh3MrWspPBj9AILae8ZRI+rgStTghcnpS6je7H0 hAABtTUHEFwPCGt3wPY+ah0aAvD6eFANefUxgx5+NpD9FMXkOulmxz8SUdvaabDE 3Dv1MYeu4NCladjDa4WJYko/le5XAieQ3+FOvZpl8IrSA9zMu5vzihr+cKgzo/WI do/L0wQM1fYTj+3EXSkToRUNlrkgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrtdejgdduvdelucdltddurdeguddtrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfhgggfgtsehtufertddttddv necuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjh grlhhonhdrnhgvtheqnecuffhomhgrihhnpehmrghrvhgvlhhlrdgtohhmnecukfhppeej jedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrg hssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4C0CEE40E3; Fri, 5 Apr 2019 15:09:33 -0400 (EDT) From: Thomas Monjalon To: Jerin Jacob Kollanukkaran Cc: Pavan Nikhilesh Bhagavatula , "dev@dpdk.org" , "gavin.hu@arm.com" Date: Fri, 05 Apr 2019 21:09:30 +0200 Message-ID: <2375455.UAgNcee1AC@xps> In-Reply-To: References: <20190224181041.27127-1-jerinj@marvell.com> <1818176.63uonorpWk@xps> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v6 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: , X-List-Received-Date: Fri, 05 Apr 2019 19:09:35 -0000 05/04/2019 20:47, Jerin Jacob Kollanukkaran: > From: Thomas Monjalon > > 18/03/2019 17:50, Jerin Jacob Kollanukkaran: > > > From: Jerin Jacob > > > > > > Optimized configuration for Marvell thunderx2 SoC. > > > Updated meson build to support Marvell thunderx2 SoC. > > > Added meson cross compile target. > > > > > > Product details are here: > > > > > > https://www.marvell.com/server-processors/thunderx2-arm-processors/ > > > > > > Signed-off-by: Jerin Jacob > > > Signed-off-by: Pavan Nikhilesh > > > > I see a very strange error when compiling with meson: > > > > 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] > > > > Could we try to debug it and merge these patches in -rc2? > > Could you please give more details to reproduce this issue First of all, we need to understand why it is getting pcap includes from the native system while compiling for thunderx2. > Compiler version - gcc or clang version? aarch64-linux-gnu-gcc (GCC) 8.3.0 > Build - Native or cross ? cross-compilation > Build OS ? My host is an archlinux > Meson and Ninja - Versions? meson 0.49.2 ninja 1.9.0 > The command use to reproduce this issue as we are not able to get this Issue in our local setup? I just run devtools/test-meson-builds.sh and it compiles for config/arm/arm64_thunderx_linux_gcc because I have an Arm toolchain installed. 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 1B5CFA0679 for ; Fri, 5 Apr 2019 21:09:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AAE2E1B583; Fri, 5 Apr 2019 21:09:37 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 7A4C91B582 for ; Fri, 5 Apr 2019 21:09:35 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 009E326645; Fri, 5 Apr 2019 15:09:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 05 Apr 2019 15:09:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=y7aLL9mJwb/HJB45koQLSJZaYGx9CYqpTLQiFJE8l/0=; b=Ye5u06wXuI1B jXqZ2e/FWuflcqS6Beh/BU9P4Qx7wzhNpEYUmlgXwg7hir5TVDfBaLbKcuGjZM1x E/NaeDmy/uJ/XwPoJugGyI98Vgmnb3tSLakS2NUmcBEJIRoTMI5artblQ3OTJFH5 1dziwn4410QKCArh3HwtwkWgo6U/UN8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=y7aLL9mJwb/HJB45koQLSJZaYGx9CYqpTLQiFJE8l /0=; b=HuLplaWbv+VKdFroKfMXougHaizuIxa3f9GENGbAe96lJiD3xqtImiz+b AaxcnOlxtNjEG5M3OtMCt5nkPeNyVOzsvg1JwfCtGCzu/z27x+XZbhFN94t7hg6c aKIq5/gq/f39xsb76Yo4li4z7bh3MrWspPBj9AILae8ZRI+rgStTghcnpS6je7H0 hAABtTUHEFwPCGt3wPY+ah0aAvD6eFANefUxgx5+NpD9FMXkOulmxz8SUdvaabDE 3Dv1MYeu4NCladjDa4WJYko/le5XAieQ3+FOvZpl8IrSA9zMu5vzihr+cKgzo/WI do/L0wQM1fYTj+3EXSkToRUNlrkgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrtdejgdduvdelucdltddurdeguddtrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfhgggfgtsehtufertddttddv necuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjh grlhhonhdrnhgvtheqnecuffhomhgrihhnpehmrghrvhgvlhhlrdgtohhmnecukfhppeej jedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrg hssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4C0CEE40E3; Fri, 5 Apr 2019 15:09:33 -0400 (EDT) From: Thomas Monjalon To: Jerin Jacob Kollanukkaran Cc: Pavan Nikhilesh Bhagavatula , "dev@dpdk.org" , "gavin.hu@arm.com" Date: Fri, 05 Apr 2019 21:09:30 +0200 Message-ID: <2375455.UAgNcee1AC@xps> In-Reply-To: References: <20190224181041.27127-1-jerinj@marvell.com> <1818176.63uonorpWk@xps> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v6 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: <20190405190930.hARzLAl68AKVHcfKfe4vNSv848GJcxVspdtXOlhnsrc@z> 05/04/2019 20:47, Jerin Jacob Kollanukkaran: > From: Thomas Monjalon > > 18/03/2019 17:50, Jerin Jacob Kollanukkaran: > > > From: Jerin Jacob > > > > > > Optimized configuration for Marvell thunderx2 SoC. > > > Updated meson build to support Marvell thunderx2 SoC. > > > Added meson cross compile target. > > > > > > Product details are here: > > > > > > https://www.marvell.com/server-processors/thunderx2-arm-processors/ > > > > > > Signed-off-by: Jerin Jacob > > > Signed-off-by: Pavan Nikhilesh > > > > I see a very strange error when compiling with meson: > > > > 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] > > > > Could we try to debug it and merge these patches in -rc2? > > Could you please give more details to reproduce this issue First of all, we need to understand why it is getting pcap includes from the native system while compiling for thunderx2. > Compiler version - gcc or clang version? aarch64-linux-gnu-gcc (GCC) 8.3.0 > Build - Native or cross ? cross-compilation > Build OS ? My host is an archlinux > Meson and Ninja - Versions? meson 0.49.2 ninja 1.9.0 > The command use to reproduce this issue as we are not able to get this Issue in our local setup? I just run devtools/test-meson-builds.sh and it compiles for config/arm/arm64_thunderx_linux_gcc because I have an Arm toolchain installed.