diff options
-rw-r--r-- | meta/recipes-support/libgcrypt/files/0001-tests-Fix-link-errors-for-t-thread-local.patch | 20 | ||||
-rw-r--r-- | meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch | 17 | ||||
-rw-r--r-- | meta/recipes-support/libgcrypt/libgcrypt_1.11.2.bb (renamed from meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb) | 2 |
3 files changed, 23 insertions, 16 deletions
diff --git a/meta/recipes-support/libgcrypt/files/0001-tests-Fix-link-errors-for-t-thread-local.patch b/meta/recipes-support/libgcrypt/files/0001-tests-Fix-link-errors-for-t-thread-local.patch index 5ebc3831d4..8dc2fe328c 100644 --- a/meta/recipes-support/libgcrypt/files/0001-tests-Fix-link-errors-for-t-thread-local.patch +++ b/meta/recipes-support/libgcrypt/files/0001-tests-Fix-link-errors-for-t-thread-local.patch | |||
@@ -1,6 +1,6 @@ | |||
1 | From 746dc1c3837546c1085102e546a83da8d1c773e1 Mon Sep 17 00:00:00 2001 | 1 | From 942e232ded48fa08d2bda417ae8ad8c03d644372 Mon Sep 17 00:00:00 2001 |
2 | From: Collin Funk <collin.funk1@gmail.com> | 2 | From: Collin Funk <collin.funk1@gmail.com> |
3 | Date: Thu, 1 May 2025 22:20:58 -0700 | 3 | Date: Wed, 27 Aug 2025 11:49:06 +0800 |
4 | Subject: [PATCH] tests: Fix link errors for t-thread-local. | 4 | Subject: [PATCH] tests: Fix link errors for t-thread-local. |
5 | 5 | ||
6 | On platforms where pthread_create is not in libc t-thread-local fails to | 6 | On platforms where pthread_create is not in libc t-thread-local fails to |
@@ -15,20 +15,24 @@ Upstream-Status: Backport [793eda7b258a562757b51c96044b103b638f1a63] | |||
15 | GnuPG-bug-id: 7634 | 15 | GnuPG-bug-id: 7634 |
16 | Signed-off-by: Collin Funk <collin.funk1@gmail.com> | 16 | Signed-off-by: Collin Funk <collin.funk1@gmail.com> |
17 | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> | 17 | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> |
18 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
18 | --- | 19 | --- |
19 | tests/Makefile.am | 2 ++ | 20 | tests/Makefile.am | 2 +- |
20 | 1 file changed, 2 insertions(+) | 21 | 1 file changed, 1 insertion(+), 1 deletion(-) |
21 | 22 | ||
22 | diff --git a/tests/Makefile.am b/tests/Makefile.am | 23 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
23 | index 9a9e1c2c264a..b80f266f97c2 100644 | 24 | index 4800135..f0f7adb 100644 |
24 | --- a/tests/Makefile.am | 25 | --- a/tests/Makefile.am |
25 | +++ b/tests/Makefile.am | 26 | +++ b/tests/Makefile.am |
26 | @@ -94,6 +94,8 @@ t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ | 27 | @@ -98,7 +98,7 @@ testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ |
27 | testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ | ||
28 | t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ | 28 | t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ |
29 | t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread | 29 | t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread |
30 | +t_thread_local_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ | 30 | t_thread_local_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ |
31 | -t_thread_local_CFLAGS = $(GPG_ERROR_MT_CFLAGS) | ||
31 | +t_thread_local_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread | 32 | +t_thread_local_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread |
32 | testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE) | 33 | testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE) |
33 | 34 | ||
34 | # Build a version of the test driver for the build platform. | 35 | # Build a version of the test driver for the build platform. |
36 | -- | ||
37 | 2.34.1 | ||
38 | |||
diff --git a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch index ccf4e18910..bbd48ebeee 100644 --- a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch +++ b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch | |||
@@ -1,6 +1,6 @@ | |||
1 | From c7a99e7a15f1f703ac90fc2a16b2c2115a66a996 Mon Sep 17 00:00:00 2001 | 1 | From a3496435dcc223a914eec5e61e853934fd4eb635 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Sun, 12 Jun 2016 04:44:29 -0400 | 3 | Date: Wed, 27 Aug 2025 11:46:17 +0800 |
4 | Subject: [PATCH] tests/Makefile.am: fix undefined reference to | 4 | Subject: [PATCH] tests/Makefile.am: fix undefined reference to |
5 | `pthread_create' | 5 | `pthread_create' |
6 | 6 | ||
@@ -14,19 +14,19 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | 14 | 1 file changed, 2 insertions(+), 2 deletions(-) |
15 | 15 | ||
16 | diff --git a/tests/Makefile.am b/tests/Makefile.am | 16 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
17 | index 3170a58..9a9e1c2 100644 | 17 | index 93daf3c..4800135 100644 |
18 | --- a/tests/Makefile.am | 18 | --- a/tests/Makefile.am |
19 | +++ b/tests/Makefile.am | 19 | +++ b/tests/Makefile.am |
20 | @@ -93,7 +93,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ | 20 | @@ -96,7 +96,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ |
21 | t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ | 21 | t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ |
22 | testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ | 22 | testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ |
23 | t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ | 23 | t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ |
24 | -t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) | 24 | -t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) |
25 | +t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread | 25 | +t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread |
26 | t_thread_local_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ | ||
27 | t_thread_local_CFLAGS = $(GPG_ERROR_MT_CFLAGS) | ||
26 | testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE) | 28 | testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE) |
27 | 29 | @@ -117,7 +117,7 @@ else | |
28 | # Build a version of the test driver for the build platform. | ||
29 | @@ -112,7 +112,7 @@ else | ||
30 | xtestsuite_libs = ../src/.libs/libgcrypt.so* | 30 | xtestsuite_libs = ../src/.libs/libgcrypt.so* |
31 | xtestsuite_driver = testdrv | 31 | xtestsuite_driver = testdrv |
32 | t_kdf_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ | 32 | t_kdf_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ |
@@ -35,3 +35,6 @@ index 3170a58..9a9e1c2 100644 | |||
35 | endif | 35 | endif |
36 | 36 | ||
37 | # xcheck uses our new testdrv instead of the automake test runner. | 37 | # xcheck uses our new testdrv instead of the automake test runner. |
38 | -- | ||
39 | 2.34.1 | ||
40 | |||
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.11.2.bb index 14cbe53647..d0236b58b3 100644 --- a/meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb +++ b/meta/recipes-support/libgcrypt/libgcrypt_1.11.2.bb | |||
@@ -26,7 +26,7 @@ SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \ | |||
26 | file://no-bench-slope.patch \ | 26 | file://no-bench-slope.patch \ |
27 | file://run-ptest \ | 27 | file://run-ptest \ |
28 | " | 28 | " |
29 | SRC_URI[sha256sum] = "24e91c9123a46c54e8371f3a3a2502f1198f2893fbfbf59af95bc1c21499b00e" | 29 | SRC_URI[sha256sum] = "6ba59dd192270e8c1d22ddb41a07d95dcdbc1f0fb02d03c4b54b235814330aac" |
30 | 30 | ||
31 | BINCONFIG = "${bindir}/libgcrypt-config" | 31 | BINCONFIG = "${bindir}/libgcrypt-config" |
32 | 32 | ||