|
|
ba5b87 |
From 266189935aef4fce825d0db831b4b53accc62c32 Mon Sep 17 00:00:00 2001
|
|
|
ba5b87 |
From: Jeff Squyres <jsquyres@cisco.com>
|
|
|
ba5b87 |
Date: Tue, 22 Jun 2021 22:28:37 -0400
|
|
|
ba5b87 |
Subject: [PATCH] fbtl-posix: link to common_ompio
|
|
|
ba5b87 |
|
|
|
ba5b87 |
The posix fbtl calls mca_common_ompio_progress(), which resides in
|
|
|
ba5b87 |
common/ompio (i.e., libmca_common_ompio.la). So add that into
|
|
|
ba5b87 |
mca_fbtl_posix_la_LIBADD (like we do in a few other OMPIO-based
|
|
|
ba5b87 |
components). Failure to do this *can* lead to the posix fbtl
|
|
|
ba5b87 |
component failing to load (depending on whether other OMPIO-based
|
|
|
ba5b87 |
components that pull in libmca_common_ompio were loaded first).
|
|
|
ba5b87 |
|
|
|
ba5b87 |
Thanks to Honggang Li for raising the issue.
|
|
|
ba5b87 |
|
|
|
ba5b87 |
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
|
|
|
ba5b87 |
---
|
|
|
ba5b87 |
ompi/mca/fbtl/posix/Makefile.am | 3 ++-
|
|
|
ba5b87 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
ba5b87 |
|
|
|
ba5b87 |
diff --git a/ompi/mca/fbtl/posix/Makefile.am b/ompi/mca/fbtl/posix/Makefile.am
|
|
|
ba5b87 |
index a7b0624d3ec..1ce19cb09b7 100644
|
|
|
ba5b87 |
--- a/ompi/mca/fbtl/posix/Makefile.am
|
|
|
ba5b87 |
+++ b/ompi/mca/fbtl/posix/Makefile.am
|
|
|
ba5b87 |
@@ -34,7 +34,8 @@ mcacomponentdir = $(ompilibdir)
|
|
|
ba5b87 |
mcacomponent_LTLIBRARIES = $(component_install)
|
|
|
ba5b87 |
mca_fbtl_posix_la_SOURCES = $(sources)
|
|
|
ba5b87 |
mca_fbtl_posix_la_LDFLAGS = -module -avoid-version
|
|
|
ba5b87 |
-mca_fbtl_posix_la_LIBADD = $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la
|
|
|
ba5b87 |
+mca_fbtl_posix_la_LIBADD = $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la \
|
|
|
ba5b87 |
+ $(OMPI_TOP_BUILDDIR)/ompi/mca/common/ompio/libmca_common_ompio.la
|
|
|
ba5b87 |
|
|
|
ba5b87 |
noinst_LTLIBRARIES = $(component_noinst)
|
|
|
ba5b87 |
libmca_fbtl_posix_la_SOURCES = $(sources)
|