aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/qat/files/qat17_4.1.0-00022-qat-use-static-lib-for-linking.patch
blob: f786a101d2a33354e60109c8b3f62daeaff74281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 026fd275834ac4e345464c8ce2b0163d052d0262 Mon Sep 17 00:00:00 2001
From: "Tan, Raymond" <raymond.tan@intel.com>
Date: Wed, 30 May 2018 13:27:03 +0800
Subject: [PATCH] qat-use-static-lib-for-linking-under-cpa-sample-code

Upstream-Status: Inappropriate [Configuration]

Update linking target to use stalib library instead, to mitigate error on
hidden symbol "__ctzdi2" being referenced by shared lib (SO) during intel-core2-32 build.

Signed-off-by: Tan, Raymond <raymond.tan@intel.com>
---
 quickassist/lookaside/access_layer/src/sample_code/performance/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quickassist/lookaside/access_layer/src/sample_code/performance/Makefile b/quickassist/lookaside/access_layer/src/sample_code/performance/Makefile
index 3a0fb37..5b7b3fa 100644
--- a/quickassist/lookaside/access_layer/src/sample_code/performance/Makefile
+++ b/quickassist/lookaside/access_layer/src/sample_code/performance/Makefile
@@ -209,7 +209,7 @@ ifeq ($(WITH_CMDRV),1)
	ifeq ($(WITH_ICP_TARGET),1)
	ADDITIONAL_OBJECTS += $(ICP_BUILD_OUTPUT)/libqae_mem.a
	else
-	ADDITIONAL_OBJECTS += $(ICP_BUILD_OUTPUT)/libusdm_drv_s.so
+	ADDITIONAL_OBJECTS += $(ICP_BUILD_OUTPUT)/libusdm_drv.a
	endif
 endif
 #endif
--
1.9.1