diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-03-18 12:55:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-20 18:54:56 +0000 |
commit | b24332906d7d3f057a1b75a2fc6a5704396aa7b4 (patch) | |
tree | 7b9c1107f2e497375687918fe0558f3391951576 /meta/recipes-core/libxcrypt/files | |
parent | 43600886d774a9c52870988a7a19bcd20c6093bb (diff) | |
download | poky-b24332906d7d3f057a1b75a2fc6a5704396aa7b4.tar.gz |
libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat
(From OE-Core rev: ee1dca4ad342455c800b4ff38f375f5c40cfbdf6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libxcrypt/files')
-rw-r--r-- | meta/recipes-core/libxcrypt/files/0001-configure.ac-do-not-use-compute-symver-floor.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-core/libxcrypt/files/0001-configure.ac-do-not-use-compute-symver-floor.patch b/meta/recipes-core/libxcrypt/files/0001-configure.ac-do-not-use-compute-symver-floor.patch new file mode 100644 index 0000000000..4e6b427104 --- /dev/null +++ b/meta/recipes-core/libxcrypt/files/0001-configure.ac-do-not-use-compute-symver-floor.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From b28bb856ccebe8fded51d11362bf5920699eed59 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 18 Mar 2021 10:52:13 +0000 | ||
4 | Subject: [PATCH] configure.ac: do not use compute-symver-floor | ||
5 | |||
6 | This script (newly introduced in 4.4.18) sporadically fails, without | ||
7 | failing configure(), which has been reported at | ||
8 | https://github.com/besser82/libxcrypt/issues/123 | ||
9 | |||
10 | Upstream-Status: Inappropriate | ||
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
12 | --- | ||
13 | configure.ac | 6 +----- | ||
14 | 1 file changed, 1 insertion(+), 5 deletions(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index 45b91b4..f3ba945 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -426,11 +426,7 @@ if test x$enable_shared != xyes; then enable_obsolete_api=0; fi | ||
21 | # need to be binary backward compatible with. | ||
22 | if test $enable_obsolete_api = 1; then | ||
23 | AC_MSG_CHECKING([minimum symbol version to use for compatibility symbols]) | ||
24 | - SYMVER_FLOOR=$( | ||
25 | - $PERL ${srcdir}/build-aux/compute-symver-floor \ | ||
26 | - ${srcdir}/lib/libcrypt.minver $host_os $host_cpu \ | ||
27 | - 2>&AS_MESSAGE_LOG_FD | ||
28 | - ) | ||
29 | + SYMVER_FLOOR=GLIBC_2.0 | ||
30 | AC_MSG_RESULT([$SYMVER_FLOOR]) | ||
31 | case "$SYMVER_FLOOR" in | ||
32 | ERROR) | ||