public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* BUILD_BPF_SKEL error message
@ 2021-05-08 13:57 Arnaldo Carvalho de Melo
  2021-05-10  6:56 ` Song Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2021-05-08 13:57 UTC (permalink / raw)
  To: Song Liu; +Cc: Jiri Olsa, Namhyung Kim, Linux Kernel Mailing List


I switched to Fedora 34 Silverblue, and while installing the needed
packages to build perf, using BUILD_BPF_SKEL=1 I noticed this:

Makefile.config:637: *** Error: clang too old. Please install recent clang.  Stop.

The problem is not that clang is too old, its that it is not installed
:-)

Perhaps a slight improvement to state that, something like:

Makefile.config:637: *** Error: clang too old/not installed. Please install recent clang to build with BPF_SKEL.  Stop.

As for a moment I thought clang now was _required_ to build perf, which
isn't the case, it was just me using an alias to build perf:

alias m='make -k BUILD_BPF_SKEL=1 PYTHON=python3 O=/tmp/build/perf -C tools/perf install-bin && perf test python'

Regards,

- Arnaldo

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

end of thread, other threads:[~2021-05-10  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-08 13:57 BUILD_BPF_SKEL error message Arnaldo Carvalho de Melo
2021-05-10  6:56 ` Song Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox