1
1
openmpi/config/libltdl-preopen-error.diff
Ralph Castain 40a2bfa238 WARNING: Work on the temp branch being merged here encountered problems with bugs in subversion. Considerable effort has gone into validating the branch. However, not all conditions can be checked, so users are cautioned that it may be advisable to not update from the trunk for a few days to allow MTT to identify platform-specific issues.
This merges the branch containing the revamped build system based around converting autogen from a bash script to a Perl program. Jeff has provided emails explaining the features contained in the change.

Please note that configure requirements on components HAVE CHANGED. For example. a configure.params file is no longer required in each component directory. See Jeff's emails for an explanation.

This commit was SVN r23764.
2010-09-17 23:04:06 +00:00

28 строки
1.1 KiB
Diff

--- opal/libltdl/loaders/preopen.c.~1~ 2010-03-03 14:13:28.000000000 -0500
+++ opal/libltdl/loaders/preopen.c 2010-03-05 17:57:11.000000000 -0500
@@ -185,7 +185,24 @@
}
}
+#if 0
+ /* Open MPI: This line is commented out because Open MPI does not
+ use the preopen functionality in libltdl at all -- so we never
+ need to see errors from this module. Additionally, this module
+ is usually invoked last in the sequence when trying to
+ lt_dlopenadvise() a DSO -- so if there was a real error when
+ opening that DSO (e.g., a symbol not found), setting the
+ FILE_NOT_FOUND error here will mask the real error.
+
+ This error has been reported upstream to the Libtool maintainers;
+ they acknowledge that it is a problem but no one has come up with
+ a good general solution yet. This Open MPI-specific solution is
+ workable for us, but not workable as a general solution. Hence,
+ we patch in this "if 0" block in autogen.pl after Libtool
+ installs libltdl in the opal/ tree.
+ */
LT__SETERROR (FILE_NOT_FOUND);
+#endif
done:
return module;