1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/intel-graphics-compiler/remove-rtld-deepbind.patch
2020-11-13 21:06:36 +00:00

14 lines
536 B
Diff

RTLD_DEEPBIND is a glibc thing
---
--- a/IGC/VectorCompiler/lib/GenXCodeGen/GenXWrapper.cpp
+++ b/IGC/VectorCompiler/lib/GenXCodeGen/GenXWrapper.cpp
@@ -123,8 +123,7 @@
const std::string SpirvLibPath = findSpirvDLL();
#if defined(__linux__)
// Hack to workaround cmoc crashes during loading of SPIRV library
- static auto DeepBindHack =
- dlopen(SpirvLibPath.c_str(), RTLD_NOW | RTLD_DEEPBIND);
+ static auto DeepBindHack = dlopen(SpirvLibPath.c_str(), RTLD_NOW);
#endif // __linux__
using DL = sys::DynamicLibrary;