-
Notifications
You must be signed in to change notification settings - Fork 154
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
Clang 9.0.0 chokes on hipSYCL #104
Comments
Interesting, I was aware of clang 9 crashing (in the same file) when actually compiling SYCL applications with it as compiler for the CPU backend, but it also crashing during the hipSYCL build is new. Seems related to our use of |
I tried Clang 8 and got the following. What am I doing wrong?
|
hmm, probably a problem with how it tries to link against llvm, or that some LLVM library path is set incorrectly in cmake. Could perhaps also be some ABI incompatibility somewhere. You could try to compile with gcc (i.e. not passing I will also make a change tomorrow when I'm back at work to only optionally building the source-to-source transformation tools that are causing this error - they are not necessarily needed anymore. |
Please try PR #108 - it should fix your linking errors. |
clang 9 compilation issue should be fixed by PR #109. As it turned out, the code did not correctly distinguish between the GPU and CPU case in |
I installed LLVM 9.0.0 from the official LLVM Apt packages on Ubuntu 18.04 and it choked as follows. Have you seen this before? I can file an upstream bug report but I would like to know it's something worth addressing and not a known problem related to hipSYCL. Thanks.
The text was updated successfully, but these errors were encountered: