-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fail to build shared libs and OpenCL not detected with static lib - libamdocl64.a: invalid ELF header #26
Comments
Can you share the failure details you saw while building with SHARED_LIBS ON |
Hi. It is numerous undefined reference errors during the link step, like:
I had to build ROCm-compilersupport with SHARED_LIBS OFF already: Full log here: Thanks for your support! |
Hi, sorry, I provided the wrong link regarind the issue leading to build ROCm-compilersupport witn SHARED_LIBS OFF, here it is: |
I have now succeeded to build ROCm-compilersupport with Meaning, I can also now build rocm-clr with However, my RX6600 aka gfx1032 is not found to get opencl active. Here is the output of ROCm clinfo, showing 0 device found in the platform:
What am I still missing? Thanks! Note: romcinfo finds my GPU (output on the first post) |
Hi. |
Hi there
I don't succeed to build rocm-clr with
BUILD_SHARED_LIBS=ON
So, I used:
with
install_prefix = /usr/lib64/rocm
The build runs fine and libamdocl64.a is created (no .so is created, obviously).
I created
/etc/OpenCL/vendors/amdocl64.icd
with/usr/lib64/rocm//libamdocl64.a
into it.rocminfo finds my GPU:
but
clinfo
from the ROCm package fails with:I am afraid to be in a catch22 situation:
libamdocl64.so
seems to be required in theamdocl64.icd
but I can only get alibamdocl64.a
from the build.What is the way to get out of that? I have not been able to find any hints in https://rocm.docs.amd.com/en/latest/
Thanks for your support!
The text was updated successfully, but these errors were encountered: