Update to 1.9.0rc1

Resolves: bz1751860

Signed-off-by: Honggang Li <honli@redhat.com>
This commit is contained in:
Honggang Li 2019-10-23 19:43:23 -04:00
parent 539d9ea952
commit 1729d538e8
4 changed files with 8 additions and 57 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@
/libfabric-1.7.2rc2.tar.bz2
/libfabric-1.8.0rc1.tar.bz2
/libfabric-1.8.0.tar.bz2
/libfabric-1.9.0rc1.tar.bz2

View File

@ -1,52 +0,0 @@
From b091a17b1ec7a5b546c2450bbd24bd26716c2f67 Mon Sep 17 00:00:00 2001
From: Honggang Li <honli@redhat.com>
Date: Sun, 4 Aug 2019 21:26:04 -0400
Subject: [PATCH] Fix segment fault issue for linux container
While run openmpi/mpirun with linux containers, the libfabric failed
with segment fault message.
Signal: Segmentation fault (11)
Signal code: Address not mapped (1)
Failing at address: 0xfffffffffffffff0
[ 0] /lib64/libpthread.so.0(+0x12d80)[0x14feb5d4dd80]
[ 1] /lib64/libfabric.so.1(+0x23cd1)[0x14fea8105cd1]
[ 2] /lib64/libfabric.so.1(+0x18240)[0x14fea80fa240]
[ 3] /lib64/libfabric.so.1(fi_getinfo+0x695)[0x14fea80faea5]
[ 4] /lib64/libfabric.so.1(fi_getinfo+0x4e)[0x14fea80ffe9e]
[ 5] /usr/lib64/openmpi/lib/openmpi/mca_btl_usnic.so(+0xdf4e)[0x14fea8445f4e]
[ 6] /usr/lib64/openmpi/lib/libopen-pal.so.40(mca_btl_base_select+0xed)[0x14feb547815d]
[ 7] /usr/lib64/openmpi/lib/openmpi/mca_bml_r2.so(mca_bml_r2_component_init+0x16)[0x14fea9fab2f6]
[ 8] /usr/lib64/openmpi/lib/libmpi.so.40(mca_bml_base_init+0xa4)[0x14feb5ffef94]
[ 9] /usr/lib64/openmpi/lib/libmpi.so.40(ompi_mpi_init+0x654)[0x14feb5fac474]
[10] /usr/lib64/openmpi/lib/libmpi.so.40(MPI_Init+0x72)[0x14feb5fdc6b2]
[11] /home/mpi/ring[0x4009ad]
[12] /lib64/libc.so.6(__libc_start_main+0xf3)[0x14feb599a813]
[13] /home/mpi/ring[0x4008be]
The 'scandir' function called by 'ofi_mem_init' returned -1 with errno
set to ENOENT.
Fixes: 8ce14923ba67 (core/mem: Obtain a list of available huge pages in system)
Signed-off-by: Honggang Li <honli@redhat.com>
---
src/mem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mem.c b/src/mem.c
index 91836a79c..23617a0a4 100644
--- a/src/mem.c
+++ b/src/mem.c
@@ -84,7 +84,7 @@ void ofi_mem_init(void)
num_page_sizes = 1;
}
- while (n--) {
+ while (n-- > 0) {
if (sscanf(pglist[n]->d_name, "hugepages-%zukB", &hpsize) == 1) {
hpsize *= 1024;
if (hpsize != page_sizes[OFI_DEF_HUGEPAGE_SIZE])
--
2.20.1

View File

@ -1,6 +1,6 @@
Name: libfabric
Version: 1.8.0
Release: 3%{?dist}
Version: 1.9.0rc1
Release: 1%{?dist}
Summary: Open Fabric Interfaces
License: BSD or GPLv2
@ -8,7 +8,6 @@ URL: http://ofiwg.github.io/libfabric/
Source0: https://github.com/ofiwg/libfabric/releases/download/v%{version}/libfabric-%{version}.tar.bz2
Patch1: 0001-Revert-prov-psm2-Fix-scalalble-endpoint-handling-in-.patch
Patch2: 0002-Revert-prov-psm2-Clean-up-connection-state-in-fi_av_.patch
Patch3: 0001-Fix-segment-fault-issue-for-linux-container.patch
BuildRequires: gcc
BuildRequires: libnl3-devel
@ -50,7 +49,6 @@ developing applications that use %{name}.
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure --disable-static --disable-silent-rules
@ -86,6 +84,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%changelog
* Thu Oct 24 2019 Honggang Li <honli@redhat.com> - 1.9.0rc1-1
- Update to 1.9.0rc1
- Resolves: bz1751860
* Fri Sep 06 2019 Honggang Li <honli@redhat.com> - 1.8.0-3
- Fix two segment fault issues
- Resolves: bz1749608

View File

@ -1 +1 @@
SHA512 (libfabric-1.8.0.tar.bz2) = 5bdc98d52de4923db5ac509ebd81ef192719f9d97b5f8e8065325edc51f03da6db9a3743406b55f8221f66a8c65dfd1cea2696d5fd1e304ebc22a06de67d96bd
SHA512 (libfabric-1.9.0rc1.tar.bz2) = 83c021881cc1dcc8065ea2e17a982a0180d84d28cf187fb51a2d36c93598ed6ca671a12af15caf8cf431b73b5dc648e72390fbecd19510eb308e641096e5e8ce