linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf linking error with NO_DWARF=1 and NO_LIBUNWIND=1
@ 2015-04-18  7:05 Vinson Lee
  0 siblings, 0 replies; only message in thread
From: Vinson Lee @ 2015-04-18  7:05 UTC (permalink / raw)
  To: linux-perf-users

I build perf with NO_DWARF=1 and my spec file does not require libunwind-devel.

With this combination I see perf linking errors such as the following.

  LINK     perf
libperf.a(unwind-libdw.o): In function `libdw__arch_set_initial_registers':
tools/perf/arch/x86/util/unwind-libdw.c:50: undefined reference to
`dwfl_thread_state_registers'

This linking error was introduced with commit
0a4f2b6a3ba5066947a8cbd7cfa26fb8a9280625 "perf tools: Setup default
dwarf post unwinder" in Linux 3.15-rc1.

The above error can also be reproduced with this command line.
make -C tools/perf NO_DWARF=1 NO_LIBUNWIND=1

Cheers,
Vinson

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-18  7:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-18  7:05 perf linking error with NO_DWARF=1 and NO_LIBUNWIND=1 Vinson Lee

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).