RTLD_DEEPBIND is a glibc thing --- --- a/shared/source/os_interface/linux/os_library_linux.cpp +++ b/shared/source/os_interface/linux/os_library_linux.cpp @@ -29,13 +29,7 @@ if (name.empty()) { this->handle = dlopen(0, RTLD_LAZY); } else { -#ifdef SANITIZER_BUILD - constexpr auto dlopenFlag = RTLD_LAZY; -#else - constexpr auto dlopenFlag = RTLD_LAZY | RTLD_DEEPBIND; - /* Background: https://github.com/intel/compute-runtime/issues/122 */ -#endif - this->handle = dlopen(name.c_str(), dlopenFlag); + this->handle = dlopen(name.c_str(), RTLD_LAZY | RTLD_GLOBAL); } }