[PATCH] D81922: [llvm] Disable linking llvm-exegesis to dylib
Aaron Puchert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 16:56:56 PDT 2020
aaronpuchert added a comment.
In D81922#2095834 <https://reviews.llvm.org/D81922#2095834>, @MaskRay wrote:
> Can you please add some messages about duplicate symbols?
When linking with `libpfm` (set `-DLLVM_ENABLE_LIBPFM=ON` when configuring), I get an error without this change:
> llvm-exegesis --help
: CommandLine Error: Option 'x86-use-base-pointer' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
When not linking with `libpfm`, I can't reliably reproduce it. The functionality of `llvm-exegesis` is reduced then, and it probably doesn't use any target internals, or at least not enough to cause a problem.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81922/new/
https://reviews.llvm.org/D81922
More information about the llvm-commits
mailing list