From: Thomas Backlund <tmb@mageia.org>
To: Linux List Kernel Mailing <linux-kernel@vger.kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>, <mingo@redhat.com>,
<acme@kernel.org>
Subject: Re: perf build broken in 5.1-rc7
Date: Tue, 30 Apr 2019 10:53:14 +0300 [thread overview]
Message-ID: <fff8c124-505c-91b7-ff4b-cabca894b689@mageia.org> (raw)
In-Reply-To: <560abacf-da1d-7f55-755c-2086096bdf2c@mageia.org>
Den 30-04-2019 kl. 10:26, skrev Thomas Backlund:
>
> Building perf in 5.1-rc5/6/7 fails:
>
>
> Build start:
>
>
> make -s -C tools/perf NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1
> WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1
> NO_BIONIC=1 NO_JVMTI=1 prefix=/usr lib=lib64 all
> BUILD: Doing 'make -j32' parallel build
> HOSTCC fixdep.o
> HOSTLD fixdep-in.o
> LINK fixdep
> Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/vmx.h'
> differs from latest version at 'arch/x86/include/uapi/asm/vmx.h'
> diff -u tools/arch/x86/include/uapi/asm/vmx.h
> arch/x86/include/uapi/asm/vmx.h
>
> Auto-detecting system features:
> ... dwarf: [ on ]
> ... dwarf_getlocations: [ on ]
> ... glibc: [ on ]
> ... gtk2: [ on ]
> ... libaudit: [ on ]
> ... libbfd: [ on ]
> ... libelf: [ on ]
> ... libnuma: [ on ]
> ... numa_num_possible_cpus: [ on ]
> ... libperl: [ on ]
> ... libpython: [ on ]
> ... libslang: [ on ]
> ... libcrypto: [ on ]
> ... libunwind: [ on ]
> ... libdw-dwarf-unwind: [ on ]
> ... zlib: [ on ]
> ... lzma: [ on ]
> ... get_cpuid: [ on ]
> ... bpf: [ on ]
> ... libaio: [ on ]
> ... disassembler-four-args: [ OFF ]
>
> Makefile.config:473: No sys/sdt.h found, no SDT events are defined,
> please install systemtap-sdt-devel or systemtap-sdt-dev
> Makefile.config:853: No libbabeltrace found, disables 'perf data' CTF
> format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
>
>
> And breaks with:
>
>
> CC ui/setup.o
> util/annotate.c: In function 'symbol__disassemble_bpf':
> util/annotate.c:1767:29: error: incompatible type for argument 1 of
> 'disassembler'
> disassemble = disassembler(bfdf);
> ^~~~
> In file included from util/annotate.c:1689:
> /usr/include/dis-asm.h:325:63: note: expected 'enum bfd_architecture'
> but argument is of type 'bfd *' {aka 'struct bfd *'}
> extern disassembler_ftype disassembler (enum bfd_architecture arc,
> ~~~~~~~~~~~~~~~~~~~~~~^~~
> util/annotate.c:1767:16: error: too few arguments to function
> 'disassembler'
> disassemble = disassembler(bfdf);
> ^~~~~~~~~~~~
> In file included from util/annotate.c:1689:
> /usr/include/dis-asm.h:325:27: note: declared here
> extern disassembler_ftype disassembler (enum bfd_architecture arc,
> ^~~~~~~~~~~~
> CC arch/x86/util/header.o
> CC arch/x86/util/tsc.o
> CC arch/x86/util/pmu.o
> mv: cannot stat 'util/.annotate.o.tmp': No such file or directory
> CC bench/futex-requeue.o
> CC arch/x86/util/kvm-stat.o
> make[4]: ***
> [/work/rpmbuild/BUILD/kernel-x86_64/linux-5.0/tools/build/Makefile.build:97:
> util/annotate.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> CC util/build-id.o
>
>
>
And I forgot...
Reverting:
From 6987561c9e86eace45f2dbb0c564964a63f4150a Mon Sep 17 00:00:00 2001
From: Song Liu <songliubraving@fb.com>
Date: Mon, 11 Mar 2019 22:30:48 -0700
Subject: perf annotate: Enable annotation of BPF programs
Makes it build again.
--
Thomas
next prev parent reply other threads:[~2019-04-30 7:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-30 7:26 perf build broken in 5.1-rc7 Thomas Backlund
2019-04-30 7:53 ` Thomas Backlund [this message]
2019-04-30 13:06 ` Song Liu
2019-04-30 13:31 ` Thomas Backlund
2019-05-01 3:37 ` Song Liu
2019-05-01 6:42 ` Thomas Backlund
2019-05-01 13:07 ` Arnaldo Carvalho de Melo
2019-05-01 14:09 ` Thomas Backlund
2019-05-01 15:55 ` Thomas Backlund
2019-05-01 17:31 ` Arnaldo Carvalho de Melo
2019-05-01 20:20 ` Thomas Backlund
2019-05-01 20:26 ` Arnaldo Carvalho de Melo
2019-05-03 5:57 ` [tip:perf/urgent] tools build: Add -ldl to the disassembler-four-args feature test tip-bot for Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fff8c124-505c-91b7-ff4b-cabca894b689@mageia.org \
--to=tmb@mageia.org \
--cc=acme@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).