-
Notifications
You must be signed in to change notification settings - Fork 162
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
Building sample program fails: undefined reference to symbol '_ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3' #125
Comments
Hi! aarch64, always nice to see people trying hipSYCL on some new platform :) The downside is that I don't have any experience on that platform, but let's see if we can get it working :) clang 8 doesn't support cuda 10 as documented here. You should either upgrade to clang 9 or use CUDA 9.x. Normally, clang refuses to do anything if it has detected an incompatible CUDA version, so I'm surprised you even got to the linking stage. Perhaps on aarch64, this behavior is different. In any way, I don't think the cuda-clang version mismatch is related to your issue. It seems there is some ABI incompatibility here. I'm not sure if this is even related to hipSYCL. Could you please verify
If all this works, please describe how you have built hipSYCL and post a dump of your cmake configuration, e.g. |
Shouldn't be much of a problem.. I got hipSYCL running on a Jetson Xavier AGX, also aarch64. |
Yes, I can compile both C++ and CUDA code. I used the following commands to build hipSYCL:
And my CMake configuration is below:
|
Does anything change if you use |
Yep, that seems to resolve the issue:
|
Excellent! Issue was most likely that |
I built hipSYCL successfully, but when I try to compile a program with syclcc-clang, I get the linker error below:
The text was updated successfully, but these errors were encountered: