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 6D0CB43E51; Fri, 12 Apr 2024 13:13:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9362140A72; Fri, 12 Apr 2024 13:13:24 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by mails.dpdk.org (Postfix) with ESMTP id EEAFE400D6 for ; Fri, 12 Apr 2024 13:13:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712920403; x=1744456403; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XcHl4Z4P+WhwspxBUNROfSjw30qm+cDb6h8jDzHtWJA=; b=n2Cq5hA09jTNH/48mSIrdRNgrnHHXDT2wv0h8Q9vQgpGJSYlmNwgtYLF kuatR0GO4gXiTQQySX/D0HnoIxKcOKMPfqO3d9go9deXSqGoHf7r0co8V vdAgzMQCLtKXIqisuVADYV3fwCcwbsP6dwkMfPrwQgarEQaCkDu02OeLS tJPoB/CI+J6vxBCkFQu61dWKriE/DYO5/cyZPkPsZtZflkskH3PKnU0FW httFGrCH3fsVGCK2cUj8x5r6FJN3LsU9zg9N+K1XmdfRBlkpbtsgcEG+v El3JHjyrJCzOBwYRW8PtF3QYFq9YUfEEQ0+aBZPMBh3FJ8uCDFewghO+Q w==; X-CSE-ConnectionGUID: MsTdWMyCQPmhhoxm/B5ZBw== X-CSE-MsgGUID: Mxuf2LE6Tqu/ChKDOn+y9w== X-IronPort-AV: E=McAfee;i="6600,9927,11041"; a="25886848" X-IronPort-AV: E=Sophos;i="6.07,195,1708416000"; d="scan'208";a="25886848" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2024 04:13:23 -0700 X-CSE-ConnectionGUID: LJDeiD9/QCGDzDGJqozktQ== X-CSE-MsgGUID: dS779K2dRc6/9jWTkoqCCQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,195,1708416000"; d="scan'208";a="52176547" Received: from sbrzez.igk.intel.com ([10.211.11.150]) by orviesa002.jf.intel.com with ESMTP; 12 Apr 2024 04:13:21 -0700 From: Sebastian Brzezinka To: dev@dpdk.org Cc: Krishna Kanth Reddy , Sebastian Brzezinka Subject: [PATCH 2/2] ARM64: Cross-Compilation Support Date: Fri, 12 Apr 2024 13:13:17 +0200 Message-Id: <20240412111317.3530529-2-sebastian.brzezinka@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412111317.3530529-1-sebastian.brzezinka@intel.com> References: <20240412111317.3530529-1-sebastian.brzezinka@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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