diff options
| author | Dengke Du <dengke.du@windriver.com> | 2019-03-22 10:13:53 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-03-24 23:14:23 -0400 |
| commit | 106a30b756289990070068ecc18b680afee76351 (patch) | |
| tree | a9973a7c330956fd535d531687d0e1d3359fd820 /recipes-extended/librdmacm/files | |
| parent | 29b76f4c82a4402e64b96eb766d7cd628122d646 (diff) | |
| download | meta-cloud-services-106a30b756289990070068ecc18b680afee76351.tar.gz | |
librdmacm: upgrade to 1.1.0
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/librdmacm/files')
| -rw-r--r-- | recipes-extended/librdmacm/files/0001-librdmacm-needs-libdl.patch (renamed from recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch) | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch b/recipes-extended/librdmacm/files/0001-librdmacm-needs-libdl.patch index bf15bea..8e62f4b 100644 --- a/recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch +++ b/recipes-extended/librdmacm/files/0001-librdmacm-needs-libdl.patch | |||
| @@ -1,15 +1,23 @@ | |||
| 1 | From d2c39b265f397256482154ad7807260b347176fb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Dengke Du <dengke.du@windriver.com> | ||
| 3 | Date: Thu, 21 Mar 2019 15:58:32 +0800 | ||
| 4 | Subject: [PATCH] librdmacm needs libdl | ||
| 5 | |||
| 1 | Librdmacm links against libibverbs, and the current version of libibverbs | 6 | Librdmacm links against libibverbs, and the current version of libibverbs |
| 2 | uses dlopen(), so librdmacm must also link against libdl. | 7 | uses dlopen(), so librdmacm must also link against libdl. |
| 3 | 8 | ||
| 4 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
| 5 | 10 | ||
| 6 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | 11 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> |
| 12 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
| 7 | --- | 13 | --- |
| 8 | configure.in | 2 ++ | 14 | configure.ac | 2 ++ |
| 9 | 1 file changed, 2 insertions(+) | 15 | 1 file changed, 2 insertions(+) |
| 10 | 16 | ||
| 11 | --- a/configure.in | 17 | diff --git a/configure.ac b/configure.ac |
| 12 | +++ b/configure.in | 18 | index 4a43995..2a7f4b9 100644 |
| 19 | --- a/configure.ac | ||
| 20 | +++ b/configure.ac | ||
| 13 | @@ -39,6 +39,8 @@ AC_CHECK_SIZEOF(long) | 21 | @@ -39,6 +39,8 @@ AC_CHECK_SIZEOF(long) |
| 14 | dnl Checks for libraries | 22 | dnl Checks for libraries |
| 15 | AC_CHECK_LIB(pthread, pthread_mutex_init, [], | 23 | AC_CHECK_LIB(pthread, pthread_mutex_init, [], |
| @@ -17,5 +25,8 @@ Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | |||
| 17 | +AC_CHECK_LIB(dl, dlsym, [], | 25 | +AC_CHECK_LIB(dl, dlsym, [], |
| 18 | + AC_MSG_ERROR([dlsym() not found. librdmacm requires libdl.])) | 26 | + AC_MSG_ERROR([dlsym() not found. librdmacm requires libdl.])) |
| 19 | if test "$disable_libcheck" != "yes"; then | 27 | if test "$disable_libcheck" != "yes"; then |
| 20 | AC_CHECK_LIB(ibverbs, ibv_get_device_list, [], | 28 | AC_CHECK_LIB(ibverbs, ibv_cmd_open_xrcd, [], |
| 21 | AC_MSG_ERROR([ibv_get_device_list() not found. librdmacm requires libibverbs.])) | 29 | AC_MSG_ERROR([ibv_cmd_open_xrcd() not found. librdmacm requires libibverbs 1.1.8 or later.])) |
| 30 | -- | ||
| 31 | 2.7.4 | ||
| 32 | |||
