From 5ba3533a7d7bcb88519454c95ec08e47ba8107b1 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Jul 25 2017 17:44:20 +0000 Subject: hack-alert: work around ib_acme not working on ppc64le This probably warrants filing a separate ppc64le bug to get tracked down and fixed. Signed-off-by: Jarod Wilson --- diff --git a/rdma-core.spec b/rdma-core.spec index 5030a09..6f95cf7 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -315,7 +315,13 @@ install -D -m0644 redhat/rdma.fixup-mtrr.awk %{buildroot}%{_libexecdir}/rdma-fix install -D -m0755 redhat/rdma.mlx4-setup.sh %{buildroot}%{_libexecdir}/mlx4-setup.sh # ibacm +%ifnarch ppc64le bin/ib_acme -D . -O +%else +# hack alert: working around ib_acme failing on ppc64le +# bin/ib_acme: error while loading shared libraries: /builddir/build/BUILD/rdma-core-14/lib/libibverbs.so.1: expected localentry:0 `pthread_cond_init' +touch ibacm_opts.cfg +%endif # multi-lib conflict resolution hacks (bug 1429362) sed -i -e 's|%{_libdir}|/usr/lib|' %{buildroot}%{_mandir}/man7/ibacm_prov.7 sed -i -e 's|%{_libdir}|/usr/lib|' ibacm_opts.cfg