[Bug 50565] New: loading LLVMPolly.so in opt ERROR: CommandLine options

5 views
Skip to first unread message

bugzill...@llvm.org

unread,
Jun 2, 2021, 10:20:01 PM6/2/21
to poll...@googlegroups.com
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.


You are receiving this mail because:
  • You are the assignee for the bug.

bugzill...@llvm.org

unread,
Jun 2, 2021, 10:31:05 PM6/2/21
to poll...@googlegroups.com
Michael Kruse changed bug 50565
What Removed Added
Status NEW RESOLVED
CC   ll...@meinersbur.de
Resolution --- INVALID

Comment # 1 on bug 50565 from Michael Kruse
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).

Reply all
Reply to author
Forward
0 new messages