Closed amolkumarpatil closed 4 years ago
Your Ubuntu 18 configuration is not a default configuration. Clang 6.x doesn't work correctly with GNU C lib 7.x. For Bionic Ubuntu 18.x, please install llvm+clang of at least 8.0 version; for an appropriate llvm-toolchain-bionic please refer https://apt.llvm.org/. The list of supported and tested configurations provided here: https://github.com/ROCm-Developer-Tools/HIP/tree/master/hipify-clang#linux.
Closing, cause answered.
I am having this same problem, only I am on Ubuntu 20.04, with an upgraded kernel (5.13.0-52-generic) to support AMD's newer GPUs. What version of llvm+clang do I need?
I am using llvm+clang 6.01 on linux 18.0 LTS. I have cuda 8.0 installed as clang 6.01 support cuda 8.0. I am able to successfully build llvm +clang but when I try to build hipify clang it fails. It seems like clang is not able to find the headers.
I am attaching the log of my build:-