LLVM 18.1.0 Failed to load libamdhip64.so
Hello,
it's seems there have a missing library on last LLVM package. I was trying to start: /usr/bin/amdgpu-arch and receive the error: Failed to 'dlopen' libhsa-runtime64.so Failed to load libamdhip64.so: libamdhip64.so: cannot open shared object file: No such file or directory |
FWIW, No amdgpu on my box; so possibly an imported/3rd party package depending on stock llvm. Try recompiling amdgpu and other packages required for/depending on it.
|
Could we also upgrade llvm-toolchain libclc to version 18.1 ? Our currently (on slackware64 current) is 17.0.1 I found the package here: https://openmandriva.pkgs.org/cooker...86_64.rpm.html
and contain some extra .bc specifications for new AMD video cards. https://github.com/llvm/llvm-project...1.0.src.tar.xz |
Quote:
https://packages.slackware.com/?r=sl...x86_64-1.txz&f The library libamdhip64 si provided by rocM : https://rocm.docs.amd.com/projects/HIP/en/latest/ |
Quote:
|
Quote:
Code:
$ slackpkg file-search amdgpu-arch |
Still Failed to 'dlopen' libhsa-runtime64.so
Hello,
thanks for the update but unfortunately the update does not resolve the issue with missing library's. Code:
/usr/bin/amdgpu-arch Code:
llvm-18.1.0.src/tools/clang/tools/amdgpu-arch/AMDGPUArchByHIP.cpp:38: constexpr const char *DynamicHIPPath = "libamdhip64.so"; Code:
/llvm-18.1.0.src/projects/openmp/docs/SupportAndFAQ.rst |
Unfortunately, after digging a little bit deeper it's seems to work this functionality require half of ROCm repo to be installed which it's not so easy to be build.
Did some one was able to build latest AMDGPU-PRO driver on Slackware current x64 ? |
Hi all,
I was able to build these library and HIP. If some one want can download the compiled library from here: https://www.ixip.net/slackware/myrep...-x86_64.tar.gz What I learn when trying to build ROCm version 6.0.3 it's not so hard on Slackware64 (I use current version only) to be build just need time. Because the ROCm have a lot's of packages the documentation some times it's not so clear but I found with trial and errors there have basic rules that must be followed: First rule: Need to compile and use ONLY ROCm LLVM package for every ROCm module which will be compiled in the future. Rule number two: Follow rule number one. If some one have interest I could share the build commands of the packages but it's not something specials. For success use of ROCm it's will be good system LLVM to be upgraded with ROCm LLVM to be avoid wrong library links which will save you a lot's of time. This is the tricky part. The ROCm LLVM is the same with system LLVM with some patches from ROCm community to support AMD and NVIDIA and what I thinking it's will be good if we have some kind of support on Slackware. Every day new technology's is coming and we must follow them. It's will be good if we have addon section on Slackware tree some packages which will make Slackware more useful and more use case could be solved. |
All times are GMT -5. The time now is 10:55 AM. |