[llvm-bugs] [Bug 50565] loading LLVMPolly.so in opt ERROR: CommandLine options
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 2 19:31:04 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50565
Michael Kruse <llvm at meinersbur.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |llvm at meinersbur.de
Resolution|--- |INVALID
--- Comment #1 from Michael Kruse <llvm at meinersbur.de> ---
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).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210603/dfafc9c1/attachment.html>
More information about the llvm-bugs
mailing list