Bug ID | 50565 |
---|---|
Summary | loading LLVMPolly.so in opt ERROR: CommandLine options |
Product | Polly |
Version | unspecified |
Hardware | PC |
OS | Linux |
Status | NEW |
Severity | normal |
Priority | P |
Component | Other |
Assignee | poll...@googlegroups.com |
Reporter | joshawa...@gmail.com |
CC | llvm...@lists.llvm.org |
Created attachment 24904 [details] Stack Dump of error I am attempting to build with gpgpu support in Polly. I have build openmp and polly with the proper nvidia target as per this tutorial https://hpc-wiki.info/hpc/Building_LLVM/Clang_with_OpenMP_Offloading_to_NVIDIA_GPUs except for release v12.0.0 Please see my screenshot for a Stack Dump and let me know how I can be of assistance.
What | Removed | Added |
---|---|---|
Status | NEW | RESOLVED |
CC | ll...@meinersbur.de | |
Resolution | --- | INVALID |
Thanks for the report. The error means you have an LLVM library (in this case: LLVMPolly) linked more than once into the address space. For instance, once statically linked into opt, and once more using `-load LLVMPolly.so`. The solution is to not add `-load LLVMPolly.so` to the command line: It is already statically linked in your `opt` executable (due to using the build option `LLVM_POLLY_LINK_INTO_TOOLS=ON` when building LLVM).