When built with clang as compiler, =dev-util/hip-5.4.3 fails to compile. Upstream has already fixed this, but apparently it was not included in 5.4.3 release: https://github.com/ROCm-Developer-Tools/hipamd/commit/be33ec55acc104a59d01df5912261d007c7f3ee9.patch Dropping the patch in /etc/portage/patches is enough to make the package compile properly. Reproducible: Always Steps to Reproduce: 1. CC=clang CXX=clang++ emerge -1 =dev-util/hip-5.4.3 2. 3. Actual Results: Package fails to build Expected Results: Package should build successfully
Fixed in hip-5.7. Thanks!