Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You are trying to dlopen a libur_adapter_level_zero.so.0 shared library with RTLD_DEEPBIND flag which is incompatible with sanitizer runtime #756

Closed
MajidAbdelilah opened this issue Aug 13, 2024 · 3 comments

Comments

@MajidAbdelilah
Copy link

dpcpp host_vs_device_code.cpp -g -fsanitize=thread
./a.out
==6411==You are trying to dlopen a libur_adapter_level_zero.so.0 shared library with RTLD_DEEPBIND flag which is incompatible with sanitizer runtime (see https://github.com/google/sanitizers/issues/611 for details). If you want to run libur_adapter_level_zero.so.0 library under sanitizers please remove RTLD_DEEPBIND from dlopen flags.

i am using arch linux with the dpcpp installed via pacman
also the package for dpcpp in arch linux doesnt have the /opt/intel/oneapi/compiler/latest/lib/clang/18/lib/linux/ folder so i have copied it from my system clang folder(from /usr/lib/clang/18/lib/linux/)
befor cpying it when i try to use a sanitizer the compiler complain about not finding a library inside that forlder(/opt/intel/oneapi/compiler/latest/lib/clang/18/lib/linux/xxxxxxx)
is there a fix to this

@JablonskiMateusz
Copy link
Contributor

@MajidAbdelilah is it related to libze_intel_gpu.so.1 ? please capture which library is using deepbind

@MajidAbdelilah
Copy link
Author

Neverminde i installed intel oneapi base toolkit and everything works fine now. Its an arch package issue

@MajidAbdelilah
Copy link
Author

Thanks and sorry for the distraction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants