with current linux git master you also need this so libunwind is detected on trusty (probably due to the --as-needed linker setting):
--- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -29,7 +29,7 @@ ifeq ($(ARCH),x86) ifeq (${IS_64_BIT}, 1) CFLAGS += -DHAVE_ARCH_X86_64_SUPPORT ARCH_INCLUDE = ../../arch/x86/lib/memcpy_64.S ../../arch/x86/lib/memset_64.S - LIBUNWIND_LIBS = -lunwind -lunwind-x86_64 + LIBUNWIND_LIBS = -lunwind -lunwind-x86_64 -llzma $(call detected,CONFIG_X86_64) else LIBUNWIND_LIBS = -lunwind-x86 -llzma -lunwind
with current linux git master you also need this so libunwind is detected on trusty (probably due to the --as-needed linker setting):
--- a/tools/ perf/config/ Makefile perf/config/ Makefile ARCH_X86_ 64_SUPPORT x86/lib/ memcpy_ 64.S ../../arch/ x86/lib/ memset_ 64.S CONFIG_ X86_64)
+++ b/tools/
@@ -29,7 +29,7 @@ ifeq ($(ARCH),x86)
ifeq (${IS_64_BIT}, 1)
CFLAGS += -DHAVE_
ARCH_INCLUDE = ../../arch/
- LIBUNWIND_LIBS = -lunwind -lunwind-x86_64
+ LIBUNWIND_LIBS = -lunwind -lunwind-x86_64 -llzma
$(call detected,
else
LIBUNWIND_LIBS = -lunwind-x86 -llzma -lunwind