linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Perf tool build with clang/llvm support broken
@ 2023-07-11 10:22 Thomas Richter
  2023-07-13  2:51 ` Ian Rogers
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Richter @ 2023-07-11 10:22 UTC (permalink / raw)
  To: linux-perf-use.

I would like to build the perf tool with LLVM/CLANG support and did

# make LIBCLANGLLVM=1 
  BUILD:   Doing 'make -j2' parallel build
  Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs...
  ... some more similar lines removed.

  Makefile.config:1120: No suitable libLLVM found, disabling builtin clang and LLVM support. 
  Please install llvm-dev(el) (>= 3.9.0)

However when I check llvm packages, I do have them installed on that machine:

 # rpm -qa | grep llvm
 llvm-libs-16.0.3-1.fc38.x86_64
 llvm-16.0.3-1.fc38.x86_64
 llvm-test-16.0.3-1.fc38.x86_64
 llvm-static-16.0.3-1.fc38.x86_64
 llvm-devel-16.0.3-1.fc38.x86_64

 # rpm -qa | grep clang
 clang-resource-filesystem-16.0.3-1.fc38.x86_64
 clang-libs-16.0.3-1.fc38.x86_64
 clang-tools-extra-16.0.3-1.fc38.x86_64
 clang-16.0.3-1.fc38.x86_64
 clang-devel-16.0.3-1.fc38.x86_64
 git-clang-format-16.0.3-1.fc38.x86_64
[root@f38 ~]#

This shows up on s390x and x86_64 (my virtual machine).
Any ideas have to fix this? Am I missing a package?

Thanks.
-- 
Thomas Richter, Dept 3303, IBM s390 Linux Development, Boeblingen, Germany
--
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: David Faller
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-13  2:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-11 10:22 Perf tool build with clang/llvm support broken Thomas Richter
2023-07-13  2:51 ` Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).