You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ld.lld: error: undefined symbol: __hip_fatbin>>> referenced by square.cpp>>> /workspace/samples/build/2_Cookbook/16_assembly_to_executable/square_host.o:(__hip_fatbin_wrapper)>>> did you mean: __hip_fatbin_>>> defined in: /workspace/samples/build/2_Cookbook/16_assembly_to_executable/square_device.oclang: error: linker command failed with exit code 1 (use -v to see invocation)
looks the default cmake can't find a link lib ? or how should I setup ?
Thanks
Operating System
Ubuntu 22.04
CPU
Ryzen
GPU
AMD Radeon RX 7900 XTX
ROCm Version
ROCm 6.1.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
A recent compiler patch introduced a change where clang is emitting the symbol __hip_fatbin_ (with an underscore) instead of __hip_fatbin (without an underscore): llvm/llvm-project#81700. The hip-tests were updated accordingly here: fba826f. I believe that you are running an older version of the compiler where __hip_fatbin is still being emitted. This mismatch is causing the reported error.
The solution is either to upgrade your ROCm version to the latest (6.2.0) or to try running the tests with the changes here reverted: fba826f. Please give that a try and let me know if you run into any further issues!
Problem Description
following: sample build
looks the default cmake can't find a link lib ? or how should I setup ?
Thanks
Operating System
Ubuntu 22.04
CPU
Ryzen
GPU
AMD Radeon RX 7900 XTX
ROCm Version
ROCm 6.1.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: