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 11E2343E00; Fri, 5 Apr 2024 13:07:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 77F63402D4; Fri, 5 Apr 2024 13:07:19 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by mails.dpdk.org (Postfix) with ESMTP id 98489402CE for ; Fri, 5 Apr 2024 13:07:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712315238; x=1743851238; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=eFqMuYBiVY7R7e4R2f1ReiASxDDf4h4Hqhm/S0qFbR8=; b=hj5goEoC01H3/FObcKmCFRkcjQGLYSfqAR6QlOHTB+tSOGPDpgTR+4Mn jN3M01XrsYmPM+uL4bugX2G9CeZkTFFP/7n8s1+Y5y7DKvjU2uwPx83cS qEnx3TqeWqZkyO4JmWFbix3dVl9nxJnEP0YcrKDccKN7Baye4OnXGayk6 FQziW8vyUNmVFEvgNtw9QbVBLE1fgKhsZqrlw0lu66y2F2FIL/idsOrvv fNn2w2tNJkbffL4tjgnTd/431PaKnUfmNBVFHgLXtPp+Tf2+2eFOWcPhR c0TWun/l6suJEKmOf+lXBy8hHDVxklJCE1YsspxmQCDXfWap8sSGjD3V+ A==; X-CSE-ConnectionGUID: Z3W+19+PQ/2l0YdGK6iLNw== X-CSE-MsgGUID: 8CoOAZmxQqG3iOiFh3MN+g== X-IronPort-AV: E=McAfee;i="6600,9927,11034"; a="7737724" X-IronPort-AV: E=Sophos;i="6.07,181,1708416000"; d="scan'208";a="7737724" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2024 04:07:17 -0700 X-CSE-ConnectionGUID: lLac6chvQtGBv2dli79QuQ== X-CSE-MsgGUID: 3tj8tvDnR6eyQtivU4ADTg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,181,1708416000"; d="scan'208";a="19699862" Received: from sbrzez.igk.intel.com ([10.211.11.150]) by orviesa008.jf.intel.com with ESMTP; 05 Apr 2024 04:07:16 -0700 From: Sebastian Brzezinka To: dev@dpdk.org Cc: Krishna Kanth Reddy , Sebastian Brzezinka Subject: [PATCH] ARM64: Cross-Compilation Support Date: Fri, 5 Apr 2024 13:07:00 +0200 Message-Id: <20240405110700.3279213-1-sebastian.brzezinka@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 From: Krishna Kanth Reddy Modified the Configuration file to use the latest ARM Cross-Compiler. Fixed the linker errors for the undefined references to the APIs isal_deflate_init, isal_deflate, isal_inflate_init, isal_inflate, isal_inflate_stateless, isal_deflate_stateless, isal_deflate_set_hufftables in the case of ARM Cross-Compilation. Signed-off-by: Krishna Kanth Reddy Signed-off-by: Sebastian Brzezinka --- config/arm/arm64_armv8_linux_gcc | 10 +++++----- drivers/compress/isal/meson.build | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/config/arm/arm64_armv8_linux_gcc b/config/arm/arm64_armv8_linux_gcc index 529694b49d..6dfb8aa206 100644 --- a/config/arm/arm64_armv8_linux_gcc +++ b/config/arm/arm64_armv8_linux_gcc @@ -1,9 +1,9 @@ [binaries] -c = ['ccache', 'aarch64-linux-gnu-gcc'] -cpp = ['ccache', 'aarch64-linux-gnu-g++'] -ar = 'aarch64-linux-gnu-gcc-ar' -strip = 'aarch64-linux-gnu-strip' -pkgconfig = 'aarch64-linux-gnu-pkg-config' +c = ['ccache', 'aarch64-none-linux-gnu-gcc'] +cpp = ['ccache', 'aarch64-none-linux-gnu-cpp'] +ar = 'aarch64-none-linux-gnu-gcc-ar' +strip = 'aarch64-none-linux-gnu-strip' +pkgconfig = 'aarch64-none-linux-gnu-pkg-config' pcap-config = '' [host_machine] diff --git a/drivers/compress/isal/meson.build b/drivers/compress/isal/meson.build index 4b3eaa2274..b3cc990053 100644 --- a/drivers/compress/isal/meson.build +++ b/drivers/compress/isal/meson.build @@ -5,6 +5,10 @@ dep = dependency('libisal', required: false, method: 'pkg-config') if not dep.found() build = false reason = 'missing dependency, "libisal"' + isal_dep = cc.find_library('libisal', required: false) + if isal_dep.found() + ext_deps += isal_dep + endif endif deps += 'bus_vdev' -- 2.34.1 --------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN. Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych. Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.