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 BA97BA0547 for ; Fri, 28 May 2021 14:52:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4171340143; Fri, 28 May 2021 14:52:03 +0200 (CEST) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mails.dpdk.org (Postfix) with ESMTP id 4673440040 for ; Fri, 28 May 2021 14:52:02 +0200 (CEST) Received: by mail-wr1-f54.google.com with SMTP id x7so3160866wrt.12 for ; Fri, 28 May 2021 05:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pytilia.io; s=google; h=from:mime-version:subject:message-id:date:to; bh=sTR93ceDxZxNWwUAEiIU5Q5EIaErMAhonQgZ/nFNyJw=; b=Qbbn+O1oBb7Y7qucz7H0Cz24/NWgXTth1DaKU5HXrv8Hway0grF7bGfzLl2QW7Eu4g hoXuni6vAN1QimFSR4vYsUQi3s9Q9CfHDzPF7XuT6kIt59u8fp8mCXz3+VG65BwSgy6k LyfNZUT3WsrcZ2OFdfugMj8KdLvpdj4oTznRTYDVHZ4AmGmYB1/AtKa3ueWJppsF4jDy Y3nTFpPF7VjYDxz8fq9NkSvctSgLGmqyDBmfyJvlU1lOzcy7fsaPO3fw8JX+a3s+NOvp sfuR5/r4cMxXtJr7Eo/3FMHMu/G32XgvNl8tGPxsN7Evw9KuFHk6xCL+br45sGLBE3Pg FTeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=sTR93ceDxZxNWwUAEiIU5Q5EIaErMAhonQgZ/nFNyJw=; b=o3KP1MyXwMlI7RH/ZQlejezcm0+ngkBcEnRCWtFKOj+/vdJMA9gLX9JfiR9SnGRYkY jbI0uSmrfM0xh340Tb9sK67iEmn5Wr1+emFRp8tMXJU9R7iwVTCpdvVMni9DbpypmHhx YO4wbJcdIvxHQhEN9gnGED+MYd1AyZlKzjbx6O86rVslyS+qId0g0hYRE9a4yM+PnQ6h 66qkleVw8j8+LWcxKcBM2Ky7j28YSFDM2u1kjowZSxbBaPyu9OWcag413MEcABWit8+R Z7rqbVah4VqenZETI6xqoMk+nFvnF0yRApo6R0ibJ6CSuiryQrmTJRBNUmIWGzjgCMbd yUQQ== X-Gm-Message-State: AOAM532neXKhNZpYang1ufmUiYUI5qcrLmbcyZYMU7eG7OPX+dUF/DVD cK9piDLCwZ87RcYa0elaSNma98xG8C9HPg== X-Google-Smtp-Source: ABdhPJy5k0kT3KvnY4KrBVH3zPlJshk+zgI3nX111/ciB6wV6s7XPKfgvCMqfsnTdtdmi/kE1h7Dsg== X-Received: by 2002:a5d:4351:: with SMTP id u17mr8541074wrr.47.1622206321663; Fri, 28 May 2021 05:52:01 -0700 (PDT) Received: from [192.168.1.122] ([31.170.4.164]) by smtp.gmail.com with ESMTPSA id p6sm2624071wrf.51.2021.05.28.05.52.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 May 2021 05:52:01 -0700 (PDT) From: Eileen O'Reilly Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Message-Id: <9ED7C07F-916C-49BA-9065-29A41591EAAC@pytilia.io> Date: Fri, 28 May 2021 13:51:59 +0100 To: users@dpdk.org X-Mailer: Apple Mail (2.3654.60.0.2.21) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-users] DPDK Cross compiling X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi,=20 Trying to cross compile dpdk with aarch64-unknown-freebsd. I=E2=80=99ve = followed the steps on = https://doc.dpdk.org/guides-20.11/linux_gsg/cross_build_dpdk_for_arm64.htm= l = and adapted it for my own environment. I=E2=80=99m running a ubuntu = 18.04 VM on virtual box and tring to cross compile for AArch64 on Free = BSD. I=E2=80=99ve created a crossfille that points to the sysroot, = c_args, c_link_args. It points to all the required binaries and contains = the details for the host machine. Running 'meson build-dpdk = --cross-file cross_file.txt=E2=80=99 configures the directory and when I = run 'ninja -C build-dpdk=E2=80=99 it looks in the local directories for = the headers instead of using sysroot causing ninja to fail. I=E2=80=99ve tried creating a 'building-dpdk.pc' file and adding it to = the PKG_CONFIG_PATH but still it continues to look in local directories.=20= Can someone tell me what I=E2=80=99m overlooking?=