diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2025-11-28 18:12:01 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2025-11-28 18:14:15 +0000 |
| commit | 9978553d0199e7ec0bdd1c44fc7f6c7b0c11e43b (patch) | |
| tree | e426c278e698f5bdf85eced25a08131303315818 /sys/dev/le/(developers-only) | |
| parent | b381d0980221b476cadbef862a8e5973d675fb7a (diff) | |
In 986e05bc2a18 I revamped the build for all the llvm subprojects. Among
others I added objects under contrib/llvm-project/llvm/lib/TableGen, but
I missed that upstream explicitly removes these when building the shared
llvm library:
https://github.com/llvm/llvm-project/blob/llvmorg-19.1.7/llvm/tools/llvm-shlib/CMakeLists.txt#L23
In 2e47f35be5dc I converted libllvm to a shared library. From that point
onwards, some of the global command line option objects registered in
llvm/lib/TableGen/Main.cpp conflict with similar objects in tools like
llvm-cov, llvm-as, etc.
This results in an error when running these tools: "CommandLine Error:
Option 'o' registered more than once!", followed by a fatal exit.
Fix this by removing the TableGen objects from libllvm. Note that we no
longer install any of the tblgen binaries, these are only used during
buildworld, and then in a statically linked form.
PR: 291233
MFC after: 3 days
Diffstat (limited to 'sys/dev/le/(developers-only)')
0 files changed, 0 insertions, 0 deletions
