Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libfabric for openSUSE:Factory 
checked in at 2022-10-10 18:43:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libfabric (Old)
 and      /work/SRC/openSUSE:Factory/.libfabric.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libfabric"

Mon Oct 10 18:43:27 2022 rev:35 rq:1008574 version:1.16.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libfabric/fabtests.changes       2022-10-04 
20:36:58.204851847 +0200
+++ /work/SRC/openSUSE:Factory/.libfabric.new.2275/fabtests.changes     
2022-10-10 18:43:35.586743458 +0200
@@ -1,0 +2,6 @@
+Thu Oct  6 16:06:29 UTC 2022 - Nicolas Morey-Chaisemartin 
<nmoreychaisemar...@suse.com>
+
+- Add prov-rxm-Disable-128-bit-atomics.patch to fix a potential
+  segfault on misaligned buffers.
+
+-------------------------------------------------------------------
libfabric.changes: same change

New:
----
  prov-rxm-Disable-128-bit-atomics.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fabtests.spec ++++++
--- /var/tmp/diff_new_pack.P5jNaq/_old  2022-10-10 18:43:36.222744827 +0200
+++ /var/tmp/diff_new_pack.P5jNaq/_new  2022-10-10 18:43:36.226744836 +0200
@@ -28,6 +28,7 @@
 Source:         libfabric-%{version}%{git_ver}.tar.bz2
 Source1:        fabtests-rpmlintrc
 Patch0:         libfabric-libtool.patch
+Patch1:         prov-rxm-Disable-128-bit-atomics.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libfabric-devel = %{version}
@@ -40,6 +41,7 @@
 %prep
 %setup -q -n  libfabric-%{version}%{git_ver}
 %patch0 -p1
+%patch1
 
 %build
 cd fabtests

++++++ libfabric.spec ++++++
--- /var/tmp/diff_new_pack.P5jNaq/_old  2022-10-10 18:43:36.246744879 +0200
+++ /var/tmp/diff_new_pack.P5jNaq/_new  2022-10-10 18:43:36.254744896 +0200
@@ -28,6 +28,7 @@
 Source:         %{name}-%{version}%{git_ver}.tar.bz2
 Source1:        baselibs.conf
 Patch0:         libfabric-libtool.patch
+Patch1:         prov-rxm-Disable-128-bit-atomics.patch
 URL:            http://www.github.com/ofiwg/libfabric
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -70,6 +71,7 @@
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
 %patch0 -p1
+%patch1
 
 %build
 rm -f config/libtool.m4

++++++ prov-rxm-Disable-128-bit-atomics.patch ++++++
commit 740b5e9daa2319f7397797f2f17d8e56245fdce4
Author: Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com>
Date:   Thu Oct 6 18:02:38 2022 +0200

    prov/rxm: Disable 128-bit atomics
    
    128-bit atomics fail (cause segfault) in release build of
    provider.  Cause is likely related to alignment.  Fail
    query calls for 128-bit integers to indicate support is not
    provided.
    
    https://github.com/ofiwg/libfabric/issues/7248
    
    Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com>

diff --git prov/rxm/src/rxm_atomic.c prov/rxm/src/rxm_atomic.c
index 28e29ade0dde..0f070b92f446 100644
--- prov/rxm/src/rxm_atomic.c
+++ prov/rxm/src/rxm_atomic.c
@@ -509,6 +509,12 @@ int rxm_ep_query_atomic(struct fid_domain *domain, enum 
fi_datatype datatype,
                return -FI_EINVAL;
        }
 
+       if ((datatype == FI_INT128) || (datatype == FI_UINT128)) {
+               FI_WARN(&rxm_prov, FI_LOG_EP_CTRL,
+                       "128-bit integers not supported\n");
+               return -FI_EOPNOTSUPP;
+       }
+
        ret = ofi_atomic_valid(&rxm_prov, datatype, op, flags);
        if (ret || !attr)
                return ret;

Reply via email to