From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A5639A04B1; Mon, 5 Oct 2020 16:26:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 535781B878; Mon, 5 Oct 2020 16:26:25 +0200 (CEST) Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by dpdk.org (Postfix) with ESMTP id 9BF834C8E for ; Mon, 5 Oct 2020 16:26:22 +0200 (CEST) Received: by mail-io1-f66.google.com with SMTP id 67so5975118iob.8 for ; Mon, 05 Oct 2020 07:26:22 -0700 (PDT) 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:content-transfer-encoding; bh=ckEmqymgBzYDwLSUj/y6UmvNPx4X/pQULAbdesGSgsw=; b=cVZHGxz7vrQPN0wxPE+V0QvSYuQDwyGOCSaj30FQWC8hqWM0cOxGt2qHD+8YWfNyAM UG3oy3mHSQNhTEJbxfTUh4z7NOal8sLqeuuE2PTJlYHEAkLSi57hyuEAnpv7TQMo0X3+ NjPi/O6qIrBevGkIXHokfwNa/Cvs6Z59jYqy5e36rr6RdtPQ14TUUFsAnU9FkbVJ8WGM 2vRl48uNuxxE571Lwm8aGVeeFL3PRAXMFKwGcdErJIyThIwdN9Gtog8s+U4Y7OFij0IF bKqmynkVOnj9FrbINhb6paZtoyCM/pEaywmuD1yk5QXlk4wV87/HePtrHyf4HI46kTGW r6ng== 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:content-transfer-encoding; bh=ckEmqymgBzYDwLSUj/y6UmvNPx4X/pQULAbdesGSgsw=; b=QMQ7n4E1ke+0pVXDI8gC0Cyh9gfZwkx4n4MqN3XeFasgSCvXzLmoJEpBmPIo2t+z/w YW4msDuf6XafIc2hqsOLBwlGDLYW8Cgsn2wLiKK9C9gY3qAyDlZFxg/avT6zty7VuKoa +BsQVYmk+b7LeHiXnNnZwTs1YpxXQGyl2QFt9X7jCSJL1gZo1ktwnDy1zhd/9EbLHJwr bcl/Ey3ksopwRad86a8tLolpnXRn8C8+O/BvrEVFsQpSMTbnLZkZyjnBq58XP+e3V7Oi 2hECPH7tryCcxvAX6GnHgwCqE//SN3eWEo3rgPuEI4C5KYBuYHdsk5m3c62mWW5Jb1i9 5Yuw== X-Gm-Message-State: AOAM531H5PQWj7r85kJEda87hu6eX7iIpwRRB9kYtA/4IPQZMhmIZMpp Xws2rR27LFUdW8yByfkaf/Q056IGZzCn+hf/FME= X-Google-Smtp-Source: ABdhPJyoNHai4tfrXN4eicnp9sFuq4ZthrJxe8VuT6wFL6uL6QAdC+jY8iuKWmdZAwc7oz9/1nr3CEtp1gXv9vumek8= X-Received: by 2002:a05:6638:98:: with SMTP id v24mr139090jao.113.1601907981900; Mon, 05 Oct 2020 07:26:21 -0700 (PDT) MIME-Version: 1.0 References: <1601547609-2843-1-git-send-email-juraj.linkes@pantheon.tech> <1601548239-2990-1-git-send-email-juraj.linkes@pantheon.tech> <1601548239-2990-2-git-send-email-juraj.linkes@pantheon.tech> <12fd66ac52344edeb14bbfc8f2683681@pantheon.tech> In-Reply-To: <12fd66ac52344edeb14bbfc8f2683681@pantheon.tech> From: Jerin Jacob Date: Mon, 5 Oct 2020 19:56:06 +0530 Message-ID: To: =?UTF-8?Q?Juraj_Linke=C5=A1?= Cc: Thomas Monjalon , David Marchand , Aaron Conole , Michael Santana , dpdk-dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v2 1/3] build: add aarch64 clang to meson cross-compile 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" On Mon, Oct 5, 2020 at 4:27 PM Juraj Linke=C5=A1 wrote: > > > > > -----Original Message----- > > From: Jerin Jacob > > Sent: Sunday, October 4, 2020 10:30 AM > > To: Juraj Linke=C5=A1 > > Cc: Thomas Monjalon ; David Marchand > > ; Aaron Conole ; > > Michael Santana ; dpdk-dev > > Subject: Re: [dpdk-dev] [PATCH v2 1/3] build: add aarch64 clang to meso= n cross- > > compile > > > > On Thu, Oct 1, 2020 at 4:07 PM Juraj Linke=C5=A1 > > wrote: > > > > > > Create meson cross file arm64_armv8_linux_clang_ubuntu1804. > > > Use clang/LLVM toolchain with sysroot pointing to gcc cross stdlib. > > > > > > Signed-off-by: Juraj Linke=C5=A1 > > > --- > > > config/arm/arm64_armv8_linux_clang_ubuntu1804 | 20 > > > +++++++++++++++++++ > > > > IMO, if we are adding a specific OS distribution-specific configuration= then it > > won't scale. > > Why not have just arm64_armv8_linux_clang ? > > CFLAGS, LDFLAGS, c_args and c_link_args don't work when cross-compiling (= at least they didn't work when I tested it) and that means we have to put t= he paths to stdlib (which llvm/clang doesn't implement) into a cross file I am using cross-build, following syntax is working CFLAGS=3D'-g -ggdb3' meson build > The arm64_armv8_linux_clang_ubuntu1804 contains paths that work with ubun= tu clang/gcc packages (and would thus be used in CI). We can't have a gener= ic cross file for clang because of this path limitation. If ubuntu 18.04 needs some fix up like adding the stuff to PATH etc, we could do a different stage in Travis ci. right?