Without passing NO_LIBLLVM=1, llvm-perf will be enabled and thus perf and trace will be linked against e.g. /usr/lib/llvm/20/lib64/libLLVM.so.20.0git49a5ad8e from llvm-core/llvm.
Note that this is a problem for USE=-bpf as llvm-r1_pkg_setup is only called for USE=bpf.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3181eece1fe233e1d8bb86ee4fd6a92a04ad35b commit c3181eece1fe233e1d8bb86ee4fd6a92a04ad35b Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2024-12-18 10:55:33 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2024-12-18 14:33:18 +0000 dev-util/perf: fix automagic dependency on llvm-core/llvm Closes: https://bugs.gentoo.org/946589 Signed-off-by: Guilherme Amadio <amadio@gentoo.org> dev-util/perf/{perf-6.11.7.ebuild => perf-6.11.7-r1.ebuild} | 1 + dev-util/perf/{perf-6.12.ebuild => perf-6.12-r1.ebuild} | 1 + 2 files changed, 2 insertions(+)