From: degomme Date: Fri, 16 Feb 2018 10:00:00 +0000 (+0100) Subject: don't use deepbind in cases it's not needed (I think) X-Git-Tag: v3.19~199 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bc524c1e94e8dd43eae030deaddb64fa98358fd5 don't use deepbind in cases it's not needed (I think) --- diff --git a/src/smpi/internals/smpi_global.cpp b/src/smpi/internals/smpi_global.cpp index 19ee93546b..a865e7b613 100644 --- a/src/smpi/internals/smpi_global.cpp +++ b/src/smpi/internals/smpi_global.cpp @@ -545,7 +545,7 @@ int smpi_main(const char* executable, int argc, char *argv[]) else { // Load the dynamic library and resolve the entry point: - void* handle = dlopen(executable, RTLD_LAZY | RTLD_LOCAL | RTLD_DEEPBIND); + void* handle = dlopen(executable, RTLD_LAZY | RTLD_LOCAL); if (handle == nullptr) xbt_die("dlopen failed for %s: %s (errno: %d -- %s)", executable, dlerror(), errno, strerror(errno)); smpi_entry_point_type entry_point = smpi_resolve_function(handle);