diff --git a/extend-fdesc-array.patch b/extend-fdesc-array.patch new file mode 100644 index 0000000..4729057 --- /dev/null +++ b/extend-fdesc-array.patch @@ -0,0 +1,11 @@ +--- psm_utils.c.orig 2018-03-14 21:12:33.678607767 -0400 ++++ psm_utils.c 2018-03-14 21:11:04.696909162 -0400 +@@ -951,7 +951,7 @@ struct psmi_faultinj_spec *psmi_faultinj + union psmi_envvar_val env_fi; + char fvals_str[128]; + char fname[128]; +- char fdesc[256]; ++ char fdesc[512]; + + snprintf(fvals_str, sizeof(fvals_str) - 1, "%d:%d:1", num, + denom); diff --git a/libpsm2.spec b/libpsm2.spec index 2775a4d..f71df05 100644 --- a/libpsm2.spec +++ b/libpsm2.spec @@ -53,7 +53,7 @@ Summary: Intel PSM Libraries Name: libpsm2 Version: 10.3.8 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD or GPLv2 URL: https://github.com/01org/opa-psm2/ @@ -63,6 +63,7 @@ URL: https://github.com/01org/opa-psm2/ # git checkout a96419140a6942a11a1438bbffc4c27475d61030 # make dist Source0: %{name}-%{version}.tar.gz +Patch1: extend-fdesc-array.patch # The OPA product is supported on x86 64 only: ExclusiveArch: x86_64 @@ -101,9 +102,10 @@ Support for MPIs linked with PSM versions < 2 %prep %setup -q +%patch1 -p0 %build -export CFLAGS="%{optflags}" +%{set_build_flags} make %{?_smp_mflags} %install @@ -140,6 +142,11 @@ make %{?_smp_mflags} %endif %changelog +* Thu Mar 15 2018 - 10.3.8-5 +- Fix partial injection of Fedora build flags. +- Double the sizeof array fdesc to fix a gcc compiling issue. +- Resolves: bz1556062 + * Wed Feb 07 2018 Fedora Release Engineering - 10.3.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild