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
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to