Replies: 1 comment
-
where is hipcc 6.3? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm following this guide to build llama.cpp for an older AMD card. I'm confused by a link time error, along with some of the other output. Here's the
Skipping a bunch of successfully compiled modules, we get to the command that fails:
I think these are mostly noise with regards to my compilation issue, but please correct me if I'm missing a signal here:
Finally, the link error:
This error puzzles me for a few reasons:
--lto-CGO#
option shipped with lld v17My best theory is that the older hipcc toolchain shipped with Debian (v5.7 vs current 6.3) is built on clang-17 and perhaps built with options that disabled this specific LTO feature. I'm not sure where this
amdgcn-link
command is coming from, so I'm guessing it is a pseudo name. There is a directory full of bitcode files/usr/lib/llvm-17/lib/clang/17/amdgcn
from therocm-device-libs-17
debian package. Perhaps hipcc 5.7 is sufficient but it requires a newerrocm-device-libs
pacakge? I'd appreciate guidance from anyone more familiar with building for older AMD hardware. Thanks!Beta Was this translation helpful? Give feedback.
All reactions