From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4421BA0A05; Tue, 19 Jan 2021 17:08:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEDCC140EED; Tue, 19 Jan 2021 17:08:09 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id E7755140EE7 for ; Tue, 19 Jan 2021 17:08:08 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 708915C00D0; Tue, 19 Jan 2021 11:08:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 19 Jan 2021 11:08:08 -0500 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=fm3; bh= LZicCJAo2KjWyO3fpCF4B3s9acAIWXe+aqInh+f9Hos=; b=raacybr5dVyO1c31 24vqlXNKCTaS27YNNVBuEYyPnDZ4mLO06NX2m8G5lK0Hj6bjPz53+A4Sx08sdsIm fq/vwUtCd0PyYwHvC27I+GP3wf34yTth1Cys8V94+fwF1BbRgKK0LgCISHsc7ket GrK2p9as1LWwZcuVcHpeJxkYIQ8CUD/IsaDabaXHz+BbzzZz8ogl0X4qA1/T84m4 V3Uo1DXT7Qgp+WRlNPb01DSWYYCNVSLrsr1fhDKZIIJmVT0oOvWFq3M4A6BzlYZ6 QunV2Geih5v/GOu5wRYuRolZaD1LqVes62VK4MWZXA19vhA9If0QhjCWiqRedm1U FhVzvA== 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=fm1; bh=LZicCJAo2KjWyO3fpCF4B3s9acAIWXe+aqInh+f9H os=; b=kdSa4D9yOGLe0KazL2YxXKTsTQwJqZ4oT/hkVQKVv4iKTItVxM3gbgpT8 fXhIKC//Cq6ZBSbrhJdmyHBL2Qx/zyI8aqm20EoGnO5rr3+OI5n1iaxpsv44TUs9 rtYKU0S9/1Pja9VssC7HEK5dnzqg2nZ/l2ASpqSdGW3ORXjBPN3qqKojOGg5mOwn Aid+Etnns17Ph70jaYHzxk84ZOEk/JjAz+Nrr3FtNXLyOtkbSE1SLZ4xxY8OH3Jx MYpra++AuLB/w6873nucZkrEJIH/qfvR18C2UQH8urS2ci6isadg+btkpRYF6TNQ Ma18PQjodk8WR0exk+xbbghfN7Bdg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeekteehtdeivefhieegjeelgedufeejheekkeetueevieeuvdevuedt jeevheevteenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth 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 6A87B108005F; Tue, 19 Jan 2021 11:08:06 -0500 (EST) From: Thomas Monjalon To: Juraj =?utf-8?B?TGlua2XFoQ==?= Cc: david.marchand@redhat.com, aconole@redhat.com, maicolgabriel@hotmail.com, jerinjacobk@gmail.com, ferruh.yigit@intel.com, Ruifeng.Wang@arm.com, dev@dpdk.org, bruce.richardson@intel.com Date: Tue, 19 Jan 2021 17:08:05 +0100 Message-ID: <5185690.nF8rMpdJ4n@thomas> In-Reply-To: <1611045187-8097-2-git-send-email-juraj.linkes@pantheon.tech> References: <1601631508-5307-1-git-send-email-juraj.linkes@pantheon.tech> <1611045187-8097-1-git-send-email-juraj.linkes@pantheon.tech> <1611045187-8097-2-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v4 1/3] build: add aarch64 clang to meson cross-compile X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" 19/01/2021 09:33, Juraj Linke=C5=A1: > Create meson cross-file arm64_armv8_linux_clang_ubuntu1804. Why is it specific to Ubuntu 18.04? I don't want to add specifc cross files per distributions. > Use clang/LLVM toolchain with sysroot pointing to gcc cross stdlib. >=20 > The sysroot path must be in the cross-file so that Clang can find the > proper headers: > * setting CFLAGS, LDFLAGS or -Dc_args, -Dc_link_args doesn't affect > cross builds (only native builds). Support added in 0.51.0. > * setting pkg-config vars only affects lib searching, not includes > * splitting the cross-file into two (one with clang info, one with > paths) doesn't work. Support added in 0.52.0. I don't understand the explanations above. Please explain what is the bug and how it is fixed. [...] > +c_args =3D ['-target', 'aarch64-linux-gnu', '--sysroot', '/usr/aarch64-l= inux-gnu'] > +c_link_args =3D ['-target', 'aarch64-linux-gnu', '-fuse-ld=3Dlld', '--gc= c-toolchain=3D/usr']