diff --git a/Fix-missing-extern.patch b/Fix-missing-extern.patch new file mode 100644 index 0000000000000000000000000000000000000000..83af9875f2fd3cdc1cf36b124e2bd93062e2b64b --- /dev/null +++ b/Fix-missing-extern.patch @@ -0,0 +1,13 @@ +diff --git a/psm_utils.c b/psm_utils.c +index 87e522b..6b7c0d1 100644 +--- a/psm_utils.c ++++ b/psm_utils.c +@@ -57,6 +57,8 @@ + #include "psm_mq_internal.h" + #include "psm_am_internal.h" + ++uint32_t psmi_cpu_model; ++ + int psmi_ep_device_is_enabled(const psm2_ep_t ep, int devid); + + struct psmi_epid_table psmi_epid_table; diff --git a/libpsm2.spec b/libpsm2.spec index 98c9d921f7746e398779c7dc69238ccb88ee0f97..aa87aafd31f77e4f3b32acef5e155b9496835ec4 100644 --- a/libpsm2.spec +++ b/libpsm2.spec @@ -1,6 +1,6 @@ Name: libpsm2 Version: 10.3.58 -Release: 8 +Release: 9 Summary: Intel PSM Libraries License: BSD or GPLv2 URL: https://github.com/01org/opa-psm2/ @@ -10,6 +10,7 @@ Source0: https://github.com/intel/opa-psm2/archive/PSM2_10.3.58.tar.gz Patch0: 0000-extend-fdesc-array.patch Patch1: fix-stringop-truncation-build-error.patch Patch2: Fix-opa-psm2-gcc10.patch +Patch3: Fix-missing-extern.patch ExclusiveArch: x86_64 BuildRequires: libuuid-devel numactl-devel gcc systemd-udev @@ -74,6 +75,9 @@ rm -f %{buildroot}%{_libdir}/*.a %{_sysconfdir}/modprobe.d/libpsm2-compat.conf %changelog +* Fri Aug 06 2021 wangyong - 10.3.58-9 +- Fix downstream missing lib problem + * Mon Aug 02 2021 wangyong - 10.3.58-8 - Fix build error caused by GCC upgrade to GCC-10