summaryrefslogtreecommitdiffstats
path: root/recipes-extended/qat/files/0007-qat-use-static-lib-for-linking-under-cpa-sample-code.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/qat/files/0007-qat-use-static-lib-for-linking-under-cpa-sample-code.patch')
-rw-r--r--recipes-extended/qat/files/0007-qat-use-static-lib-for-linking-under-cpa-sample-code.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-extended/qat/files/0007-qat-use-static-lib-for-linking-under-cpa-sample-code.patch b/recipes-extended/qat/files/0007-qat-use-static-lib-for-linking-under-cpa-sample-code.patch
new file mode 100644
index 0000000..fc8828e
--- /dev/null
+++ b/recipes-extended/qat/files/0007-qat-use-static-lib-for-linking-under-cpa-sample-code.patch
@@ -0,0 +1,31 @@
1From 54d537415c88b52c6cc682db17ecd0b6c077a8bf Mon Sep 17 00:00:00 2001
2From: "Tan, Raymond" <raymond.tan@intel.com>
3Date: Mon, 12 Apr 2021 08:52:17 +0800
4Subject: [PATCH 07/11] qat-use-static-lib-for-linking-under-cpa-sample-code
5
6Upstream-Status: Inappropriate [Configuration]
7
8Update linking target to use stalib library instead, to mitigate error on
9hidden symbol "__ctzdi2" being referenced by shared lib (SO) during intel-core2-32 build.
10
11Signed-off-by: Tan, Raymond <raymond.tan@intel.com>
12---
13 quickassist/lookaside/access_layer/src/sample_code/performance/Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/quickassist/lookaside/access_layer/src/sample_code/performance/Makefile b/quickassist/lookaside/access_layer/src/sample_code/performance/Makefile
17index 3914c1b..a22e366 100644
18--- a/quickassist/lookaside/access_layer/src/sample_code/performance/Makefile
19+++ b/quickassist/lookaside/access_layer/src/sample_code/performance/Makefile
20@@ -319,7 +319,7 @@ ifneq ($(PREBUILD_BINS),0)
21 ifeq ($(WITH_ICP_TARGET),1)
22 ADDITIONAL_OBJECTS += $(ICP_BUILD_OUTPUT)/libqae_mem.a
23 else
24- ADDITIONAL_OBJECTS += $(ICP_BUILD_OUTPUT)/libusdm_drv_s.so
25+ ADDITIONAL_OBJECTS += $(ICP_BUILD_OUTPUT)/libusdm_drv.a
26 endif
27 endif
28 #endif
29--
302.14.5
31