summaryrefslogtreecommitdiffstats
path: root/recipes-extended/qat/files/qat17_4.1.0-00022-qat-use-static-lib-for-linking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/qat/files/qat17_4.1.0-00022-qat-use-static-lib-for-linking.patch')
-rw-r--r--recipes-extended/qat/files/qat17_4.1.0-00022-qat-use-static-lib-for-linking.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-extended/qat/files/qat17_4.1.0-00022-qat-use-static-lib-for-linking.patch b/recipes-extended/qat/files/qat17_4.1.0-00022-qat-use-static-lib-for-linking.patch
new file mode 100644
index 0000000..f786a10
--- /dev/null
+++ b/recipes-extended/qat/files/qat17_4.1.0-00022-qat-use-static-lib-for-linking.patch
@@ -0,0 +1,30 @@
1From 026fd275834ac4e345464c8ce2b0163d052d0262 Mon Sep 17 00:00:00 2001
2From: "Tan, Raymond" <raymond.tan@intel.com>
3Date: Wed, 30 May 2018 13:27:03 +0800
4Subject: [PATCH] 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 3a0fb37..5b7b3fa 100644
18--- a/quickassist/lookaside/access_layer/src/sample_code/performance/Makefile
19+++ b/quickassist/lookaside/access_layer/src/sample_code/performance/Makefile
20@@ -209,7 +209,7 @@ ifeq ($(WITH_CMDRV),1)
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--
301.9.1